1978398_en-US

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

1978398_en-US

1978398_en-US

S32K358 FlexCAN Message Frames in PCAN GUI

Hello @PetrS,

I am trying to transmit CAN frames from my S32K358 Board to a CAN bus connected to my Laptop. I have made use of the FlexCan_Ip_Example_S32K358 provided.

I first ran the program in Loop-back mode and found it was working as it should be. Next, i changed the mode of the CAN instance to Normal/Active mode with the idea of just transmiting Frames and seeing it the PCAN software. I have tried setting the CAN connection settings as per the configuration i have made in my S32DS project, i did not get any frames. Then i tried setting the CAN configuration in my S32DS project as per the setting suggested by the PCAN software, i was getting errors from the DS32 side.

I have attached my project, can you please help me out here. Can you please tell me how should i set the FlexCAN Bitrate properties so that i can get the CAN Tx Frames.

Re: S32K358 FlexCAN Message Frames in PCAN GUI

Hi @PetrS like you said, i am getting the The Transmitted dataframes in the PCAN GUI ! Thanks

Re: S32K358 FlexCAN Message Frames in PCAN GUI

Hi,

ok, so then call port init function, install module interrupt handler properly for not pooling calls

PetrS_0-1729596721526.png

BR, Petr

Re: S32K358 FlexCAN Message Frames in PCAN GUII have tried configuring the other available pins, i am not getting anything from them as well.Re: S32K358 FlexCAN Message Frames in PCAN GUI

I need to use these pins for my application as i will be connecting the TJA1443 transceiver to them. Can you tell me what needs to be done here.

Re: S32K358 FlexCAN Message Frames in PCAN GUI

Hi,

is there a reason why you have selected FlexCAN_2 with PTC6/PTC7 pins? Do you have external CAN transceiver connected to those pins?
PTC6/PTC7 are connected to I2C devices on S32K3X8EVB board so it will probably not working properly. If you need to use FlexCAN2 then select different pins to be connected with your external transceiver. Or use available one, TJA1153, connected to CAN0 or CAN1. But this transceiver needs initial configuration.

BR, Petr

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:57 PM
更新者: