This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF8001 RDYN Held High

Hi I have built a custom NRF8001 board and I'm debugging a problem.

The main microcontroller works fine (atmega32u4) but the RDYN line never goes low to start the setup process. Does anyone know where to start debugging this? I'm pretty sure my circuit is correct, one thing I was thinking was the capacitors for the crystals might be too large. I scoped the crystals and they are not running, I assume though that the NRF8001 turns these on and off as it pleases. Is there a time that the crystals should definitely be on so that I can scope them?

Thanks for the help in advance.

Cheers,

Matthew

Parents
  • So I fixed my issue and I have a few suggestions for anyone who runs into the same problem:

    1. Delete the dummy byte (0x00) at the beginning of each ACI packet generated by nRFgo Studio. However, I still send a full packet of 6 dummy bytes at the beginning to read the initial DeviceStartedEvent. In my experience, too many dummy bytes seem to confuse nRF8001.

    2. Always start by resetting nRF8001. Pull the RESET line low. Wait at least 200ns. Pull the RESET back high. Then wait at least 62ms. Note that the 1st one is in nanoseconds and 2nd one is in milliseconds.

    3. Slow down the SPI clock. Clean up your SPI code and make sure all the timings are correct.

Reply
  • So I fixed my issue and I have a few suggestions for anyone who runs into the same problem:

    1. Delete the dummy byte (0x00) at the beginning of each ACI packet generated by nRFgo Studio. However, I still send a full packet of 6 dummy bytes at the beginning to read the initial DeviceStartedEvent. In my experience, too many dummy bytes seem to confuse nRF8001.

    2. Always start by resetting nRF8001. Pull the RESET line low. Wait at least 200ns. Pull the RESET back high. Then wait at least 62ms. Note that the 1st one is in nanoseconds and 2nd one is in milliseconds.

    3. Slow down the SPI clock. Clean up your SPI code and make sure all the timings are correct.

Children
No Data
Related