Hi All. I first tried HamShield on a Mega2560 board. Many of the sample sketches seemed to work properly. So, then I decided to try on a UnoR3 board I have. First thing I noticed was that the radio.connection() function returned a result of zero. And none of the sketches could I get to work. Couldn't seem to put anything into any of the registers or read any meaningful results. For example radio.RSSI() would return a value of 118 !!
I figured there must be something wrong with this Uno board, so I tried two others I have of different brand. They've always worked in any project I tried them, so I was baffled when both did the same thing as the first one! Same errant results, identically!
So, I wrote a simple test sketch to pulse each pin used by HamShield and 'scoped them. All looked perfect, no locked up bits, shorts, etc. And, of course, these boards work with other shields just fine.
If anything, I would have expected problems to show up when using the Mega2560 board and not the simple, plain, proven Uno boards! So, I wrote a simple sketch to read the value of AU1846 register 0x00 (basically doing the same thing that connection() does using HSreadWord() function, but to return to me the value read. I also made an inline routine to do the same low-level work w/o the call. Results? I was able to obtain the 0x1846 expected value from this register when using the Mega2560 board, but got a 0xFFFF when using all UNO boards!
At this point I simply can't think of anything else to try or any idea why this is not working. Can anyone offer any suggestions or tests I can perform or insight from their use of HamShield?
Thanks in advance!!