두 프로그램 모두 예시 소스이지만, S32 Platform 3.4 예시 소스의 경우 차량에서 오류가 발생한 이유를 분석해 주시기 바랍니다.
현재 사용 중인 MCU는 FS32K144WAT0WLFT 모델입니다.
귀하의 의견을 알려주시기 바랍니다.
ARM 2.2 소스와 S32 플랫폼 3.4 소스 파일을 첨부했습니다.
Solved! Go to Solution.
Hi @mumumilmil,
This may be because of the other node in the CAN bus, as the example works normally. There is also the can_pal_s32k144 example for ARM 2.2, have you tested this example as well?
I would recommend using the working example in S32DS3.4.
The AN5413: S32K1xx Series Cookbook also includes a CAN FD example in chapter 2.10 with increased data payload and at a CAN FD data phase bit time of 2 MHz. Message size is increased to 64 bytes (similar to the flexcan_encrypted_s32k144w example)
Best regards,
Julián
Additional, in case of example source, We edited only essential setting about to GPIO, Clock frequency
Thank you for your reply.
It doesn't occured source code error in S32 (platform 3.4). When we connected our PCB to Test Car, CAN_BUS has CAN Error. etc) ADAS, Chassis domain, more than that.
I guess that platform 3.4 flexcan_example_source code has whatever error flame
If we using CANFD, Are we use Arm 2.2 code? can not use platform 3.4 example source?
And, I don't understand CSEc Key and erase_all_key. Maybe, I think that's not assoicate with our problem.
S32 ARM 2.2 : S32DS Example Projects for S32K1XX - S32K144_Project_CanFD
S32 Platform 3.4 : S32K1xx SDK RTM v4.0.2 Example Projects - demo_apps - flexcan_encrypted_s32k144w
Hi @mumumilmil,
This may be because of the other node in the CAN bus, as the example works normally. There is also the can_pal_s32k144 example for ARM 2.2, have you tested this example as well?
I would recommend using the working example in S32DS3.4.
The AN5413: S32K1xx Series Cookbook also includes a CAN FD example in chapter 2.10 with increased data payload and at a CAN FD data phase bit time of 2 MHz. Message size is increased to 64 bytes (similar to the flexcan_encrypted_s32k144w example)
Best regards,
Julián
Hi @mumumilmil,
Could you specify what kind of errors were detected? Also, please keep in mind the examples are not the same configuration.
The example Project CanFD explains the following in the description.txt:
The other example, FlexCAN Encrypted showcases the CSEc module:
Also, please share your RTM version for both projects.
Best regards,
Julián