The LIN communication issue using the FS6500 chip

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

The LIN communication issue using the FS6500 chip

458 Views
Aoyng
Contributor II

Hello, currently I am using the LIN communication module based on the FS6500 chip, and the MCU is set to slave mode. I noticed that the LIN communication would be disconnected after a period of time. After referring to the FS6500 manual, I found that when the FS6500 acts as a LIN slave transceiver, the LIN bus pins do not require a 1KΩ resistor and a diode. However, when I looked at the engineering schematic, I noticed that there is a 1KΩ resistor and a diode at one end of the LIN bus. Could this affect my LIN communication? I look forward to your response. Thank you.

0 Kudos
Reply
4 Replies

434 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Aoyng,

Can you specify the period of time? 

Do you monitor the bus with an oscilloscope?

What schematic do you mean? 

 

Thank you,

BR, Daniel

0 Kudos
Reply

428 Views
Aoyng
Contributor II

Hello, here's the situation. I reviewed the LIN section of the FS6500 manual and learned that when the LIN configuration of this chip is in slave mode, the external pins connected to the LIN bus do not require a 1kΩ resistor or a diode. However, in my hardware design circuit diagram, I have designed a 1kΩ resistor and a diode. So I'm wondering if this will have an impact on the communication. And I'm the person who replied to your post about restoring other LIN communication issues yesterday. Because the current LIN communication will disconnect after a period of time, and I have no clue at the moment. That's why during the troubleshooting process, I came across the relevant design of FS6500, suspecting if it's a hardware problem. I'm looking forward to your further understanding of my LIN communication issue in other posts and by combining this post. I'm grateful and looking forward to your help, as it's very important to me.This is the question I raised for you in another post. You can take a look at it. These are all issues resulting from one problem. The post title:The S32K314 uses the LPUART to configure as a LIN slave communication interrupt.

0 Kudos
Reply

400 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Aoyng,

I have just replied in the other thread you mentioned:
https://community.nxp.com/t5/S32K/The-S32K314-uses-the-LPUART-to-configure-as-a-LIN-slave/m-p/236597...

The presence of the diode and pull-up resistor can indeed contribute to the framing errors you are observing on the LIN bus.

Could you try removing these components from the PCB (or isolating them) and check if the issue persists?

 

BR, Daniel

0 Kudos
Reply

332 Views
Aoyng
Contributor II

Hello, I tried to remove the resistor but the problem of the LIN communication disconnecting still exists. Judging from this, it seems to have nothing to do with the current hardware. Let's continue to investigate from other aspects, such as my other posts. Thank you for your help.

