This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TXS0108E: AM3358BZCZ100 can't boot from SD Card after level were converted from 1.8V to 3.3V

Part Number: TXS0108E
Other Parts Discussed in Thread: AM3358,

Hi

I configed the MMC0 of AM3358 to SD Card interface but power supply is 1.8V to match other functional requirement, used the TXS0108E as voltage translator.

I think the data rate isn't the cause as TXS0108 can up to 60M in my application.

Is it because the Initialization and Identification between it and Host (AM3358) cannot pass? If yes, how can I modify the host driver?

Please help to advise, thanks!

BR 

TC Liu

The schematic as below

  • The TXS has integrated pull-up resistors; you do not need the external ones.

    The resistors R9/R22/R23/R24 create voltage dividers with the internal pullups; unused I/Os should be simply left open.

    I notice that there is no pull-up resistor on the CLK line. Would the TXS's internal pullups be harmful?

    Can you show oscilloscope traces of when the AM3358 tries to boot?

  • Hi, Clemens

    Thanks for reply.

    1. Yes, and I have tried to remove these external resistors(R4~R8, R11~R15), and the result was unchanged.

    2. It will be implemented to next version and I did as your recommended in today's test(of course, it has no effect on the results).

    3. No, I set it to 'DNP' based on SD Card Standard recommended.

    4. Attached the oscilloscope traces and test log based on #1 and #2.

    Best Regards

    TC Liu

    Only capture waveforms of the following frequencies, 50MHz waveform is strange as the fastest rate is 25MHz for SD Card.

    log for SD Debug_20190819.txt
    U-Boot SPL 2018.01-gc8647e1516-dirty (Aug 15 2019 - 21:49:09)
    Trying to boot from MMC1
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:8
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:41
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:41
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:41
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:2
                    ARG                      0x00000000
                    MMC_RSP_R2               0x00000000
                                             0x00000000
                                             0x00000000
                                             0x00000000
    
                                            DUMPING DATA
                                            000 - 00 00 00 00
                                            004 - 00 00 00 00
                                            008 - 00 00 00 00
                                            012 - 00 00 00 00
    CMD_SEND:3
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:9
                    ARG                      0x00000000
                    MMC_RSP_R2               0x00000000
                                             0x00000000
                                             0x00000000
                                             0x00000000
    
                                            DUMPING DATA
                                            000 - 00 00 00 00
                                            004 - 00 00 00 00
                                            008 - 00 00 00 00
                                            012 - 00 00 00 00
    CMD_SEND:7
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:51
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:6
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:6
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:6
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:16
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:8
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:55
                    ARG                      0x00000000
                    RET                      -110
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:1
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:1
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:1
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:1
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:1
                    ARG                      0x00000000
                    MMC_RSP_R3,4             0x00000000
    CMD_SEND:2
                    ARG                      0x00000000
                    MMC_RSP_R2               0x00000000
                                             0x00000000
                                             0x00000000
                                             0x00000000
    
                                            DUMPING DATA
                                            000 - 00 00 00 00
                                            004 - 00 00 00 00
                                            008 - 00 00 00 00
                                            012 - 00 00 00 00
    CMD_SEND:3
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:9
                    ARG                      0x00000000
                    MMC_RSP_R2               0x00000000
                                             0x00000000
                                             0x00000000
                                             0x00000000
    
                                            DUMPING DATA
                                            000 - 00 00 00 00
                                            004 - 00 00 00 00
                                            008 - 00 00 00 00
                                            012 - 00 00 00 00
    CMD_SEND:7
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:8
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:6
                    ARG                      0x00000000
                    MMC_RSP_R1b              0x00000000
    CMD_SEND:13
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CURR STATE:4
    CMD_SEND:6
                    ARG                      0x00000000
                    MMC_RSP_R1b              0x00000000
    CMD_SEND:13
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CURR STATE:4
    CMD_SEND:8
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:8
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:16
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    CMD_SEND:17
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000000
    ** No partition table - mmc 1 **
    Using default environment
    
    ** Partition 1 not valid on device 0 **
    spl_register_fat_device: fat register err - -1
    spl_load_image_fat_buf: error reading image u-boot.img, err - -1
    ** No partition table - mmc 1 **
    Using default environment
    
    spl: no partition table found
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###
    

  • The schematic looks fine, the A7/ A8 and B7/ B8 can be left floating as the TXS has internal PUs and thus helps in conserving power.

    From what i see from the scopeshots, the device is translating 1.8 <>3.3V.  The waveforms for 1.8V has another corresponding 3.3V output. Is the CLK at 30Mbps or at 2Mbps?

  • Hi, ShreyasRao

    Thanks for your guide, we captured the waveforms at high frequencies and found that the rise time and fall time of pulse were exceed.

    The cause was I used unsuitable TVS Diodes(high parasitic capacitance) on CLK/CMD/DAT lines, and the functional passed after removed these Diodes.

    BR

  • Excellent, glad to know that it is working now.

    I appreciate your feedback on the root cause and sharing it here ! Hopefully, it will be helpful to all the fellow engineers.