S32K148 FlexCAN Only Output SOF Pulse then Enter BusOff

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K148 FlexCAN Only Output SOF Pulse then Enter BusOff

138 次查看
April
Contributor I

I developed the program in S32DS. When trying to transmit CAN frames, only a short low-level pulse  is output on the TX pin, and the subsequent ID and data bits are truncated, so complete frames cannot be sent. No data is received by the USB-CAN analyzer, and the FlexCAN controller directly enters the bus-off state.

I have checked clock configuration and register values, and tested different CAN channels, but the problem remains unsolved. I want to figure out which configuration parameter is set incorrectly. Thanks for your help.

0 项奖励
回复
5 回复数

77 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello @April,

From your project, configuration and routine seem to be correct. Could you please share if you are using an S32K148EVB from NXP, or if this is a custom design?

Have you tried testing the Can_example_S32K148 project included within the RTD? You can simply add the CAN0 pins and disable loop back mode to enable Tx/Rx and test the routine. 

Lastly, have you confirmed that both nodes (S32K148 and CAN analyzer) are set to the same bit timing and protocol configuration (CAN vs CAN FD)? You can use the following tool to calculate the values: MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation.

If you are using a custom design, you can refer to the S32K148 EVB's schematic and Hardware Design Guidelines for S32K1xx for the CAN interface design and recommendations.

Best regards,
Julián

0 项奖励
回复

46 次查看
April
Contributor I

Hi Julián,

Thank you for your reply. I'd like to correct and add some important details to my earlier message, which was written in a hurry.

Board: This is a third-party board (not an NXP EVB), model S32K148_REV2_Q144. Worth noting: I found errors in the seller's schematic (labeled transceiver position didn't match the actual PCB silkscreen), so the reference design documentation for this board may not be fully reliable.

Official CAN example: I did try building Can_example_S32K148, but hit environment issues unrelated to CAN itself (missing toolchain/include paths, and finally a version mismatch error between Port_Ci_Port_Ip.h and Port_Ci_Port_Ip_Cfg.h — "different vendor ids"/"AutoSar Version Numbers are different"). This looks like an RTD package version mismatch with my own project, not an IDE version issue. I'll try to resolve it, but I don't think it's central to the hardware problem.

New evidence (from my own project you already reviewed): I've done deeper verification with a logic analyzer since my last message:

  1. MB8 content is 100% correct — read directly from registers right after CDD_CanTransmit(): CS=0x0C080000 (CODE=0xC pending, DLC=8), ID=0x00400304 (>>18 = 0x10, matches config), DATA=0x01020304/0x05060708 (matches my 8-byte payload exactly).

  2. TX signal at the pin is correct too — probing PTE5 and the transceiver's TXD input simultaneously (200MHz logic analyzer), the two waveforms are identical, confirming the PCB trace is fine.

  3. But transmission aborts after only ~8-9 bit transitions (roughly SOF + a few arbitration bits), and the controller enters Bus-Off shortly after (ESR1 confirms FLTCONF=11, TXERRCNT increments each attempt).

  4. CANH/CANL show zero activity, even with the USB-CAN analyzer properly connected and 120Ω termination enabled (bus not floating). As a control test, I ran the same setup (floating vs. terminated) on a different, known-working STM32 board — CANH showed proper transitions once terminated. On my S32K148 board under identical terminated conditions, CANH/CANL remain completely flat.

  5. Same result on CAN1 (different pins/transceiver).

