How to control the Power (change from 8 dBm to -40dBm) we can relate and keep this delta as reference and check the rest of the current?
How to set the Standby and Sleep modes?
with regards,
Bhagyashree Badiger.
How to control the Power (change from 8 dBm to -40dBm) we can relate and keep this delta as reference and check the rest of the current?
How to set the Standby and Sleep modes?
with regards,
Bhagyashree Badiger.
Hi,
Which protocol are you evaluating BLE, Thread, or something else and which SDK are you using? The chip has 2 sleep modes, system ON and System OFF which you can read more about here: https://docs.nordicsemi.com/bundle/ps_nrf52840/page/power.html#ariaid-title10
Best regards,
Vidar
Hi Vidar,
How to read the register value and their offset value like below.
Please give the procedure.
With regards,
Bhagyashree.
Hi Bhagyashree,
It would be easier to provide a proper answer if I knew what you were working with and what you were trying to achieve. Generally it does not make sense to read peripheral task register, and the event registers are typically cleared by the driver in the interrupt handler.
Here is a snippet showing how you can write to and read from the RADIO TXPOWER register. Note that this will not work if you are using the Bluetooth stack.
/* Write to TXPOWER register in RADIO peripheral */ NRF_RADIO->TXPOWER = (RADIO_TXPOWER_TXPOWER_0dBm << RADIO_TXPOWER_TXPOWER_Pos); /* Read back register*/ uint32_t dummy = NRF_RADIO->TXPOWER;