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.
Hi @PetrS like you said, i am getting the The Transmitted dataframes in the PCAN GUI ! Thanks
Hi,
ok, so then call port init function, install module interrupt handler properly for not pooling calls
BR, Petr
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.
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