%3CLINGO-SUB%20id%3D%22lingo-sub-2365861%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20LIN%20communication%20issue%20using%20the%20FS6500%20chip%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2365861%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20currently%20I%20am%20using%20the%20LIN%20communication%20module%20based%20on%20the%20FS6500%20chip%2C%20and%20the%20MCU%20is%20set%20to%20slave%20mode.%20I%20noticed%20that%20the%20LIN%20communication%20would%20be%20disconnected%20after%20a%20period%20of%20time.%20After%20referring%20to%20the%20FS6500%20manual%2C%20I%20found%20that%20when%20the%20FS6500%20acts%20as%20a%20LIN%20slave%20transceiver%2C%20the%20LIN%20bus%20pins%20do%20not%20require%20a%201K%CE%A9%20resistor%20and%20a%20diode.%20However%2C%20when%20I%20looked%20at%20the%20engineering%20schematic%2C%20I%20noticed%20that%20there%20is%20a%201K%CE%A9%20resistor%20and%20a%20diode%20at%20one%20end%20of%20the%20LIN%20bus.%20Could%20this%20affect%20my%20LIN%20communication%3F%20I%20look%20forward%20to%20your%20response.%20Thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366239%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20LIN%20communication%20issue%20using%20the%20FS6500%20chip%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366239%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%2F260154%22%20target%3D%22_blank%22%3E%40Aoyng%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI%20have%20just%20replied%20in%20the%20other%20thread%20you%20mentioned%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FThe-S32K314-uses-the-LPUART-to-configure-as-a-LIN-slave%2Fm-p%2F2365972%2Fhighlight%2Ffalse%23M58611%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FThe-S32K314-uses-the-LPUART-to-configure-as-a-LIN-slave%2Fm-p%2F2365972%2Fhighlight%2Ffalse%23M58611%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20presence%20of%20the%20diode%20and%20pull-up%20resistor%20can%20indeed%20contribute%20to%20the%20framing%20errors%20you%20are%20observing%20on%20the%20LIN%20bus.%3C%2FP%3E%0A%3CP%3ECould%20you%20try%20removing%20these%20components%20from%20the%20PCB%20(or%20isolating%20them)%20and%20check%20if%20the%20issue%20persists%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20Daniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366021%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20LIN%20communication%20issue%20using%20the%20FS6500%20chip%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366021%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20here's%20the%20situation.%20I%20reviewed%20the%20LIN%20section%20of%20the%20FS6500%20manual%20and%20learned%20that%20when%20the%20LIN%20configuration%20of%20this%20chip%20is%20in%20slave%20mode%2C%20the%20external%20pins%20connected%20to%20the%20LIN%20bus%20do%20not%20require%20a%201k%CE%A9%20resistor%20or%20a%20diode.%20However%2C%20in%20my%20hardware%20design%20circuit%20diagram%2C%20I%20have%20designed%20a%201k%CE%A9%20resistor%20and%20a%20diode.%20So%20I'm%20wondering%20if%20this%20will%20have%20an%20impact%20on%20the%20communication.%20And%20I'm%20the%20person%20who%20replied%20to%20your%20post%20about%20restoring%20other%20LIN%20communication%20issues%20yesterday.%20Because%20the%20current%20LIN%20communication%20will%20disconnect%20after%20a%20period%20of%20time%2C%20and%20I%20have%20no%20clue%20at%20the%20moment.%20That's%20why%20during%20the%20troubleshooting%20process%2C%20I%20came%20across%20the%20relevant%20design%20of%20FS6500%2C%20suspecting%20if%20it's%20a%20hardware%20problem.%20I'm%20looking%20forward%20to%20your%20further%20understanding%20of%20my%20LIN%20communication%20issue%20in%20other%20posts%20and%20by%20combining%20this%20post.%20I'm%20grateful%20and%20looking%20forward%20to%20your%20help%2C%20as%20it's%20very%20important%20to%20me.This%20is%20the%20question%20I%20raised%20for%20you%20in%20another%20post.%20You%20can%20take%20a%20look%20at%20it.%20These%20are%20all%20issues%20resulting%20from%20one%20problem.%20The%20post%20title%3A%3CSPAN%3EThe%20S32K314%20uses%20the%20LPUART%20to%20configure%20as%20a%20LIN%20slave%20communication%20interrupt.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2365978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20LIN%20communication%20issue%20using%20the%20FS6500%20chip%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2365978%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%2F260154%22%20target%3D%22_blank%22%3E%40Aoyng%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ECan%20you%20specify%20the%20period%20of%20time%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20you%20monitor%20the%20bus%20with%20an%20oscilloscope%3F%3C%2FP%3E%0A%3CP%3EWhat%20schematic%20do%20you%20mean%3F%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThank%20you%2C%3C%2FP%3E%0A%3CP%3EBR%2C%20Daniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366479%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20LIN%20communication%20issue%20using%20the%20FS6500%20chip%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366479%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20I%20tried%20to%20remove%20the%20resistor%20but%20the%20problem%20of%20the%20LIN%20communication%20disconnecting%20still%20exists.%20Judging%20from%20this%2C%20it%20seems%20to%20have%20nothing%20to%20do%20with%20the%20current%20hardware.%20Let's%20continue%20to%20investigate%20from%20other%20aspects%2C%20such%20as%20my%20other%20posts.%20Thank%20you%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E