Hi. I'm using nRF51822AC, S130. I made source code for RF test as below.
NRF_RADIO->SHORTS = 0;
NRF_RADIO->EVENTS_DISABLED = 0;
NRF_RADIO->TEST = 0;
NRF_RADIO->TASKS_DISABLE = 1;
while (NRF_RADIO->EVENTS_DISABLED == 0)
{
// Do nothing.
}
NRF_RADIO->EVENTS_DISABLED = 0;
NRF_RADIO->SHORTS = RADIO_SHORTS_READY_START_Msk;
NRF_RADIO->TXPOWER = (4 << RADIO_TXPOWER_TXPOWER_Pos);
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
NRF_RADIO->FREQUENCY = 2;
NRF_RADIO->TEST = (RADIO_TEST_CONSTCARRIER_Enabled << RADIO_TEST_CONSTCARRIER_Pos) \
| (RADIO_TEST_PLLLOCK_Enabled << RADIO_TEST_PLLLOCK_Pos);
NRF_RADIO->TASKS_TXEN = 1;
NRF_POWER->DCDCEN = 1;
while(1)
{
__WFI();
;
}
How can i change Modulation type(Modulation as GFSK or not)?
I need your help.