Other Parts Discussed in Thread: TPS65381A-Q1
Hello,
in section 5.4.9.2 of the TPS65381 data sheet there is the following outlined:
"A diagnostic check at the SDO digital-output pin is also possible in DMUX mode. For this diagnostic
check, the following sequence is required:
1. The MUX_CFG[1:0] configuration must be set to 01b for DIGITAL MUX mode.
2. The SPI NCS must be kept HIGH.
3. The state of the SDO pin is controlled by the SPI_SDO bit (bit D6 in the DIAG_CFG_CTRL register).
During this SDO check at the SDO pin, the DIAG_OUT pin is kept low if no signal from the Digital MUX
Selection table is selected."
To perform an interconnect test i did the following:
- Set DIAG_CFG_CTRL to 0x01 (Digital Mux mode)
- Save SPI5 configuration
- Configure SPI5 as GIO
- Configure SPI5 as input - only CS[0] as output
- Set CS[0] HIGH
- Read SPI5SOMI[0] - should be LOW (due to DIAG_CFG_CTRL Bit6 "SPI_SDO" = 0 --> see 1.) --> but it is HIGH
- Restore SPI5
- Set SPI_SDO bit (DIAG_CFG_CTRL Bit6)
- Configure SPI5 as GIO
- Configure SPI5 as input - only CS[0] as output
- Read SPI5SOMI[0] - should be HIGH (due to DIAG_CFG_CTRL Bit6 "SPI_SDO" = 1 --> see 8.) --> it is HIGH
- Restore SPI5
- Disable MUX config
Am I wrong to expect a LOW on SPI5SOMI in step 6?
Best regards,
Helge