Dear forum,
I am trying to implement some examples from the nrf5340 Product Specification but the register names does not match with the ones in the include files. I am using nrf.h and <nrf5340_application.h>, <nrf5340_application_peripherals.h>
How can I determine which ones to use instead?
In this example (DPPI publish/subscribe), the PUBLISH_COMPARE0 is not available. DPPI_PUB_CHIDC_Ch0 as well.... The NRF_TIMER0 I assume should be NRF_TIMER0_S .. the list goes on....
NRF_TIMER0->PUBLISH_COMPARE0 = (DPPI_PUB_CHIDX_Ch0) | (DPPI_PUB_EN_Msk); NRF_SAADC->SUBSCRIBE_START = (DPPI_SUB_CHIDX_Ch0) | (DPPI_SUB_EN_Msk); NRF_DPPIC->CHENSET = (DPPI_CHENSET_CH0_Set << DPPI_CHENSET_CH0_Pos);
Any hints and pointers to working examples appreciated.
.. and yes, I know there are libraries like nrfx or others available but I prefer to code on bare metal in this case.