IfxQspi_SpiMaster_exchange causing TRAP

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
forvia
Level 2
Level 2
First like given 10 sign-ins 5 replies posted

Hej,

i am using KIT_A2G_TC397_5V_TFT and the SPI_CPU_1_KIT_TC397_TFT  example. Everything runs fine on core0, however if i do switch to core1 and change also the isrProvider to IfxSrc_Tos_cpu1 a trap is being generated.

forvia_2-1663347328201.png

 

forvia_0-1663347220416.png

forvia_1-1663347304225.png

forvia_3-1663347372620.png

 

 

0 Likes
1 Solution

found the problem, forgot to change the "vectabNum" to cpu1 in IFX_INTERRUPT, now it works as expected.

forvia_0-1663604279716.png

 

View solution in original post

2 Replies
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

From the image where the Trap handling function is shown both the Trap Class and Tin are indicating 8. But in the TC3xx Core Architecture the maximum Trap Class possible is '7' which is NMI. Also, on the left side it is shown as Memory Management Trap.

Could you please check and let us know the right Trap Class and Tin ? Meanwhile, we'll check in our environment by changing the core and provide you the feedback.

Regards,

Prudhvi.

0 Likes

found the problem, forgot to change the "vectabNum" to cpu1 in IFX_INTERRUPT, now it works as expected.

forvia_0-1663604279716.png