S32 design Studio for S32 platform3.4 compared to ARM 2.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32 design Studio for S32 platform3.4 compared to ARM 2.2

ソリューションへジャンプ
707件の閲覧回数
mumumilmil
Contributor I

두 프로그램 모두 예시 소스이지만, S32 Platform 3.4 예시 소스의 경우 차량에서 오류가 발생한 이유를 분석해 주시기 바랍니다.

현재 사용 중인 MCU는 FS32K144WAT0WLFT 모델입니다.

귀하의 의견을 알려주시기 바랍니다.

ARM 2.2 소스와 S32 플랫폼 3.4 소스 파일을 첨부했습니다.

タグ(1)
0 件の賞賛
返信
1 解決策
648件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

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

 

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
658件の閲覧回数
mumumilmil
Contributor I

Additional, in case of example source, We edited only essential setting about to GPIO, Clock frequency

0 件の賞賛
返信
658件の閲覧回数
mumumilmil
Contributor I

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

0 件の賞賛
返信
649件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信
642件の閲覧回数
mumumilmil
Contributor I
Thanks, I will try it
0 件の賞賛
返信
664件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

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:

  • Transmit and receive a 64-byte CAN FD message at 500 KHz and 1 or 2 MHz:
    Initialize FlexCAN and Message Buffer 4 to receive a message. 
    Transmit one frame using Message Buffer 0 
  • Loop:
    If Message Buffer 4 received message flag is set, read message.
    If Message Buffer 0 transmit done flag is set, transmit another message.

The other example, FlexCAN Encrypted showcases the CSEc module:

  • If running the encrypted communication: The encryption uses the first non-volatile user key, which needs to be configured by running the CSEc Key Configuration in the driver examples folder.
  • Encrypted communication works only for CSEc enabled parts. SIM_SDID indicates whether CSEc is available on your device.
  • If one of the user keys was loaded using the CSEc Key Configuration, any further full erase of the Flash requires a Challenge-Authentication process. This can be done by running the CSEc Key Configuration example again and setting the ERASE_ALL_KEYS macro to 1.

Also, please share your RTM version for both projects.

Best regards,
Julián

 

0 件の賞賛
返信