S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors

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

S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors

127 Views
Veereshh
Contributor I

Hello Community,

I am currently working with the S32K344MINI-EVB (FRDM Automotive Evaluation Board) and would like to gain hands-on experience with basic peripheral drivers before starting development on a custom project based on the NXP S32K3 family.

Development Environment

  • S32 Design Studio (S32DS) 3.5.8
  • SW32K3_S32M27x_RTD_R21-11_4.0.0_P19_D2403
  • EB tresos 29

Current Status

I successfully imported and ran the following example projects:

  • SIUL2_DIO_IP_Example_S32K344
  • Dio_Example_S32K344

For both AUTOSAR and Non-AUTOSAR configurations, the projects built successfully and produced the expected output on the S32K344MINI-EVB.

Issue

I then imported the following CAN example projects:

  • FlexCAN_IP_Example_S32K344
  • Can_Example_S32K344

While configuring and building these projects, I encountered the errors shown in the attached screenshot.

Request

Could anyone please advise:

  1. Are any board-specific modifications required for the S32K344MINI-EVB?
  2. Are there additional FlexCAN, clock, pin, or EB tresos configurations needed?
  3. Is there a guide for running these CAN examples on the MINI-EVB?

The attached screenshot shows the errors encountered during configuration/build.

Thank you for your support.

Regards,
Veer

0 Kudos
Reply
3 Replies

49 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello @Veereshh,

Pinout is fairly similar between S32K344 EVB and FRDM-A-S32K344 (formerly S32K344MINI). 

1. No

2. Yes. Both FlexCAN_IP_Example_S32K344 & Can_Example_S32K344 projects only configure FlexCAN in "loopback" mode, meaning there are no pins configured, and FlexCAN_0 is listening to its own messages. 

Inside the project's MEX, you must:

  • Change FlexCAN 'Loopback' to 'Normal/User mode'
  • Add Siul2_Port (or Port in MCAL), and configure both PTA6 & PTA7 (CAN_H CAN_L in FRDM-A-S32K344).
  • Add port initialization in your project.

FRDM-A-S32K344 also uses TJA1043 CAN transceiver, which must set CAN_EN & CAN_STB to HIGH in order to set the transceiver in normal operation. These are routed to PTC21 & PTC20, as stated in the FRDM's user manual:

Julin_AragnM_0-1790804627123.png

These must be set to HIGH inside your project as well. You can use the following examples as reference: [RTD600 MCAL & IP] S32K3X4EVB-T172 FlexCAN Example Interrupt/Polling.

Keep in mind they are based on RTD 6.0.0, not RTD 4.0.0.

After setting this, you can use J15.1 CANH and J15.2 CANL connected to another CAN node (PCAN USB analyzer, another MCU, etc.) to test CAN communication. In the examples I've shared, PCAN-USB analyzer was used.

Best regards,
Julián

0 Kudos
Reply

27 Views
Veereshh
Contributor I

Hi Julian,

 

Thank you for your support. Your guidance helped me successfully resolve the original configuration issues and build the CAN example. I have shared the build steps and screenshots below for the benefit of other users facing the same issue.

 

I have one additional question. After successfully running the Loopback example, I configured CAN_EN (PTC21) and CAN_STB (PTC20) and then modified the CAN configuration as follows:

  • Disabled Can Loop Back Mode
  • Changed Can Rx Processing Type from Polling to Interrupt

After these changes, validation/build errors are generated.

Veereshh_11-1790862778793.png

 

Veereshh_0-1790862453855.png

 

 

Could you please advise if any additional FlexCAN, IntCtrl_Ip, NVIC, or RTD-specific settings are required when switching from Polling to Interrupt mode?

Thank you again for your continued support.

 

 

Steps to Build CAN Example Successfully

  1. Import Can_Example_S32K344 project.
  2. Open the .mex file.
  3. Enable Pins Tool if not already available.
    Veereshh_2-1790863062579.png

     



  4. Rename Functional Group to PortContainer_0_VS_0.

     

    Veereshh_1-1790863039288.png

     

    Veereshh_3-1790862581274.png

     

  5. Configure:
    • CAN0_RX → PTA6
    • CAN0_TX → PTA7
      Veereshh_5-1790862609099.png

       

  6. Add PORT module under MCAL.
     

     

    Veereshh_8-1790862684481.png

     

  7. Configure PortPin settings and assign the required MSCR values. 
    Veereshh_9-1790862726874.png

     

  8. Update code and resolve validation errors.
    Veereshh_10-1790862736318.png

     

  9. Generate code and build the project.
  10. Program the board and verify CAN Loopback communication.

 

Best regards,
Veer

 

