SC18IM704 does not work

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

SC18IM704 does not work

185 Views
2282242919
Contributor II

Hi everyone!

I used STM32F407 for UART communication with SC18IM704 chip. The UART peripheral of STM32 successfully sent data to tx, but there was no feedback from SC18IM704 on rx.when board is power on.UART baud rate is 9600 bit/s.

The schematic diagram of the board is shown in the figure.3046B74B-E9DE-4e11-8E23-9134E0817F20.png

I use the Read version function ID command of SC18IM704 .shown in the figureSDS1204X_HD_JPG_1.jpg

No data feedback provided of SC18IM704

Labels (2)
Tags (1)
0 Kudos
Reply
3 Replies

157 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hi, 

according to the SC18IM704 datasheet, after power up the SC18IM704 send two bytes to the host. Do you receive these two bytes after power up? 

JozefKozon_0-1779954086888.png

If you are not receiving these two bytes, please check if the RESET pin is high. Please remove the 10k pull-up resistors on the TX and RX lines. Only the RX pin requires pull-up resistor and only if you want to keep the SC18IM704 in Deep Power-down mode. Otherwise no pull-up resistors should be on the TX and RX lines.

With Best Regards,

Jozef

 

0 Kudos
Reply

63 Views
2282242919
Contributor II

hello Jozef:

I check the RESET pin of SC18IM704 is high(3.3V) by oscilloscope.after power up the SC18IM704. I not find the two bytes('OK') by oscilloscope. I removed the 10k pull-up resistors on the TX and RX lines. I use four SC18IM704 chips ,and the situation is the same. I don't know how to solve this problem,please help me.

0 Kudos
Reply

54 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello, 

thank you for confirmation. Please remove the R106 resistor, to disconnect the TX pin from your MCU. To make sure, that the TX pin is floating (not held high by your MCU). Then power up the SC18IM704 and measure the TX pin on the SC18IM704 with an oscilloscope to look for the "OK", the two bytes 0x4F and 0x4B. 

If you still don't see the "OK" please conduct the reset with the RESET pin. 

1. Watch TX with oscilloscope
2. Hold RESET LOW (GND) for ~10 ms
3. Release to HIGH
4. See if the "OK" appears
 
With Best Regards,
Jozef

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2372154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESC18IM704%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2372154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20everyone!%3C%2FP%3E%3CP%3EI%20used%20STM32F407%20for%20UART%20communication%20with%20SC18IM704%20chip.%20The%20UART%20peripheral%20of%20STM32%20successfully%20sent%20data%20to%20tx%2C%20but%20there%20was%20no%20feedback%20from%20SC18IM704%20on%20rx.when%20board%20is%20power%20on.UART%20baud%20rate%20is%209600%20bit%2Fs.%3C%2FP%3E%3CP%3EThe%20schematic%20diagram%20of%20the%20board%20is%20shown%20in%20the%20figure.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20style%3D%22width%3A%20873px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20style%3D%22width%3A%20873px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20style%3D%22width%3A%20873px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20style%3D%22width%3A%20873px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387013i857208326215A18A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20alt%3D%223046B74B-E9DE-4e11-8E23-9134E0817F20.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20use%20the%20Read%20version%20function%20ID%20command%20of%26nbsp%3BSC18IM704%20.shown%20in%20the%20figure%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SDS1204X_HD_JPG_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SDS1204X_HD_JPG_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SDS1204X_HD_JPG_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SDS1204X_HD_JPG_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387015i62F6A3873BDEA1E6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SDS1204X_HD_JPG_1.jpg%22%20alt%3D%22SDS1204X_HD_JPG_1.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENo%20data%20feedback%20provided%20of%26nbsp%3BSC18IM704%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2372154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EI2C%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Euart%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2372307%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SC18IM704%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2372307%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eaccording%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fdata-sheet%2FSC18IM704.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESC18IM704%20datasheet%3C%2FA%3E%2C%20after%20power%20up%20the%20SC18IM704%20send%20two%20bytes%20to%20the%20host.%20Do%20you%20receive%20these%20two%20bytes%20after%20power%20up%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_0-1779954086888.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_0-1779954086888.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_0-1779954086888.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_0-1779954086888.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387058i72B2BEF9FAADFA0E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JozefKozon_0-1779954086888.png%22%20alt%3D%22JozefKozon_0-1779954086888.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20not%20receiving%20these%20two%20bytes%2C%20please%20check%20if%20the%20RESET%20pin%20is%20high.%20Please%20remove%20the%2010k%20pull-up%20resistors%20on%20the%20TX%20and%20RX%20lines.%20Only%20the%20RX%20pin%20requires%20pull-up%20resistor%20and%20only%20if%20you%20want%20to%20keep%20the%20SC18IM704%20in%20Deep%20Power-down%20mode.%20Otherwise%20no%20pull-up%20resistors%20should%20be%20on%20the%20TX%20and%20RX%20lines.%3C%2FP%3E%0A%3CP%3EWith%20Best%20Regards%2C%3C%2FP%3E%0A%3CP%3EJozef%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2374184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SC18IM704%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2374184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethank%20you%20for%20confirmation.%20Please%20remove%20the%20R106%20resistor%2C%20to%20disconnect%20the%20TX%20pin%20from%20your%20MCU.%20To%20make%20sure%2C%20that%20the%20TX%20pin%20is%20floating%20(not%20held%20high%20by%20your%20MCU).%20Then%20power%20up%20the%20SC18IM704%20and%20measure%20the%20TX%20pin%20on%20the%20SC18IM704%20with%20an%20oscilloscope%20to%20look%20for%20the%20%22OK%22%2C%20the%20two%20bytes%200x4F%20and%200x4B.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20still%20don't%20see%20the%20%22OK%22%20please%20conduct%20the%20reset%20with%20the%20RESET%20pin.%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E1.%20Watch%20TX%20with%20oscilloscope%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E2.%20Hold%20RESET%20LOW%20(GND)%20for%20~10%20ms%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E3.%20Release%20to%20HIGH%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E4.%20See%20if%20the%20%22OK%22%20appears%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EWith%20Best%20Regards%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EJozef%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2374112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SC18IM704%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2374112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%26nbsp%3B%3CSPAN%3EJozef%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20check%26nbsp%3Bthe%20RESET%20pin%20of%20SC18IM704%20is%20high(3.3V)%20by%26nbsp%3Boscilloscope.after%20power%20up%20the%20SC18IM704.%20I%20not%20find%20the%26nbsp%3Btwo%20bytes('OK')%26nbsp%3Bby%26nbsp%3Boscilloscope.%20I%26nbsp%3Bremoved%20the%2010k%20pull-up%20resistors%20on%20the%20TX%20and%20RX%20lines.%20I%20use%20four%26nbsp%3BSC18IM704%20chips%20%2Cand%20the%20situation%20is%20the%20same.%26nbsp%3BI%20don't%20know%20how%20to%20solve%20this%20problem%EF%BC%8Cplease%20help%20me.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E