We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi i have changed some working example code for the nrf24e1 to now send 144 bits:
This is the new configuration:
const RFConfig txconf = { 15, 0x00, // Payload size receiver Rx #2 (not used in this example) 0x90, // Payload size receiver Rx #1 0x00, 0x00, 0x00, 0x00, 0x00, // Address receiver Rx #2 (not used in this example) 0x00, 0x87, 0x65, 0x43, 0x78, // Address receiver Rx #1 (four lower bytes used here) 0x21, 0x6f, 0x04 }; const RFConfig rxconf = { 15, 0x00, // Payload size receiver Rx #2 (not used in this example) 0x90, // Payload size receiver Rx #1 0x00, 0x00, 0x00, 0x00, 0x00, // Address receiver Rx #2 (not used in this example) 0x00, 0x87, 0x65, 0x43, 0x78, // Address receiver Rx #1 (four lower bytes used here) 0x21, 0x6f, 0x05 };
as can be seen the 0x90 is the 144 bits of payload. There are 4 bytes = 32 bits (0x87, 0x65, 0x43, 0x78) address. CRC is now enabled at 8-bit and address width is set to 32-bit (0x21). The original configuration worked fine for sending 1 byte and flashing an LED perfectly, now the problem is that the LED flashes continuously even when the transitter is off and reset. I cant see any problems why this shouldnt perform the same function as the basic example.
any ideas? and yes i have looked at the data sheet.