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

nRF8001 setup issues

Hello,

I am sending below setup packet to nRF8001, and i don't get any response form nRF8001. ACI as such works fine, i tried sending diff commands and able to receive response, but when i send below packet which i copied from ublue_setup.gen.out.txt, no response. Please help...

0x07,0x06,0x00,0x00,0x03,0x02,0x42,0x07.

Parents
  • Each setup message will generate a command response event which needs to be processed, which appears to be your mis-understanding. See section 24 of the nRF8001 data sheet for the setup command.

    All command responses for the setup will carry the Transaction_continue except the last command response which will have Transaction_complete as the status code. The status codes are listed in the appendix of the nRF8001 datasheet.

    A status of 0x83 means device state is invalid.

    Action: Send a trace of the aci commands and events from chip reset time If that is not possible can you get an SPI capture with an logic analyzer ?

    For placing the Setup in NVM look at these posts

    devzone.nordicsemi.com/.../

    devzone.nordicsemi.com/.../

    [Edited] I notice that you are using the setup format for a C version IC on a D version IC. This will work, but you will lose some features. I suggest that you select the D version in the pulldown in nRFgo studio. nRFgo Studio -> nRF8001 configuration -> Device pulldown

    I suggest that you still take a look at the porting guide for the nRF8001 so you do not miss any of the steps.

    Since you have received the ACI Device Started Event, it looks like the MISO path is ok, but you need to verify the MOSI path. I would suggest that you verify the ACI as suggested in the porting guide and then do the Setup.

  • Can you attach the services.h file that you are using ?

Reply Children
No Data
Related