Hi all:
In the S32R294 RSDK demo, when we write the CTE register ,there must be a fault.
Fitst we config the CTE0_CLK to 80MHz.
{.clockName = CTE0_CLK,
.mc_me_RunPeriphConfig = MC_ME_PERIPH_CONFIG_1,
.mc_me_LowPowerPeriphConfig = MC_ME_PERIPH_CONFIG_0}
after that , we config the CTE register such as "CTE.CNTRL.B.MA_SL_ST..=.1;"
there will be a fault
"No source available for “0x0”",
So how can we config the CTE register?
Hi,
please give me more information about the software version you use, it seems there is a mismatch somewhere.
Hi,
it seems the CTE clock is not really on.
Please check the entire setup to see if the clock is correctly activated. It is possible to check the clock frequency using CMU_FC_2.
We check the CTE clock frequency ,the frequency is "0"
We do not know what is wrong with the CTE clock configration.
{.clockName = CTE0_CLK,
.mc_me_RunPeriphConfig = MC_ME_PERIPH_CONFIG_1,
.mc_me_LowPowerPeriphConfig = MC_ME_PERIPH_CONFIG_0}
other register can be read and write ,such as SIUL2 register:"SIUL2.MSCR[43].B.src=3"