New Communication Configuration Issues for S32k3xx

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

New Communication Configuration Issues for S32k3xx

802 Views
Baris
Contributor II

I'm setting up new CAN and SPI configurations on the S32K3x4EVB-Q172 test board, but these configurations probably don't work because they don't work.
The configurations I made for Can appear in the photos, what am I doing wrong?

CAN1.png

CAN2.png

CAN3.png

CAN4.png

CAN5.png

CAN6.png

CAN7.png

       

0 Kudos
Reply
2 Replies

752 Views
Baris
Contributor II

Hello @Irina_Costachescu 

But the question still remains < modelName>_example_readme.html When I opened this html file, I observed that there was a broken link that I clicked on the links.
Could you please share a file containing the steps I need to follow in order to create a new configuration for an external Can integration that I want from you.

Thanks
Barış

0 Kudos
Reply

765 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Baris ,

Some possible causes of the problem you are encountering could be related in deed to the configuration or to the application logic. Therefore, please find my input below:

- I would suggest you to try testing one of the already provided Can examples on the S32K3x4-Q172 board that you have. You could start with the s32k3xx_can_transmit_ebt and s32k3xx_can_receive_s32ct applications, and configure them for the S32K344-Q172 processor, as described in the <modelName>_example_readme.html file associated to the model. You could find these applications under the S32K3_Examples folder.

- When you configure additional instances of a component, besides the settings inside the component, you also need to make sure that the pins, clocks and interrupts are also enabled. I can see from the attached image that the pins were already routed according to your hardware, however please check also the Clocks tool (FlexCAN_4 must be enabled), and make sure that inside the Platform component, under the Interrupt Controller and Generic Interrupt Settings tabs, the FlexCAN4 interrupts that you would like to use are properly configured (enabled, a priority assigned to them, and a handler associated).

- For an example on how FlexCAN4 is configured, you can check the default configuration we provide for the S32K344-Q257 hardware part, since for that processor we enable two CAN instances.

 

Hope this helps,
Irina

0 Kudos
Reply