S32K358 CAN Example Configuration

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

S32K358 CAN Example Configuration

339 Views
prabtani
Contributor I

I am checking CAN transceiver configuration and init sequence for  "Can_Example_S32K358". But, I could not find anything related to this. Also, there is no Dio module configured in the MCAL driver. Then how does the CAN transceiver functions with this example ? I am using RTD "SW32K3_S32M27x_RTD_R21-11_6.0.0_QLP04_HF01_D2510_DesignStudio_updatesite".

prabtani_0-1761721269735.png

 

0 Kudos
Reply
1 Reply

316 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

RTD demo CAN examples shows internal loopback usage/config, so there is no need of pin init. You will need to add it by own. Also with TJA1153 initialization, if this is still in default Vanilla state.
You can refer to below examples https://community.nxp.com/t5/S32K-Knowledge-Base/RTD600-MCAL-amp-IP-S32K3X4EVB-T172-FlexCAN-Example-... It is for S32K344, but can be used as reference. 
The S32K358 FlexCAN IP example is e.g on https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K358-FlexCAN-TXRX-ISR-S32DS35-RTD400-500...

BR, Petr

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2194853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%20CAN%20Example%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20checking%20CAN%20transceiver%20configuration%20and%20init%20sequence%20for%26nbsp%3B%20%22Can_Example_S32K358%22.%20But%2C%20I%20could%20not%20find%20anything%20related%20to%20this.%20Also%2C%20there%20is%20no%20Dio%20module%20configured%20in%20the%20MCAL%20driver.%20Then%20how%20does%20the%20CAN%20transceiver%20functions%20with%20this%20example%20%3F%20I%20am%20using%20RTD%20%22SW32K3_S32M27x_RTD_R21-11_6.0.0_QLP04_HF01_D2510_DesignStudio_updatesite%22.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22prabtani_0-1761721269735.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22prabtani_0-1761721269735.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F363019i220510C81E94C17B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22prabtani_0-1761721269735.png%22%20alt%3D%22prabtani_0-1761721269735.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20CAN%20Example%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3ERTD%20demo%20CAN%20examples%20shows%20internal%20loopback%20usage%2Fconfig%2C%20so%20there%20is%20no%20need%20of%20pin%20init.%20You%20will%20need%20to%20add%20it%20by%20own.%20Also%20with%20TJA1153%20initialization%2C%20if%20this%20is%20still%20in%20default%20Vanilla%20state.%3CBR%20%2F%3EYou%20can%20refer%20to%20below%20examples%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FRTD600-MCAL-amp-IP-S32K3X4EVB-T172-FlexCAN-Example-Interrupt%2Fta-p%2F2142069%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FRTD600-MCAL-amp-IP-S32K3X4EVB-T172-FlexCAN-Example-Interrupt%2Fta-p%2F2142069%3C%2FA%3E%26nbsp%3BIt%20is%20for%20S32K344%2C%20but%20can%20be%20used%20as%20reference.%26nbsp%3B%3CBR%20%2F%3EThe%20S32K358%20FlexCAN%20IP%20example%20is%20e.g%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K358-FlexCAN-TXRX-ISR-S32DS35-RTD400-500%2Fta-p%2F1981987%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K358-FlexCAN-TXRX-ISR-S32DS35-RTD400-500%2Fta-p%2F1981987%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E