How to properly connect to a RN-171 Roving Network’s WiFly module

embeddedspistm32uart

I have this WiFly device and I can't seem to make it work correctly. I've connected both available interfaces (UART and SPI) to my microcontroller (STM32F107). For now, just the UART interface would make me happy.

From the three boards mounted, in only one of them the RN-171 would reply to the commands sent through the UART interface. The other two would just remain mute.

I was suspecting that maybe I was activating the SPI mode automatically, so I've putted the SPI associated pins at a state that will shut it down for this device (CS high, everything else low).

However, now even this board is not working anymore. Factory reset is not bringing it back either. I'm really confused.

Has anyone here worked with this device before? What am I missing here?

Thanks in advance.

Best Answer

I was suspecting that maybe I was activating the SPI mode automatically, so I've putted the SPI associated pins at a state that will shut it down for this device (CS high, everything else low).

The problem was, indeed, the SPI module being activated, but not by the microcontroller's doings, but by some noise that was being generated in this. Sorry about asking a question with such a dumb mistake in hands. Thanks for all the comments.

To make this question (and answer) more useful, I can answer to @mng comment: it is possible to use SPI with the RN-171 module, but there is no documentation in their site yet. If you ask their engineers, they will send you some docs for you to use it, but you are not allowed to redistribute them.