10 years, 9 months ago.  This question has been closed. Reason: http://mcuoneclipse.com/2013/05/12/fix-for-3-3v-voltage-drop-on-frdm-kl25z-board/

Has anyone had success with KL25Z and Wifly Rn-XV?

I've been trying to get a project using the Wifly RN-XV module up and running on the FRDM KL25Z but it fails on the call to wifly.connect(). I'm just trying the hello world example. Enabling debugging in Wifly.cpp, the call is failing on sendCommand("join\r", ...). I also see that the call to sendCommand("set i d 1") failing the check (has to do with setting up dhcp). Has anyone actually gotten the RN-XV to work with the KL25Z?

2 Answers

10 years, 8 months ago.

This was the fix: http://mcuoneclipse.com/2013/05/12/fix-for-3-3v-voltage-drop-on-frdm-kl25z-board/

Accepted Answer
10 years, 8 months ago.

Hi Nick, I do not have the KL25Z, but had issues that may be similar to yours (interfaced to the LPC1768). The Wifly module I have required much longer than the timeout of 500 ms for some of the commands to complete. It didn't matter if I had firmware 4.00 or 2.38 in the wifly module. If this turns out to be the cause, note that this setting (DEFAULT_WAIT_RESP_TIMEOUT) is in wifly.h.

If you visit the mbed WiflyInterface page and then drill into the pull requests, you'll see my derivative work. I've made quite a number of changes that helped me out.

I'll caution that you may not want all the changes as I have not validated them against the samples from the mbed team.