This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need advise on configuring radio access address for nRF52832

We have been successfully using the Softdevice s132 to communicate with a smartphone using BLE. However, we have run into an issue with the compliance testing in the new requirement for a Receiver Blocking Test for European approvals.

Specifically, the test house is using a Rhode & Schwartz VSG to send a test packet repeatedly to our device. The description of the waveform that the test house sent to us is "The waveform, R&S_IQ_BLE_1Mbps_1pkt_70ms_guard.ww, is a binary file containing I/Q samples that can be used through a baseband generator with ARB to create a 1 Mbps BLE modulated test data package. The waveform contains a 37 byte large 1 Mbps BLE modulated package with an access address of 0x71764129. There is a 70 ms time between each package when the waveform is looped repeatedly back to back."

I have developed some firmware based on the Nordic Radio example to receive these packets, calculate a Packet Error Rate, and report if the PER exceeds the permitted level.

I am using the transmitter code from the Radio example to test my firmware since I do not have access to an R & S VSG (the test house is also a long distance from here) which does work correctly based on my understanding of how to configure the radio address registers. However, I am not totally sure that I understand the bit order correctly. Specifically, the Nordic Radio example does some bit swapping on the prefix fields with the comment "converted to nRF24L series format". I do not understand what is going on with that.

The relevant code that I am using to set the address fields is as follows:

NRF_RADIO->PREFIX0 = 0;

NRF_RADIO->PREFIX1 = 0;

NRF_RADIO->BASE0 = 0x71764129;
NRF_RADIO->BASE1 = 0x71764129;

So my question comes down to will that register configuration work correctly with the waveform that will be sent to our unit for testing?

Related