Hello, Peter Vlna
I have an issue when initializing FCCU, NCF_S - Temp Sens 0/1 can't be cleared like other status flags. I see in reference manual that this status is set by PMC and I tried to clear it by disabling TSx_AOUT_EN and TSx_DOUT_EN clearing ESR_TD flags and then enabling TSx_AOUT_EN and TSx_DOUT_EN, and then clearing NCF_S in FCCU but this also fails. I don't know if this is an issue with PMC or real temperature issue because at same time TEMP0_0 (undertemperature) and TEMP0_1 (overtemperature) are set and this doesn't seem to be a possible condition.
Do you have any idea why this is happening and how I could fix this? One more question do ADC modules have to be initialized before clearing ESR_TD flags because TSENS uses ADCs for temperature measurement?
Best regards, Filip