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
  • I am using PIC controller as application controller, am packing the ACI packets and sending over SPI and receving the responses also correctly.

    On power up am receiving device started event, in which the operating mode is "2" which means setup mode. So i took the data generated by gostudio and am trying to send the below packets oen by one continuously without waiting for response, and am expecting success response at the end of last packet, but i received 0x83 response. Why is that am not able to setup nRF8001?

    the packets am sending are

    unsigned char setup1[8] = {0x07,0x06,0x00,0x00,0x03,0x02,0x42,0x07};

    unsigned char setup2[32] = {0x1F,0x06,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00, 0x06,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

    unsigned char setup3[32] = {0x1F,0x06,0x10,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x03,0x90,0x00,0xFF};

    unsigned char setup4[32] = {0x1F,0x06,0x10,0x38,0xFF,0xFF,0x02,0x58,0x0A,0x05,0x00,0x00,0x00,0x10,0x00,0x00,0x00, 0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00};

    unsigned char setup5[6] = {0x05,0x06,0x10,0x54,0x00,0x00};

    unsigned char setup6[32] = {0x1F,0x06,0x20,0x00,0x04,0x04,0x02,0x02,0x00,0x01,0x28,0x00,0x01,0x00,0x18,0x04,0x04, 0x05,0x05,0x00,0x02,0x28,0x03,0x01,0x02,0x03,0x00,0x00,0x2A,0x04,0x04,0x14};

    unsigned char setup7[32] = {0x1F,0x06,0x20,0x1C,0x05,0x00,0x03,0x2A,0x00,0x01,0x52,0x61,0x67,0x68,0x75,0x63,0x73, 0x65,0x6D,0x69,0x2E,0x63,0x6F,0x6D,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04};

    unsigned char setup8[32] = {0x1F,0x06,0x20,0x38,0x05,0x05,0x00,0x04,0x28,0x03,0x01,0x02,0x05,0x00,0x01,0x2A,0x06, 0x04,0x03,0x02,0x00,0x05,0x2A,0x01,0x01,0x00,0x00,0x04,0x04,0x05,0x05,0x00};

    unsigned char setup9[32] = {0x1F,0x06,0x20,0x54,0x06,0x28,0x03,0x01,0x02,0x07,0x00,0x04,0x2A,0x06,0x04,0x09,0x08, 0x00,0x07,0x2A,0x04,0x01,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x04,0x04};

    unsigned char setup10[14] = {0x0D,0x06,0x20,0x70,0x02,0x02,0x00,0x08,0x28,0x00,0x01,0x01, 0x18,0x00};

    unsigned char setup11[7] = {0x06,0x06,0xF0,0x00,0x83,0xE2,0x04};

Reply
  • I am using PIC controller as application controller, am packing the ACI packets and sending over SPI and receving the responses also correctly.

    On power up am receiving device started event, in which the operating mode is "2" which means setup mode. So i took the data generated by gostudio and am trying to send the below packets oen by one continuously without waiting for response, and am expecting success response at the end of last packet, but i received 0x83 response. Why is that am not able to setup nRF8001?

    the packets am sending are

    unsigned char setup1[8] = {0x07,0x06,0x00,0x00,0x03,0x02,0x42,0x07};

    unsigned char setup2[32] = {0x1F,0x06,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00, 0x06,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

    unsigned char setup3[32] = {0x1F,0x06,0x10,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x03,0x90,0x00,0xFF};

    unsigned char setup4[32] = {0x1F,0x06,0x10,0x38,0xFF,0xFF,0x02,0x58,0x0A,0x05,0x00,0x00,0x00,0x10,0x00,0x00,0x00, 0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00};

    unsigned char setup5[6] = {0x05,0x06,0x10,0x54,0x00,0x00};

    unsigned char setup6[32] = {0x1F,0x06,0x20,0x00,0x04,0x04,0x02,0x02,0x00,0x01,0x28,0x00,0x01,0x00,0x18,0x04,0x04, 0x05,0x05,0x00,0x02,0x28,0x03,0x01,0x02,0x03,0x00,0x00,0x2A,0x04,0x04,0x14};

    unsigned char setup7[32] = {0x1F,0x06,0x20,0x1C,0x05,0x00,0x03,0x2A,0x00,0x01,0x52,0x61,0x67,0x68,0x75,0x63,0x73, 0x65,0x6D,0x69,0x2E,0x63,0x6F,0x6D,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04};

    unsigned char setup8[32] = {0x1F,0x06,0x20,0x38,0x05,0x05,0x00,0x04,0x28,0x03,0x01,0x02,0x05,0x00,0x01,0x2A,0x06, 0x04,0x03,0x02,0x00,0x05,0x2A,0x01,0x01,0x00,0x00,0x04,0x04,0x05,0x05,0x00};

    unsigned char setup9[32] = {0x1F,0x06,0x20,0x54,0x06,0x28,0x03,0x01,0x02,0x07,0x00,0x04,0x2A,0x06,0x04,0x09,0x08, 0x00,0x07,0x2A,0x04,0x01,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x04,0x04};

    unsigned char setup10[14] = {0x0D,0x06,0x20,0x70,0x02,0x02,0x00,0x08,0x28,0x00,0x01,0x01, 0x18,0x00};

    unsigned char setup11[7] = {0x06,0x06,0xF0,0x00,0x83,0xE2,0x04};

Children
No Data
Related