Since MCU-side TXD is confirmed correct up to the transceiver input, but CANH/CANL never respond even with proper termination, I suspect the transceiver output stage (or something shared between both channels, e.g. supply transient behavior — I haven't been able to check this with a scope, only a logic analyzer).

Questions:

  1. Does "TXD correct at transceiver input, but CANH/CANL completely flat under proper termination" more strongly suggest a transceiver hardware fault, or are there other common board-level issues (enable/standby circuit, supply decoupling) that could cause this exact symptom?

  2. Is it expected for FlexCAN to abort after only the first few arbitration bits (rather than completing the full frame and failing at the ACK slot) when there's no real bus activity? Want to confirm my understanding of the bit-monitoring mechanism.

  3. For the RTD version mismatch in the example project — is there a way to check which RTD version matches a given S32 Configuration Tool release, so I can get a matching example package?

Thanks again for your help.

Best regards, April

0 项奖励
回复

21 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello @April,

1. Yes, this points to a transceiver fault, rather than module configuration. Can you check which transceiver is being used in your custom design?

I'd recommend checking STB, EN, S, RS, WAKE, INH, or similar pins against the actual mounted transceiver.

S32K148 EVB uses a UJA1132HW, however, if you are using something like a TJA1043, you must configure it to Normal mode (STB_N = high EN = high).

2.  Yes, early abort after a few arbitration bits is plausible if the transceiver is not actually driving the bus.

3. Usually, the "different vendor ids"/ "AutoSar Version Numbers are different" errors show up when importing a project, and trying to update the configuration with a different RTD / S32 Config Tool version, however, if you simply imported the example from "File -> New -> S32DS Project From Example", there should not be any compatibility issues:

Julin_AragnM_0-1784738938507.png

From the project you've shared, I can see you are using S32K1 RTD 3.0.0 QLP04, however, when I imported the project, I can see from properties that GCC 11.4 is configured:

Julin_AragnM_1-1784739211073.png

From RTD release notes, 3.0.0 QLP04 only supports NXP GCC 10.2:

Julin_AragnM_3-1784739259075.png

I'm not sure how you imported and compiled the project, but please make sure you have at least S32DS 3.6.4, and only one RTD package installed. S32DS does not support multiple RTD versions installed simultaneously.

Best regards,
Julián

0 项奖励
回复

9 次查看
April
Contributor I

Hi Julián,

Thanks again for your patience with this — a few updates since my last message.

Transceiver check: I looked more closely and confirmed it's a TJA1051, not a UJA1132-series SBC. This one only has a single enable pin (S pin), which is hardwired to ground on my board (= Normal mode), so the multi-pin STB_N/EN logic you mentioned doesn't really apply here — that part of the control circuit already looks correct.

Cross-check with a second, independent project: I built and ran a completely different CAN demo for this board (from the reseller, using the older Processor Expert/S32 SDK stack — can_pal — instead of RTD/AUTOSAR). Pressing the button correctly calls CAN_Send(), but I noticed the return value is consistently STATUS_BUSY (0x002), meaning the previous transmission never actually completes. And just like with my RTD project, the USB-CAN analyzer receives nothing at all, on all three channels. So now I have two completely independent driver stacks giving me the same result, which makes me fairly confident this isn't a software/config issue on my end.

Regarding the official example project: I switched the GCC version back to 10.2 as you suggested, but I'm still hitting the same "file not found" errors during the build. I dug into it a bit more and I now suspect it might be related to the Port module (MCAL layer) not being fully configured — there seems to be a validation error tied to how the Port module and the Pins tool's functional group are linked, but I haven't been able to get it configured correctly no matter what I try. 

April_4-1784786142962.png

 


they are form example:

April_0-1784785801363.png
April_1-1784785825602.png

 

This is from the project I built myself earlier:

 

April_2-1784786013234.pngApril_3-1784786034737.png

 

 

Given everything so far — control pin wiring looks correct, TXD is confirmed correct at the pin, and two independent software stacks show consistent "no bus activity" / stuck transmission behavior across all three channels — do you think this is solid enough to treat as a hardware fault and proceed with an RMA, or is there anything else worth checking first?

Thanks again for all your help with this.

Best regards, April

0 项奖励
回复

62 次查看
April
Contributor I
Hi Julián,
I’m really surprised and thankful for your reply to my question.
 
I am using a self-designed hardware board; only the power supply circuit differs from the official EVB schematic, while the rest of the circuits are consistent with the reference design.
I have tested the official CAN example project. I only configured CAN0 pins without enabling and configuring the PORT module inside the MCAL layer, and the project keeps failing to compile repeatedly.
 
The specific compile error is: " f../board/Port_Ci_Port_Ip_Cfg.h:47:10: fatal error: Port_Ci_Port_Ip_Types.h: No such file or directory".
 
I have this header file available in my self-configured project files, yet after importing this official example project, this header file is not generated automatically during code generation.
Could this missing header file error be caused by mismatched IDE software versions? At present I’m developing on S32DS for S32 Platform, and I am downloading S32DS for ARM 2.2.2 to switch the development environment.
Looking forward to your guidance.
 
Best regards,
 
April
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2397059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K148%20FlexCAN%20%E4%BB%85%E8%BE%93%E5%87%BA%20SOF%20%E8%84%89%E5%86%B2%EF%BC%8C%E7%84%B6%E5%90%8E%E8%BF%9B%E5%85%A5%E6%80%BB%E7%BA%BF%E5%85%B3%E9%97%AD%E7%8A%B6%E6%80%81%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%94%A8S32DS%E5%BC%80%E5%8F%91%E4%BA%86%E8%BF%99%E4%B8%AA%E7%A8%8B%E5%BA%8F%E3%80%82%E5%BD%93%E5%B0%9D%E8%AF%95%E5%8F%91%E9%80%81%20CAN%20%E5%B8%A7%E6%97%B6%EF%BC%8CTX%20%E5%BC%95%E8%84%9A%E4%B8%8A%E5%8F%AA%E4%BC%9A%E8%BE%93%E5%87%BA%E4%B8%80%E4%B8%AA%E7%9F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id%3D%22lingo-sub-2397557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K148%20FlexCAN%20Only%20Output%20SOF%20Pulse%20then%20Enter%20BusOff%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E6%9C%B1%E5%88%A9%E5%AE%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%84%9F%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%9B%9E%E5%A4%8D%E3%80%82%E6%88%91%E6%83%B3%E6%9B%B4%E6%AD%A3%E5%B9%B6%E8%A1%A5%E5%85%85%E6%88%91%E4%B9%8B%E5%89%8D%E5%8C%86%E5%BF%99%E5%86%99%E6%88%90%E7%9A%84%E6%B6%88%E6%81%AF%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E9%87%8D%E8%A6%81%E7%BB%86%E8%8A%82%E3%80%82%3C%2FP%3E%3CP%3E%3CSTRONG%3E%E4%B8%BB%E6%9D%BF%EF%BC%9A%3C%2FSTRONG%3E%E8%BF%99%E6%98%AF%E7%AC%AC%E4%B8%89%E6%96%B9%E4%B8%BB%E6%9D%BF%EF%BC%88%E4%B8%8D%E6%98%AF%20NXP%20EVB%EF%BC%89%EF%BC%8C%E5%9E%8B%E5%8F%B7%E4%B8%BA%20S32K148_REV2_Q144%E3%80%82%E5%80%BC%E5%BE%97%E6%B3%A8%E6%84%8F%E7%9A%84%E6%98%AF%EF%BC%9A%E6%88%91%E5%8F%91%E7%8E%B0%E5%8D%96%E5%AE%B6%E6%8F%90%E4%BE%9B%E7%9A%84%E5%8E%9F%E7%90%86%E5%9B%BE%E5%AD%98%E5%9C%A8%E9%94%99%E8%AF%AF%EF%BC%88%E6%A0%87%E6%B3%A8%E7%9A%84%E6%94%B6%E5%8F%91%E5%99%A8%E4%BD%8D%E7%BD%AE%E4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E5%AD%98%E5%99%A8%E8%AF%BB%E5%8F%96%EF%BC%9ACS%3D0x0C080000%20(CODE%3D0xC%20%E5%BE%85%E5%AE%9A%EF%BC%8CDLC%3D8)%EF%BC%8CID%3D0x00400304%20(%26gt%3B%26gt%3B18%20%3D%200x10%EF%BC%8C%E4%B8%8E%E9%85%8D%E7%BD%AE%E5%8C%B9%E9%85%8D)%EF%BC%8CDATA%3D0x01020304%2F0x05060708%20(%E4%B8%8E%E6%88%91%E7%9A%84%208%20%E5%AD%97%E8%8A%82%E6%9C%89%E6%95%88%E8%BD%BD%E8%8D%B7%E5%AE%8C%E5%85%A8%E5%8C%B9%E9%85%8D)%E3%80%82%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3E%E5%BC%95%E8%84%9A%E4%B8%8A%E7%9A%84%20TX%20%E4%BF%A1%E5%8F%B7%E4%B9%9F%E6%AD%A3%E7%A1%AE%3C%2FSTRONG%3E%E2%80%94%E2%80%94%E5%90%8C%E6%97%B6%E6%8E%A2%E6%B5%8B%20PTE5%20%E5%92%8C%E6%94%B6%E5%8F%91%E5%99%A8%E7%9A%84%20TXD%20%E8%BE%93%E5%85%A5%EF%BC%88200MHz%20%E9%80%BB%E8%BE%91%E5%88%86%E6%9E%90%E4%BB%AA%EF%BC%89%EF%BC%8C%E4%B8%A4%E4%B8%AA%E6%B3%A2%E5%BD%A2%E7%9B%B8%E5%90%8C%EF%BC%8C%E8%AF%81%E5%AE%9E%20PCB%20%E8%B5%B0%E7%BA%BF%E8%89%AF%E5%A5%BD%E3%80%82%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3E%E4%BD%86%E4%BC%A0%E8%BE%93%E5%9C%A8%E5%A4%A7%E7%BA%A6%208-9%20%E4%BD%8D%E8%BD%AC%E6%8D%A2%E5%90%8E%E4%B8%AD%E6%AD%A2%3C%2FSTRONG%3E%EF%BC%88%E5%A4%A7%E8%87%B4%E4%B8%BA%20SOF%20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%E6%A3%80%E6%9F%A5%E5%93%AA%E4%B8%AA%20RTD%20%E7%89%88%E6%9C%AC%E4%B8%8E%E7%BB%99%E5%AE%9A%E7%9A%84%20S32%20%E9%85%8D%E7%BD%AE%E5%B7%A5%E5%85%B7%E7%89%88%E6%9C%AC%E5%8C%B9%E9%85%8D%EF%BC%8C%E4%BB%A5%E4%BE%BF%E6%88%91%E5%8F%AF%E4%BB%A5%E8%8E%B7%E5%8F%96%E5%8C%B9%E9%85%8D%E7%9A%84%E7%A4%BA%E4%BE%8B%E5%8C%85%EF%BC%9F%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%E5%86%8D%E6%AC%A1%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%3CP%3E%E6%AD%A4%E8%87%B4%E6%95%AC%E7%A4%BC%EF%BC%8C%E8%89%BE%E6%99%AE%E4%B8%BD%E5%B0%94%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2397499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K148%20FlexCAN%20Only%20Output%20SOF%20Pulse%20then%20Enter%20BusOff%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CDIV%3E%E5%97%A8%EF%BC%8C%E6%9C%B1%E5%88%A9%E5%AE%89%EF%BC%8C%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%E6%88%91%E9%9D%9E%E5%B8%B8%E6%83%8A%E8%AE%B6%EF%BC%8C%E4%B9%9F%E5%BE%88%E6%84%9F%E8%B0%A2%E6%82%A8%E5%9B%9E%E5%A4%8D%E6%88%91%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E8%87%AA%E5%B7%B1%E8%AE%BE%E8%AE%A1%E7%9A%84%E7%A1%AC%E4%BB%B6%E6%9D%BF%EF%BC%9B%E5%8F%AA%E6%9C%89%E7%94%B5%E6%BA%90%E7%94%B5%E8%B7%AF%E4%B8%8E%E5%AE%98%E6%96%B9%20EVB%20%E5%8E%9F%E7%90%86%E5%9B%BE%E4%B8%8D%E5%90%8C%EF%BC%8C%E8%80%8C%E5%85%B6%E4%BD%99%E7%94%B5%E8%B7%AF%E4%B8%8E%E5%8F%82%E8%80%83%E8%AE%BE%E8%AE%A1%E4%B8%80%E8%87%B4%E3%80%82%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%E6%88%91%E6%B5%8B%E8%AF%95%E4%BA%86%E5%AE%98%E6%96%B9%E7%9A%84%20CAN%20%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%E3%80%82%E6%88%91%E5%8F%AA%E9%85%8D%E7%BD%AE%E4%BA%86%20CAN0%20%E5%BC%95%E8%84%9A%EF%BC%8C%E8%80%8C%E6%B2%A1%E6%9C%89%E5%90%AF%E7%94%A8%E5%92%8C%E9%85%8D%E7%BD%AE%20MCAL%20%E5%B1%82%E4%B8%AD%E7%9A%84%20PORT%20%E6%A8%A1%E5%9D%97%EF%BC%8C%E4%BD%86%E9%A1%B9%E7%9B%AE%E4%B8%80%E7%9B%B4%E7%BC%96%E8%AF%91%E5%A4%B1%E8%B4%A5%E3%80%82%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%E5%85%B7%E4%BD%93%E7%9A%84%E7%BC%96%E8%AF%91%E9%94%99%E8%AF%AF%E6%98%AF%EF%BC%9A%20%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%3E%3CSTRONG%3E%E2%80%9Cf%20%3CSPAN%3E..%2Fboard%2FPort_Ci_Port_Ip_Cfg.h%3A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5%8F%B0%3C%2FSTRONG%3E%E8%BF%9B%E8%A1%8C%E5%BC%80%E5%8F%91%EF%BC%8C%E7%8E%B0%E5%9C%A8%E6%88%91%E6%AD%A3%E5%9C%A8%E4%B8%8B%E8%BD%BD%3CSTRONG%3ES32DS%20for%20ARM%202.2.2%3C%2FSTRONG%3E%E6%9D%A5%E5%88%87%E6%8D%A2%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E3%80%82%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%E6%9C%9F%E5%BE%85%E6%82%A8%E7%9A%84%E6%8C%87%E5%AF%BC%E3%80%82%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%E5%9B%9B%E6%9C%88%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2397429%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K148%20FlexCAN%20Only%20Output%20SOF%20Pulse%20then%20Enter%20BusOff%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397429%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F264878%22%20target%3D%22_blank%22%3E%40April%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E4%BB%8E%E4%BD%A0%E7%9A%84%E9%A1%B9%E7%9B%AE%E6%9D%A5%E7%9C%8B%EF%BC%8C%E9%85%8D%E7%BD%AE%E5%92%8C%E6%B5%81%E7%A8%8B%E4%BC%BC%E4%B9%8E%E9%83%BD%E6%98%AF%E6%AD%A3%E7%A1%AE%E7%9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%9F%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%B7%A5%E5%85%B7%E6%9D%A5%E8%AE%A1%E7%AE%97%E5%80%BC%EF%BC%9A%20%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%EF%BC%9ACAN%20%2F%20CAN%20FD%20%E4%BD%8D%E5%AE%9A%E6%97%B6%E8%AE%A1%E7%AE%97%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AE%BE%E8%AE%A1%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DS32K148EVB-SCH-29644-RA%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K148%20EVB%20%E7%9A%84%E5%8E%9F%E7%90%86%E5%9B%BE%3C%2FA%3E%E5%92%8C%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DAN5426%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K1xx%20%E7%A1%AC%E4%BB%B6%E8%AE%BE%E8%AE%A1%E6%8C%87%E5%8D%97%EF%BC%8C%3C%2FA%3E%E4%BA%86%E8%A7%A3%20CAN%20%E6%8E%A5%E5%8F%A3%E8%AE%BE%E8%AE%A1%E5%92%8C%E5%BB%BA%E8%AE%AE%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E6%9C%B1%E5%88%A9%E5%AE%89%3C%2FP%3E%3C%2FLINGO-BODY%3E