Here i attached the code file of MCXC243(48 pin) microcontroller where i m not able to genrate the clock plz anyone give me soution and correct the code
in the given code , code is break in below given function
static inline void CLOCK_SetEr32kClock(uint32_t src)
{
SIM->SOPT1 = ((SIM->SOPT1 & ~SIM_SOPT1_OSC32KSEL_MASK) | SIM_SOPT1_OSC32KSEL(src));
}
Hello @ravicha
Configuration as below:
Hello @ravicha
I recommend that you use the Clock Config Tools inside MCUXpresso IDE for configuration. After finish configuring. It can automatically generate code. It has a user - friendly interface.
BR
Alice