I have tried a lot of different settings but the NRF52810 still does not output carrier..
How do I configure the radio to only send carrier for NRF52810?
I have tried a lot of different settings but the NRF52810 still does not output carrier..
How do I configure the radio to only send carrier for NRF52810?
Hi,
NRF_CLOCK->TASKS_HFCLKSTART = 1;
// Wait for the external oscillator to start up. while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0) { // Do nothing. }
NRF_RADIO->FREQUENCY = x;
NRF_RADIO->TXPOWER = y;
NRF_RADIO->TASKS_TXEN = 1;
You can also use the radio test example in our nRF5 SDK.
Best regards,
Andreas
thanks a lot.
I use the same code to try.
but the device still do not send the carrier.
is the 52810 different from others config?
Hi,
Try this hex: unmod_2402.hex
It runs
int main(void) { NRF_CLOCK->TASKS_HFCLKSTART=1; while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0) { // Do nothing. } NRF_RADIO->TASKS_TXEN=1; while (true) { __WFE(); } }
I just verified it on a nRF52810 on my side, check 2402 MHz.
There is not any differences in configuration between nRF52810 compared to other nRF52 devices, but you need to build a compatible project (e.g. PCA10040e projects in nRF5 SDK).
Best regards,
Andreas
thank you very much!
now it works well.