0
\$\begingroup\$

I am interfacing rn-171 WiFly module with PIC18F27J13 chip. I want to save both USARTs available on the PIC for other purposes.

I am wondering whether I can just connect the Roving SPI pins to the PIC uc, to bring or activate WiFly command mode by sending $$$ to WiFly over SPI without any need to connect UART pins.

If so, what could be a reasonable simple schematic for the pins connection. Thanks

\$\endgroup\$
2
  • \$\begingroup\$ You can use a SPI to UART chip: SC16IS750. In fact, sparkfun uses it for a Roving Network device as well. \$\endgroup\$ Commented Sep 10, 2013 at 15:52
  • \$\begingroup\$ It does have an SPI connection, but it looks like RN doesn't want you to use it. You'll need to contact them. \$\endgroup\$ Commented Sep 10, 2013 at 20:45

1 Answer 1

1
\$\begingroup\$

Try asking the vendor support, there is SPI firmware for RN171 module available on request.

With this firmware on the WiFly you can use SPI directly instead of UART.

The documentation for SPI (e.g. pins, configuration commands) is not avilable on the www AFAIK, so you need to contact support to get this.

\$\endgroup\$
0

Not the answer you're looking for? Browse other questions tagged or ask your own question.