Software Selectable CAN Termination in S32K344

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

Software Selectable CAN Termination in S32K344

253 Views
ganavi1
Contributor II

I am using FRDM-A-S32K344 with RTD 3.0.0.

I want to know whether CAN termination resistor can be enabled or disabled through software in S32K344.

Does S32K344 support this internally, or do we need external hardware control 

Also, could you please explain how CAN termination is normally designed between the MCU and CAN transceiver, and how software-controlled CAN termination can be implemented?

0 Kudos
Reply
2 Replies

199 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is no direct support for software‑selectable CAN termination in S32K3 MCUs or in our standard CAN transceivers.

The typical connection is: MCU (FlexCAN TX/RX) ↔ CAN transceiver ↔ CANH/CANL bus, with termination resistor(s) placed on the bus side.

Standard high‑speed CAN/CAN FD requires two 120 Ω resistors (or split termination: 2×60 Ω with a capacitor to ground), located at each end of the bus backbone. Each ECU node in between are usually not terminated.

If software‑selectable termination is required, it must be implemented using external hardware, typically a GPIO‑controlled analog switch, FET, or relay that inserts or removes the termination resistor.

BR, Petr

0 Kudos
Reply

196 Views
ganavi1
Contributor II

Thanks for your reply

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2369153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESoftware%20Selectable%20CAN%20Termination%20in%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2369153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EI%20am%20using%20FRDM-A-S32K344%20with%20RTD%203.0.0.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EI%20want%20to%20know%20whether%20CAN%20termination%20resistor%20can%20be%20enabled%20or%20disabled%20through%20software%20in%20S32K344.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20S32K344%20support%20this%20internally%2C%20or%20do%20we%20need%20external%20hardware%20control%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20could%20you%20please%20explain%20how%20CAN%20termination%20is%20normally%20designed%20between%20the%20MCU%20and%20CAN%20transceiver%2C%20and%20how%20software-controlled%20CAN%20termination%20can%20be%20implemented%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2369936%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Software%20Selectable%20CAN%20Termination%20in%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2369936%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThanks%20for%20your%20reply%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2369925%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Software%20Selectable%20CAN%20Termination%20in%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2369925%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ethere%20is%20no%20direct%20support%20for%20software%E2%80%91selectable%20CAN%20termination%20in%20S32K3%20MCUs%20or%20in%20our%20standard%20CAN%20transceivers.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%3E%0A%3CP%3EThe%20typical%20connection%20is%3A%20MCU%20(FlexCAN%20TX%2FRX)%20%E2%86%94%20CAN%20transceiver%20%E2%86%94%20CANH%2FCANL%20bus%2C%20with%20termination%20resistor(s)%20placed%20on%20the%20bus%20side.%3C%2FP%3E%0A%3CP%3EStandard%20high%E2%80%91speed%20CAN%2FCAN%20FD%20requires%20two%20120%E2%80%AF%CE%A9%20resistors%20(or%20split%20termination%3A%202%C3%9760%E2%80%AF%CE%A9%20with%20a%20capacitor%20to%20ground)%2C%20located%20at%20each%20end%20of%20the%20bus%20backbone.%20Each%20ECU%20node%20in%20between%20are%20usually%20not%20terminated.%3C%2FP%3E%0A%3CP%3EIf%20software%E2%80%91selectable%20termination%20is%20required%2C%20it%20must%20be%20implemented%20using%20external%20hardware%2C%20typically%20a%20GPIO%E2%80%91controlled%20analog%20switch%2C%20FET%2C%20or%20relay%20that%20inserts%20or%20removes%20the%20termination%20resistor.%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E