Hello,
I am writing a test to verify the forwarding of pll1 slip error, pll2 slip error and oscillator failure error to ESM module (so ESM group 1 channel 10, 42 and 11 are activated.).
I have copied function checkPLL1Slip(), checkPLL2Slip() and checkClockMonitor() from file sys_selftest.c, generated by halcogen. Everything works as expected, I can see ESM group 1 channel 10, 42 and 11 activated when the functions runs.
In my test I am also logging data through serial cable (I am using a Hercules board). Before running any of the previous mentioned functions I can see logs in serial port correctly, but after running this function all I can see is some strange symbols and after some time serial log is correct again.
I would need to know why logging in serial port does not work correct after this test and fix it.
Do I need to include any kind of waiting time after calling any of those functions to ensure that all clocks are correct?
Regards,
Francis.