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

nRF8001 Incomplete Setup

Hi Folks,

I'm experiencing a problem with the nRF8001 setup. After I send the last setup packet, I still receive: 0x03 (length), 0x84(CommandResponseEvent), 0x06(Setup), 0x01 (ACI_STATUS_TRANSACTION_CONTINUE) followed by junk bytes, as shown in the diagram attached.

I used nRFgo Studio to generate the minimal setup sequence (11 packets) for external 32KHz and 16MHz clocks and no security features, so I don't see why it's asking for more setup commands. Any idea why my nRF8001 doesn't reset and send DeviceStartedEvent at the end?

Cheers, Soren

nRF8001-ACI-Setup.JPG

Parents
  • Hi,

    In the attachment; if you are sending the last setup packet here, you will get a command response to this once the packet is processed. Please also make sure you set the length byte in the transmit buffer to 0 when you are done transmitting. The interface is asynchronous so the nRF8001 can buffer packets. Make sure you read out all command responses as this will be sent after a command is processed (not when it is received).

    Best regards, Runar

Reply
  • Hi,

    In the attachment; if you are sending the last setup packet here, you will get a command response to this once the packet is processed. Please also make sure you set the length byte in the transmit buffer to 0 when you are done transmitting. The interface is asynchronous so the nRF8001 can buffer packets. Make sure you read out all command responses as this will be sent after a command is processed (not when it is received).

    Best regards, Runar

Children
No Data
Related