So it took about two days to sort out a few of the necessary settings needed to consider for the
RF mod. There's still quite a bit to consider, but so far, just the basics for simple TX/RX comm
should be enough. Nothing happened when first hooked up. It was quite frustrating; I connected
Vcc, Gnd, DataIn, and DataOut as specified, but nothing happened. I soon realized that my UART2 was not
initializing. So I unplugged the GPS from UART1, and put the RF mod in its place... still no dice.
So after browsing the 9XTend product manual, I noticed I forgot one critical piece. There's a active low
Shutdown signal that must be set high to use the RF module. DuHhh!! So that did it, but I still had no
UART2. After a while I got a reply from a post to Netburner support stating that the UART2 setup
has an issue such that its internal register bits may be overwritten if another UART is setup afterwards.
This was my case. So it was a Netburner bug. The work around was a simple change of code, but now I'm
passing data out the UART2.
The radios are working partially. I can receive on my MCU-side from the Desktop terminal, but I can't
transmit in the other direction... weird? I'll have to work out a few more ideas to see what's up with this later.
|