0 Kudos
Reply

16 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello 

I'm glad the information has been helpful.

In order to operate FlexCAN through interrupts, you must install the interrupt handler:

Julin_AragnM_2-1790873249024.png

Also, the error you are seeing is because when FlexCAN driver uses Polling mode, you must specify the CanMainFunctionRWPeriods for both read and write calls. If Interrupt mode is used, this container must be removed from "CanHardwareObjetc > Can MainFunction RW Period Reference"

Julin_AragnM_3-1790873263975.png

Best regards,
Julián

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2417505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344MINI-EVB%3A%20FlexCAN_IP_Example_S32K344%20and%20Can_Example_S32K344%20Configuration%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2417505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Community%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20with%20the%20%3CSTRONG%3ES32K344MINI-EVB%3C%2FSTRONG%3E%26nbsp%3B(FRDM%20Automotive%20Evaluation%20Board)%20and%20would%20like%20to%20gain%20hands-on%20experience%20with%20basic%20peripheral%20drivers%20before%20starting%20development%20on%20a%20custom%20project%20based%20on%20the%20%3CSTRONG%3ENXP%20S32K3%20family%3C%2FSTRONG%3E.%3C%2FP%3E%3CH3%20id%3D%22toc-hId-2056077555%22%20id%3D%22toc-hId-2056079635%22%20id%3D%22toc-hId-2056079635%22%20id%3D%22toc-hId-2056079635%22%3EDevelopment%20Environment%3C%2FH3%3E%3CUL%3E%3CLI%3ES32%20Design%20Studio%20(S32DS)%203.5.8%3C%2FLI%3E%3CLI%3ESW32K3_S32M27x_RTD_R21-11_4.0.0_P19_D2403%3C%2FLI%3E%3CLI%3EEB%20tresos%2029%3C%2FLI%3E%3C%2FUL%3E%3CH3%20id%3D%22toc-hId-248623092%22%20id%3D%22toc-hId-248625172%22%20id%3D%22toc-hId-248625172%22%20id%3D%22toc-hId-248625172%22%3ECurrent%20Status%3C%2FH3%3E%3CP%3EI%20successfully%20imported%20and%20ran%20the%20following%20example%20projects%3A%3C%2FP%3E%3CUL%3E%3CLI%3ESIUL2_DIO_IP_Example_S32K344%3C%2FLI%3E%3CLI%3EDio_Example_S32K344%3C%2FLI%3E%3C%2FUL%3E%3CP%3EFor%20both%20AUTOSAR%20and%20Non-AUTOSAR%20configurations%2C%20the%20projects%20built%20successfully%20and%20produced%20the%20expected%20output%20on%20the%20S32K344MINI-EVB.%3C%2FP%3E%3CH3%20id%3D%22toc-hId--1558831371%22%20id%3D%22toc-hId--1558829291%22%20id%3D%22toc-hId--1558829291%22%20id%3D%22toc-hId--1558829291%22%3EIssue%3C%2FH3%3E%3CP%3EI%20then%20imported%20the%20following%20CAN%20example%20projects%3A%3C%2FP%3E%3CUL%3E%3CLI%3EFlexCAN_IP_Example_S32K344%3C%2FLI%3E%3CLI%3ECan_Example_S32K344%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWhile%20configuring%20and%20building%20these%20projects%2C%20I%20encountered%20the%20errors%20shown%20in%20the%20attached%20screenshot.%3C%2FP%3E%3CH3%20id%3D%22toc-hId-928681462%22%20id%3D%22toc-hId-928683542%22%20id%3D%22toc-hId-928683542%22%20id%3D%22toc-hId-928683542%22%3ERequest%3C%2FH3%3E%3CP%3ECould%20anyone%20please%20advise%3A%3C%2FP%3E%3CDIV%3E%3COL%3E%3CLI%3EAre%20any%20board-specific%20modifications%20required%20for%20the%20S32K344MINI-EVB%3F%3C%2FLI%3E%3CLI%3EAre%20there%20additional%20FlexCAN%2C%20clock%2C%20pin%2C%20or%20EB%20tresos%20configurations%20needed%3F%3C%2FLI%3E%3CLI%3EIs%20there%20a%20guide%20for%20running%20these%20CAN%20examples%20on%20the%20MINI-EVB%3F%3C%2FLI%3E%3C%2FOL%3E%3C%2FDIV%3E%3CP%3EThe%20attached%20screenshot%20shows%20the%20errors%20encountered%20during%20configuration%2Fbuild.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3E%3CSTRONG%3EVeer%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2417608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344MINI-EVB%3A%20FlexCAN_IP_Example_S32K344%20and%20Can_Example_S32K344%20Configuration%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2417608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258635%22%20target%3D%22_blank%22%3E%40Veereshh%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EPinout%20is%20fairly%20similar%20between%20S32K344%20EVB%20and%20FRDM-A-S32K344%20(formerly%20S32K344MINI).%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20No%3C%2FP%3E%0A%3CP%3E2.%20Yes.%20Both%20FlexCAN_IP_Example_S32K344%20%26amp%3B%20Can_Example_S32K344%20projects%20only%20configure%20FlexCAN%20in%20%22loopback%22%20mode%2C%20meaning%20there%20are%20no%20pins%20configured%2C%20and%20FlexCAN_0%20is%20listening%20to%20its%20own%20messages.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInside%20the%20project's%20MEX%2C%20you%20must%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EChange%20FlexCAN%20'Loopback'%20to%20'Normal%2FUser%20mode'%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAdd%20Siul2_Port%20(or%20Port%20in%20MCAL)%2C%20and%20configure%20both%20PTA6%20%26amp%3B%20PTA7%20(CAN_H%20CAN_L%20in%20FRDM-A-S32K344).%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAdd%20port%20initialization%20in%20your%20project.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3EFRDM-A-S32K344%20also%20uses%20TJA1043%20CAN%20transceiver%2C%20which%20must%20set%20CAN_EN%20%26amp%3B%20CAN_STB%20to%20HIGH%20in%20order%20to%20set%20the%20transceiver%20in%20normal%20operation.%20These%20are%20routed%20to%20PTC21%20%26amp%3B%20PTC20%2C%20as%20stated%20in%20the%20FRDM's%20user%20manual%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_0-1790804627123.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1790804627123.png%22%20style%3D%22width%3A%20772px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1790804627123.png%22%20style%3D%22width%3A%20772px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1790804627123.png%22%20style%3D%22width%3A%20772px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397110iFAAAF94926CE7E3A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_0-1790804627123.png%22%20alt%3D%22Julin_AragnM_0-1790804627123.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThese%20must%20be%20set%20to%20HIGH%20inside%20your%20project%20as%20well.%20You%20can%20use%20the%20following%20examples%20as%20reference%3A%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%3E%5BRTD600%20MCAL%20%26amp%3B%20IP%5D%20S32K3X4EVB-T172%20FlexCAN%20Example%20Interrupt%2FPolling%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EKeep%20in%20mind%20they%20are%20based%20on%20RTD%206.0.0%2C%20not%20RTD%204.0.0.%3C%2FP%3E%0A%3CP%3EAfter%20setting%20this%2C%20you%20can%20use%26nbsp%3BJ15.1%20CANH%20and%20J15.2%20CANL%20connected%20to%20another%20CAN%20node%20(PCAN%20USB%20analyzer%2C%20another%20MCU%2C%20etc.)%20to%20test%20CAN%20communication.%20In%20the%20examples%20I've%20shared%2C%20PCAN-USB%20analyzer%20was%20used.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2417877%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344MINI-EVB%3A%20FlexCAN_IP_Example_S32K344%20and%20Can_Example_S32K344%20Configuration%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2417877%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20glad%20the%20information%20has%20been%20helpful.%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20operate%20FlexCAN%20through%20interrupts%2C%20you%20must%20install%20the%20interrupt%20handler%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_2-1790873249024.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_2-1790873249024.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_2-1790873249024.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397170i1B4281A441128D24%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_2-1790873249024.png%22%20alt%3D%22Julin_AragnM_2-1790873249024.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAlso%2C%20the%20error%20you%20are%20seeing%20is%20because%20when%20FlexCAN%20driver%20uses%20Polling%20mode%2C%20you%20must%20specify%20the%20CanMainFunctionRWPeriods%20for%20both%20read%20and%20write%20calls.%20If%20Interrupt%20mode%20is%20used%2C%20this%20container%20must%20be%20removed%20from%20%22CanHardwareObjetc%20%26gt%3B%20Can%20MainFunction%20RW%20Period%20Reference%22%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_3-1790873263975.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_3-1790873263975.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_3-1790873263975.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397171i5F2F71562E5FC175%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_3-1790873263975.png%22%20alt%3D%22Julin_AragnM_3-1790873263975.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2417853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344MINI-EVB%3A%20FlexCAN_IP_Example_S32K344%20and%20Can_Example_S32K344%20Configuration%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2417853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Julian%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThank%20you%20for%20your%20support.%20Your%20guidance%20helped%20me%20successfully%20resolve%20the%20original%20configuration%20issues%20and%20build%20the%20CAN%20example.%20I%20have%20shared%20the%20build%20steps%20and%20screenshots%20below%20for%20the%20benefit%20of%20other%20users%20facing%20the%20same%20issue.%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3EI%20have%20one%20additional%20question.%20After%20successfully%20running%20the%20Loopback%20example%2C%20I%20configured%20%3CSTRONG%3ECAN_EN%20(PTC21)%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ECAN_STB%20(PTC20)%3C%2FSTRONG%3E%20and%20then%20modified%20the%20CAN%20configuration%20as%20follows%3A%3C%2FP%3E%3CUL%3E%3CLI%3EDisabled%20%3CSTRONG%3ECan%20Loop%20Back%20Mode%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3EChanged%20%3CSTRONG%3ECan%20Rx%20Processing%20Type%3C%2FSTRONG%3E%20from%20%3CSTRONG%3EPolling%3C%2FSTRONG%3E%20to%20%3CSTRONG%3EInterrupt%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAfter%20these%20changes%2C%20validation%2Fbuild%20errors%20are%20generated.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_11-1790862778793.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_11-1790862778793.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397164i3516B52B8DE5D475%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_11-1790862778793.png%22%20alt%3D%22Veereshh_11-1790862778793.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_0-1790862453855.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_0-1790862453855.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397153iC073069D664C970F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_0-1790862453855.png%22%20alt%3D%22Veereshh_0-1790862453855.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3ECould%20you%20please%20advise%20if%20any%20additional%20FlexCAN%2C%20IntCtrl_Ip%2C%20NVIC%2C%20or%20RTD-specific%20settings%20are%20required%20when%20switching%20from%20Polling%20to%20Interrupt%20mode%3F%3C%2FP%3E%3CP%3EThank%20you%20again%20for%20your%20continued%20support.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CDIV%3E%3CH3%20id%3D%22toc-hId-2056080591%22%20id%3D%22toc-hId--878770921%22%3ESteps%20to%20Build%20CAN%20Example%20Successfully%3C%2FH3%3E%3COL%3E%3CLI%3EImport%20%3CSTRONG%3ECan_Example_S32K344%3C%2FSTRONG%3E%20project.%3C%2FLI%3E%3CLI%3EOpen%20the%20.mex%20file.%3C%2FLI%3E%3CLI%3EEnable%20%3CSTRONG%3EPins%20Tool%3C%2FSTRONG%3E%20if%20not%20already%20available.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_2-1790863062579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_2-1790863062579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397167iB32D66BF44D23384%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_2-1790863062579.png%22%20alt%3D%22Veereshh_2-1790863062579.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3ERename%20Functional%20Group%20to%20%3CSTRONG%3EPortContainer_0_VS_0%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_1-1790863039288.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_1-1790863039288.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397166i4A463208A69F4C83%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_1-1790863039288.png%22%20alt%3D%22Veereshh_1-1790863039288.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_3-1790862581274.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_3-1790862581274.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397156i0B2DFFFCA57FD131%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_3-1790862581274.png%22%20alt%3D%22Veereshh_3-1790862581274.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EConfigure%3A%3CUL%3E%3CLI%3ECAN0_RX%20%E2%86%92%20PTA6%3C%2FLI%3E%3CLI%3ECAN0_TX%20%E2%86%92%20PTA7%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_5-1790862609099.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_5-1790862609099.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397158i2894C3731519CF93%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_5-1790862609099.png%22%20alt%3D%22Veereshh_5-1790862609099.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3EAdd%20%3CSTRONG%3EPORT%3C%2FSTRONG%3E%20module%20under%20MCAL.%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_8-1790862684481.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_8-1790862684481.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397161iFBEB01B7E87E2385%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_8-1790862684481.png%22%20alt%3D%22Veereshh_8-1790862684481.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EConfigure%20PortPin%20settings%20and%20assign%20the%20required%20MSCR%20values.%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_9-1790862726874.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_9-1790862726874.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397162iC7E4795E06271B49%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_9-1790862726874.png%22%20alt%3D%22Veereshh_9-1790862726874.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EUpdate%20code%20and%20resolve%20validation%20errors.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Veereshh_10-1790862736318.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Veereshh_10-1790862736318.png%22%20style%3D%22width%3A%20291px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397163i94301BEFEF5EFEA3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Veereshh_10-1790862736318.png%22%20alt%3D%22Veereshh_10-1790862736318.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EGenerate%20code%20and%20build%20the%20project.%3C%2FLI%3E%3CLI%3EProgram%20the%20board%20and%20verify%20CAN%20Loopback%20communication.%3C%2FLI%3E%3C%2FOL%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3CBR%20%2F%3EVeer%3C%2FP%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E