if even 32kHz is not running then maybe
poke32(0x40000000+0x518,1) // LFCLKSRC = XTAL poke32(0x40000000+0x008,1) // TASKS_LFCLKSTART
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/clock.html?cp=5_2_0_18_2#topic
or maybe try peek32(0x40000000+0x418) first to see LFCLKSTAT to test if it is already running
peek32(0x40000000+0x418)
@fanoush started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
if even 32kHz is not running then maybe
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/clock.html?cp=5_2_0_18_2#topic
or maybe try
peek32(0x40000000+0x418)
first to see LFCLKSTAT to test if it is already running