This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5340 MCK settings

If i set register CONFIG.MCKEN to 1 so Master Clock generator is running and the output is on PSEL.MCK

and in the CONFIG.CLKCONFIG register i set the source to PCLK32M then enable the BYPASS

would i get the PCLK32M clock output directly on the PIN.PORT set in PSEL.MCK?

Parents Reply
  • Ok.  If you set the CONFIG.CLKCONFIG to BYPASS.  the MCK will be equal to the Source Input and MCKFREQ setting will have no effect.  The customer would like the BYPASS to set the PSEL.MCK to the HFCLK or ACLK source, but still use the MCK and CONFIG.MCKFREQ for internal clocking.  Please see Figure 62 of the nRF5340 PS.  I am not sure of their use case for this, but this does not appear to be feasible based on the FIGURE 62, unless the connections are not HW and only SW interconnected.

Children
No Data
Related