Hi there,
for using the serial interface, I configured Flexcom 0 clock to 23.97 MHz, see here:

Now to initialize USART0, I think I should call
USART_Init ( USART_Type * base,
const usart_config_t * config,
uint32_t srcClock_Hz
) ;
The last parameter is "USART clock source frequency in HZ." (see docs).
I guess I should pass FXCOMCLK0 (in Hz) to correctly initialize the interface.
You don't want me to type this value in, do you? That would be 🤦
So how do I programatically retrieve this value?
I tried
CLOCK_GetFlexCommClkFreq(0);
but this resulted in 330 033 which is clearly not the value I need (what is this function returning, anyway?).
Cheers
Dan