S32K311 - FlexCAN using FIRC not working

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

S32K311 - FlexCAN using FIRC not working

Jump to solution
2,795 Views
geeznxp
Contributor II

I'm trying to implement FlexCAN using FIRC clock mode, but not able to successfully tx and rx CAN data. However, CAN is able to tx and rx when FXOSC is configured. According to the Clock diagram, FlexCAN is using FIRC_CLK (/2) on 24Mhz resulting in 500kbps CAN bit rate. I don't understand what I'm doing wrong.

Please refer to the Clock settings below. I'm attaching code base zip as well.

Please help me run FlexCAN on FIRC.

Thanks

#s32k3 AUTOMOTIVE-RTD NXPCAN 

 

 

0 Kudos
Reply
1 Solution
2,617 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @geeznxp,

I've also tested your SW with PCAN USB correctly, both with 0x240 & 0x420 IDs:

Snag_58433be.png

I imagine you are using a custom board, correct? I strongly suggest comparing your design with either S32K31XEVB-Q100 EVB or S32K312EVB-Q172 EVB. Specifically, the CAN interface. You can also refer to S32K3 Hardware Design Guidelines.

Also, please check the terminating resistors. I think the issue is due to bus termination.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
8 Replies
2,698 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @geeznxp, 

I've imported and tested your project. I can see both 014h and 015h IDs being sent correctly when connecting a PCAN-USB analyzer:

Snag_1f7078a1.png

However, CAN bit rate is set to 250kbps with 87.5% SP, not 500kbps:

Snag_1f7106d7.pngSnag_1f71ac10.png

You can calculate the bit rate values for 500kbps using the MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation tool.

Best regards,
Julián

2,677 Views
geeznxp
Contributor II

I'm receiving BUSHEAVY when the same firmware is tested on PCAN-View resulting in no data reception.

What could be the reason to get BUSHEAVY status ?

0 Kudos
Reply
2,683 Views
geeznxp
Contributor II

Thanks for your response.

What hardware module are you using?

0 Kudos
Reply
2,683 Views
geeznxp
Contributor II
What hardware module are you using?
0 Kudos
Reply
2,669 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @geeznxp,

I tested your SW in the S32K31XEVB-Q100 Evaluation Board. I connected CAN Rx/Tx to PCAN-USB analyzer and tested with 250kbps.

Can you try one of the available examples from the RTD package?  Or alternatively, these community examples:

As for the PCAN error message "bus heavy", that is a very broad description. Could you confirm if your bus has correct terminating resistors? 

 Best regards,
Julián

0 Kudos
Reply
2,646 Views
geeznxp
Contributor II

Hi Julian,

Thanks for your response.

After referring to the examples you have shared, I have made another program having CAN tx and rx on interrupt with sampling point as 75% and running entirely on FIRC.

But I'm still not able to receive data on CAN. Whereas if a CAN message is sent from PCAN its response is successfully received. But messages are not getting transmitted on the specified interval.

I'm attaching the screenshots as well as zip file. Can you please take a look at it ?

Thanks

0 Kudos
Reply
2,618 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @geeznxp,

I've also tested your SW with PCAN USB correctly, both with 0x240 & 0x420 IDs:

Snag_58433be.png

I imagine you are using a custom board, correct? I strongly suggest comparing your design with either S32K31XEVB-Q100 EVB or S32K312EVB-Q172 EVB. Specifically, the CAN interface. You can also refer to S32K3 Hardware Design Guidelines.

Also, please check the terminating resistors. I think the issue is due to bus termination.

Best regards,
Julián

0 Kudos
Reply
2,546 Views
geeznxp
Contributor II

Hi @Julián_AragónM,

Thanks for your help.

Yes I'm using a custom board to test.

I was successfully able to execute CAN on the above firmware when I changed a few CAN settings attached in the screenshot.

I'm not sure what is the root cause of it, but as of now it is working with BTR 0 = 40h and BTR 1 = 2Bh Sample point 81%.

I would also compare the design with the EVB boards you have linked.

Thanks so much

