Hi,
1) TMS570LC4357 uses the Cortex-R5F. ARM's Cortex-R5F TRM (DDI0460D) describes in "§4.1.6 System validation" registers such as "nVAL IRQ Enable Set Register", "nVAL FIQ Enable Set Register" and "nVAL Reset Enable Set Register" which allow to trigger an IRQ, FIQ or reset to the CPU through raising the nVALIRQm, nVALFIQm and nVALRESETm signals. We plan to set the PMU's PMUSERENR.EN bit to true, thus allowing User mode to read/write to every System Validation registers and almost every PMU registers. However, we want to make know to what extend User code could impact the system by using the System Validation registers.
We've found no documentation from TI telling how the nVALIRQm, nVALFIQm and nVALRESETm signals and handled in the TMS570LC. Are they routed? What is their effect? Is it possible to disable their effects?
Initially, we thought that nVALIRQm and nVALFIQm would simply raise an interrupt at the VIM through the VIM channel 22 ("Cortex-R5F PMU Interrupt"). However, this is the channel used for PMU interrupt, so we now doubt that System Validation interrupts are also signaled through this channel.
2) We also have a second question regarding PMU interrupts raised by configuring PMINTENSET register. When the interrupt is raised by the core, nPMUIRQm signal is set. Where is this signal used in the TMS570LC? The TMS570LC Datasheet rev C shows the nPMUIRQm signal in "§6.22.3 Embedded Cross Trigger". How does the PMU interact with the CTI? Also, is nPMUIRQm also routed elsewhere than to the CTI?
Thanks.