Autosar Os Example

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

Autosar Os Example

944 Views
813270556
Contributor I

Hello:

I'm developing an ECU project using the S32K146 chip with the Autosar architecture. I haven't been exposed to the usage of the Os module before and would appreciate it if you could provide me with some example routines related to the Os module.

Thank you!

0 Kudos
Reply
3 Replies

931 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

There is one example in AUTOSAR OS package:

 

Untitled.png

You will find it in your NXP SW account:

 

Untitled.png

S32K_AUTOSAR_OS_4_0_98_RTM_1_0_0.exe_

It is pretty intuitive, you can configure it just from User manual AUTOSAR_OSS32K_UM.pdf which is part of the package.

Best regards,

Peter

 

 

 

0 Kudos
Reply

126 Views
813270556
Contributor I
I am developing an Autosar project using the S32K146 chip, with EB Tresos as the configuration tool. I configured the CAN Stack and tested the upper-layer transmission and reception processes (from the Com layer to MCAL) in Loop Back Mode, and everything works fine.

When I configured the CAN controller to Normal Mode, the CAN data was written to the register (RAMn) but the hardware did not initiate transmission. There was no data on the Tx pin, and consequently, no transmission interrupt was triggered to clear the TX Buff flag. This also resulted in the first four frames of data being successfully written to the Buff, but from the fifth frame onward, data could not be written, and the CAN BUSY status was returned.

Due to this issue, I am unsure how to resolve it. Therefore, I used the Autosar CAN example for the S32K146 provided in S32DS, made some modifications, and ran it on the same hardware. However, the data was still not transmitted, and the same issue recurred.

Could you help me analyze why CAN transmission is failing in my project? Thank you.
0 Kudos
Reply

211 Views
ndlq
Contributor I
can u give me a link
0 Kudos
Reply