S32K312 BusFault using AUTOSAR RTOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K312 BusFault using AUTOSAR RTOS

Jump to solution
255 Views
eusebiudapatech
Contributor II

Hello,

I am getting a BusFault at the following generated line:

eusebiudapatech_0-1744479144916.png

eusebiudapatech_2-1744480142903.png

The function is called in StartOs() function and it write the STM0 control register.

The code is generated from Tresos using the RTOS and RTD plugins.

I have checked the address and it's the correct STM0 control register address.

eusebiudapatech_1-1744480116734.png

 

 

0 Kudos
Reply
1 Solution
213 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @eusebiudapatech,

Is the STM0 clock enabled?

MC_ME PRTN1_COFB0_STAT[29]

danielmartynek_0-1744621231780.png

 

Thanks

 

View solution in original post

0 Kudos
Reply
2 Replies
214 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @eusebiudapatech,

Is the STM0 clock enabled?

MC_ME PRTN1_COFB0_STAT[29]

danielmartynek_0-1744621231780.png

 

Thanks

 

0 Kudos
Reply
206 Views
eusebiudapatech
Contributor II
Thank you for the hint. I didn't call the Mcu_SetMode API to switch to RUN mode where STM0 is enabled. That solved the problem.
0 Kudos
Reply