%3CLINGO-SUB%20id%3D%22lingo-sub-2345081%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2345081%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20trying%20to%20implement%20FlexCAN%20%3CSTRONG%3Eusing%20FIRC%20clock%20mode%2C%20but%20not%20able%20to%20successfully%20tx%20and%20rx%20CAN%20data%3C%2FSTRONG%3E.%20However%2C%20%3CU%3ECAN%20is%20able%20to%20tx%20and%20rx%20when%20FXOSC%20is%20configured%3C%2FU%3E.%20According%20to%20the%20Clock%20diagram%2C%20FlexCAN%20is%20using%20FIRC_CLK%20(%2F2)%20on%2024Mhz%20resulting%20in%20500kbps%20CAN%20bit%20rate.%20I%20don't%20understand%20what%20I'm%20doing%20wrong.%3C%2FP%3E%3CP%3EPlease%20refer%20to%20the%20Clock%20settings%20below.%20I'm%20attaching%20code%20base%20zip%20as%20well.%3C%2FP%3E%3CP%3EPlease%20help%20me%20run%20FlexCAN%20on%20FIRC.%3C%2FP%3E%3CP%3EThanks%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%23s32k3%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FAUTOMOTIVE-RTD%2Fpd-p%2FAUTOMOTIVE-RTD%22%20class%3D%22lia-product-mention%22%20data-product%3D%222258-1%22%20target%3D%22_blank%22%3EAUTOMOTIVE-RTD%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FNXPCAN%2Fpd-p%2FNXPCAN%22%20class%3D%22lia-product-mention%22%20data-product%3D%222360-1%22%20target%3D%22_blank%22%3ENXPCAN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2345818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2345818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261352%22%20target%3D%22_blank%22%3E%40geeznxp%3C%2FA%3E%2C%E2%80%83%3C%2FP%3E%0A%3CP%3EI've%20imported%20and%20tested%20your%20project.%20I%20can%20see%20both%20014h%20and%20015h%20IDs%20being%20sent%20correctly%20when%20connecting%20a%20PCAN-USB%20analyzer%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7078a1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381368i99D3BEA7E502AAEC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Snag_1f7078a1.png%22%20alt%3D%22Snag_1f7078a1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHowever%2C%20CAN%20bit%20rate%20is%20set%20to%20250kbps%20with%2087.5%25%20SP%2C%20not%20500kbps%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f7106d7.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381369iDC79EA9B7E9EB917%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Snag_1f7106d7.png%22%20alt%3D%22Snag_1f7106d7.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_1f71ac10.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381370i1BE144E0BF1DD8C4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Snag_1f71ac10.png%22%20alt%3D%22Snag_1f71ac10.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20calculate%20the%20bit%20rate%20values%20for%20500kbps%20using%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMPC5xxx-Knowledge-Base%2FMPC5xxx-S32Kxx-LPCxxxx-CAN-CAN-FD-bit-timing-calculation%2Fta-p%2F1119319%22%20target%3D%22_blank%22%3EMPC5xxx%2FS32Kxx%2FLPCxxxx%3A%20CAN%20%2F%20CAN%20FD%20bit%20timing%20calculation%3C%2FA%3E%26nbsp%3Btool.%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-2346393%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346393%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20receiving%20BUSHEAVY%20when%20the%20same%20firmware%20is%20tested%20on%20PCAN-View%20resulting%20in%20no%20data%20reception.%3C%2FP%3E%3CP%3EWhat%20could%20be%20the%20reason%20to%20get%20BUSHEAVY%20status%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346175%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346175%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWhat%20hardware%20module%20are%20you%20using%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20your%20response.%3C%2FP%3E%3CP%3EWhat%20hardware%20module%20are%20you%20using%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261352%22%20target%3D%22_blank%22%3E%40geeznxp%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI%20tested%20your%20SW%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FS32K31XEVB-Q100%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ES32K31XEVB-Q100%20Evaluation%20Board.%3C%2FA%3E%26nbsp%3BI%20connected%20CAN%20Rx%2FTx%20to%20PCAN-USB%20analyzer%20and%20tested%20with%20250kbps.%3C%2FP%3E%0A%3CP%3ECan%20you%20try%20one%20of%20the%20available%20examples%20from%20the%20RTD%20package%3F%26nbsp%3B%20Or%20alternatively%2C%20these%20community%20examples%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%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%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K312-CAN-Transmit-amp-Receive-Using-Polling-mode-DS3%2Fta-p%2F1789191%22%20target%3D%22_blank%22%3EExample%20S32K312%20CAN%20Transmit%20%26amp%3B%20Receive%20Using%20Polling%20mode%20DS3.5%20RTD300%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K312-CAN-Transmit-amp-Receive-Using-MB-amp-FIFO-DMA%2Fta-p%2F1789196%22%20target%3D%22_blank%22%3EExample%20S32K312%20CAN%20Transmit%20%26amp%3B%20Receive%20Using%20MB%20%26amp%3B%20FIFO%20DMA%20DS3.5%20RTD300%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAs%20for%20the%26nbsp%3B%3CSPAN%3EPCAN%20error%20message%20%22bus%20heavy%22%2C%20that%20is%20a%20very%20broad%20description.%20Could%20you%20confirm%20if%20your%20bus%20has%20correct%20terminating%20resistors%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3BBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346760%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346760%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Julian%2C%3C%2FP%3E%3CP%3EThanks%20for%20your%20response.%3C%2FP%3E%3CP%3EAfter%20referring%20to%20the%20examples%20you%20have%20shared%2C%20I%20have%20made%20another%20program%20having%20CAN%20tx%20and%20rx%20on%20interrupt%20with%20%3CSTRONG%3Esampling%20point%20as%2075%25%20and%20running%20entirely%20on%20FIRC.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EBut%20I'm%20still%20not%20able%20to%20receive%20data%20on%20CAN.%20%3C%2FSTRONG%3E%3CSTRONG%3EWhereas%20if%20a%20CAN%20message%20is%20sent%20from%20PCAN%20its%20response%20is%20successfully%20received.%20But%20messages%20are%20not%20getting%20transmitted%20on%20the%20specified%20interval.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI'm%20attaching%20the%20screenshots%20as%20well%20as%20zip%20file.%20Can%20you%20please%20take%20a%20look%20at%20it%20%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2347742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2347742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261352%22%20target%3D%22_blank%22%3E%40geeznxp%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI've%20also%20tested%20your%20SW%20with%20PCAN%20USB%20correctly%2C%20both%20with%200x240%20%26amp%3B%200x420%20IDs%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snag_58433be.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_58433be.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snag_58433be.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381645iA313F05BD3512D9F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snag_58433be.png%22%20alt%3D%22Snag_58433be.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20imagine%20you%20are%20using%20a%20custom%20board%2C%20correct%3F%20I%20strongly%20suggest%20comparing%20your%20design%20with%20either%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FS32K31XEVB-Q100%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K31XEVB-Q100%20EVB%3C%2FA%3E%26nbsp%3Bor%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FS32K312EVB-Q172%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K312EVB-Q172%20EVB%3C%2FA%3E.%20Specifically%2C%20the%20CAN%20interface.%20You%20can%20also%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DS32K3_HW-DesignPackage%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K3%20Hardware%20Design%20Guidelines.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EAlso%2C%20please%20check%20the%20terminating%20resistors.%26nbsp%3BI%20think%20the%20issue%20is%20due%20to%20bus%20termination.%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-2347976%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311%20-%20FlexCAN%20using%20FIRC%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2347976%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200831%22%20target%3D%22_blank%22%3E%40Juli%C3%A1n_Arag%C3%B3nM%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThanks%20for%20your%20help.%3C%2FP%3E%3CP%3EYes%20I'm%20using%20a%20custom%20board%20to%20test.%3C%2FP%3E%3CP%3EI%20was%20successfully%20able%20to%20execute%20CAN%20on%20the%20above%20firmware%20when%20I%20changed%20a%20few%20CAN%20settings%20attached%20in%20the%20screenshot.%3C%2FP%3E%3CP%3EI'm%20not%20sure%20what%20is%20the%20root%20cause%20of%20it%2C%20but%20as%20of%20now%20it%20is%20%3CSTRONG%3Eworking%20with%20BTR%200%20%3D%2040h%20and%20BTR%201%20%3D%202Bh%20Sample%20point%2081%25.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI%20would%20also%20compare%20the%20design%20with%20the%20EVB%20boards%20you%20have%20linked.%3C%2FP%3E%3CP%3EThanks%20so%20much%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E