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.

DS90UB940-Q1EVM: All registers zero (0) and not writable

Part Number: DS90UB940-Q1EVM
Other Parts Discussed in Thread: ALP, , DS90UB948-Q1EVM

Dear TI support,

I'm trying to use the DS90UB940-Q1EVM with Analog LaunchPAD. At first of all the ALP is very slow and stucks on every mouse click so I have to wait several secons until I can change the register tabs.

My actual issue is that all registers in the of the MCU are 0. When I write a register by using the scripting feature and read it back, I determine that the value has not been written successfully (see Screenshot).

On the board the configuration is:
PBD: High
BISTC: High
BISTEN: Low

What could cause this issue? Thanks!

Best regards!

  • Hi Tanzou,

    One possible issue could be the state of the device during the ALP initialization sequence. 


    Would you be able to clarify these points below?

    > Is there a SER linked to the 940, or is ALP interfaced with the 940 alone?

    > While looking in the "Registers" tab and clicking on the subsections, do the values dynamically change? Example:
       
       The value here is "58" as expected, and not "0"

    If the values are not populated in the registers tab, the USB connection may be struggling to establish a secure connection on the I2C bus (which also may contribute to a longer initialization sequence).

    Please confirm the two points above as we look further into the issue. Thank you!

    Best,
    Miguel

  • Hi Miguel,

    thanks for your quick response.

    - there is no SER, the ALP is connected to the 940 alone

    - I clicked on the subsections but the current value is alway 00 for all registers

    I now read out all registers by clicking on "Display" button. As you can see in the output, all registers are 0:

    Register Display - ALP Nano 1 - DS90UB940, Connector 1

    Register  Data    Name
    0x0000    0x00    I2C Device ID
    0x0001    0x00    Reset
    0x0002    0x00    General Configuration 0
    0x0003    0x00    General Configuration 1
    0x0004    0x00    BCC Watchdog Control
    0x0005    0x00    I2C Control 1
    0x0006    0x00    I2C Control 2
    0x0007    0x00    REMOTE ID
    0x0008    0x00    SlaveID[0]
    0x0009    0x00    SlaveID[1]
    0x000A    0x00    SlaveID[2]
    0x000B    0x00    SlaveID[3]
    0x000C    0x00    SlaveID[4]
    0x000D    0x00    SlaveID[5]
    0x000E    0x00    SlaveID[6]
    0x000F    0x00    SlaveID[7]
    0x0010    0x00    SlaveAlias[0]
    0x0011    0x00    SlaveAlias[1]
    0x0012    0x00    SlaveAlias[2]
    0x0013    0x00    SlaveAlias[3]
    0x0014    0x00    SlaveAlias[4]
    0x0015    0x00    SlaveAlias[5]
    0x0016    0x00    SlaveAlias[6]
    0x0017    0x00    SlaveAlias[7]
    0x0018    0x00    MAILBOX_18
    0x0019    0x00    MAILBOX_19
    0x001A    0x00    GPIO[9] and Global GPIO Config
    0x001B    0x00    Frequency Counter
    0x001C    0x00    General Status
    0x001D    0x00    GPIO0 Config
    0x001E    0x00    GPIO1_2 Config
    0x001F    0x00    GPIO_3 Config
    0x0020    0x00    GPIO_5_6 Config
    0x0021    0x00    GPIO_7_8 Config
    0x0022    0x00    Datapath Control
    0x0023    0x00    RX Mode Status
    0x0024    0x00    BIST Control
    0x0025    0x00    BIST ERROR COUNT
    0x0026    0x00    SCL High Time
    0x0027    0x00    SCL Low Time
    0x0028    0x00    Datapath Control 2
    0x0029    0x00    Reserved
    0x002A    0x00    Reserved
    0x002B    0x00    I2S Control
    0x002C    0x00    Reserved
    0x002D    0x00    Reserved
    0x002E    0x00    PCLK Test Mode
    0x002F    0x00    Reserved
    0x0030    0x00    Reserved
    0x0031    0x00    Reserved
    0x0032    0x00    Reserved
    0x0033    0x00    Reserved
    0x0034    0x00    DUAL_RX_CTL
    0x0035    0x00    AEQ TEST
    0x0036    0x00    Reserved
    0x0037    0x00    MODE_SEL
    0x0038    0x00    Reserved
    0x0039    0x00    Reserved
    0x003A    0x00    I2S_DIVSEL
    0x003B    0x00    Reserved
    0x003C    0x00    Reserved
    0x003D    0x00    Reserved
    0x003E    0x00    Reserved
    0x003F    0x00    Reserved
    0x0040    0x00    Reserved
    0x0041    0x00    LINK ERROR COUNT
    0x0042    0x00    Reserved
    0x0043    0x00    HSCC_CONTROL
    0x0044    0x00    ADAPTIVE EQ BYPASS
    0x0045    0x00    ADAPTIVE EQ MIN MAX
    0x0046    0x00    Reserved
    0x0047    0x00    Reserved
    0x0048    0x00    Reserved
    0x0049    0x00    Reserved
    0x004A    0x00    Reserved
    0x004B    0x00    Reserved
    0x004C    0x00    Reserved
    0x004D    0x00    Reserved
    0x004E    0x00    Reserved
    0x004F    0x00    Reserved
    0x0050    0x00    Reserved
    0x0051    0x00    Reserved
    0x0052    0x00    areg12_2
    0x0053    0x00    Reserved
    0x0054    0x00    Reserved
    0x0055    0x00    Reserved
    0x0056    0x00    areg12_6
    0x0057    0x00    areg12a_f
    0x0059    0x00    Reserved
    0x005A    0x00    Reserved
    0x005B    0x00    Reserved
    0x005C    0x00    Reserved
    0x005D    0x00    Reserved
    0x005F    0x00    Reserved
    0x0060    0x00    Reserved
    0x0061    0x00    Reserved
    0x0062    0x00    Reserved
    0x0063    0x00    Reserved
    0x0064    0x00    PGCTL
    0x0065    0x00    PGCFG
    0x0066    0x00    PGIA
    0x0067    0x00    PGID
    0x0068    0x00    PGDBG
    0x0069    0x00    PGTSTDAT
    0x006A    0x00    CSICFG0
    0x006B    0x00    CSICFG1
    0x006C    0x00    CSIIA
    0x006D    0x00    CSIID
    0x006E    0x00    GPI Pin Status 1
    0x006F    0x00    GPI Pin Status 2
    0x0070    0x00    Reserved
    0x0071    0x00    Reserved
    0x0072    0x00    Reserved
    0x0073    0x00    Reserved
    0x0074    0x00    Reserved
    0x0075    0x00    Reserved
    0x0076    0x00    Reserved
    0x0077    0x00    Reserved
    0x0078    0x00    Reserved
    0x0079    0x00    Reserved
    0x007A    0x00    Reserved
    0x007B    0x00    Reserved
    0x007C    0x00    Reserved
    0x0080    0x00    Reserved
    0x0081    0x00    Reserved
    0x0082    0x00    Reserved
    0x0083    0x00    Reserved
    0x0084    0x00    Reserved
    0x0090    0x00    Reserved
    0x0091    0x00    Reserved
    0x0092    0x00    Reserved
    0x0093    0x00    Reserved
    0x0094    0x00    Reserved
    0x0098    0x00    Reserved
    0x0099    0x00    Reserved
    0x009A    0x00    Reserved
    0x009B    0x00    Reserved
    0x009C    0x00    Reserved
    0x009D    0x00    Reserved
    0x009E    0x00    Reserved
    0x009F    0x00    Reserved
    0x00A1    0x00    Reserved
    0x00A2    0x00    Reserved
    0x00C0    0x00    Reserved
    0x00C1    0x00    Reserved
    0x00C4    0x00    Reserved
    0x00C5    0x00    Reserved
    0x00C8    0x00    Reserved
    0x00C9    0x00    Reserved
    0x00CA    0x00    Reserved
    0x00CB    0x00    Reserved
    0x00CC    0x00    Reserved
    0x00E0    0x00    Reserved
    0x00E1    0x00    Reserved
    0x00E2    0x00    Reserved
    0x00E3    0x00    Reserved
    0x00E8    0x00    Reserved
    0x00E9    0x00    Reserved
    0x00EA    0x00    Reserved
    0x00F0    0x00    RX_ID0
    0x00F1    0x00    RX_ID1
    0x00F2    0x00    RX_ID2
    0x00F3    0x00    RX_ID3
    0x00F4    0x00    RX_ID4
    0x00F5    0x00    RX_ID5
    0x00F6    0x00    Reserved
    0x00F8    0x00    Reserved
    0x00F9    0x00    Reserved

    I'm using the USB cable delivered with the package of the board. In device manager I see the board as "USB Input Device" and I didn't install any separate driver. Is that correct?

    Thank you!

    Best regards!

  • Additional information: I connected the board with the same USB cable to another PC and the result is the same. ALP is very slow and all registers are 0.

    Furthermore sometimes I got an error message after closing ALP. Here is the MainGUI.log:

    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x03728E68>, <traceback object at 0x03728E40>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x03728E40>, <traceback object at 0x03728D00>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x0372C238>, <traceback object at 0x0372C030>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x0372C300>, <traceback object at 0x0372C6E8>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x068682D8>, <traceback object at 0x0372C238>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x06868620>, <traceback object at 0x0372C0D0>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x068F4BC0>, <traceback object at 0x0370BDA0>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x0654F5A8>, <traceback object at 0x0DB9C7D8>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x06868990>, <traceback object at 0x06868B70>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x06870440>, <traceback object at 0x068702D8>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x06873AF8>, <traceback object at 0x0DAFE710>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x06873738>, <traceback object at 0x0654F5A8>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    (<class exceptions.AttributeError at 0x022A4990>, <exceptions.AttributeError instance at 0x0BEA9800>, <traceback object at 0x06873AD0>)
    SerialNum:  64E06A5128000B00
    Opening USB2ANY... Obtained handle for  64E06A5128000B00  as  12304
    

  • One more additional information:

    I connected another evaluation board DS90UB948-Q1EVM to check the behavior. It is the same! The connection is slow and all registers are 0. Obviously the ALP software is the problem. I already reinstalled the ALP software (Analog LaunchPAD v1.57.0010 and Analog LaunchPAD Profile Update v1.57.0010) and as I mentioned in my comment before the issue still occurs on another computer.

  • I detected that my power supply caused this problem. Now with another one everything works fine.