Hello,
We are using the TPS65381 power chip with an RM48L952ZWT on a board designed in house. We have the Q+A watchdog working consistently and hold ENDRV high, so SPI works and the device seemed to be powered properly. I am attempting to use the DIAG_OUT to monitor the various analog MUX signals and I get a value of zero regardless of which signal I select. The DIAG_OUT pin is wired to the ADC of the RM48, and we have confirmed that the ADC works properly with other signals. Putting a probe on the DIAG_OUT pin shows a 0 voltage at all times.
I had tested the Diag-ADC functionality on the RM48-HDK early on (using the TPS65381-EVM)) and it worked fine, so I am pretty confident that my code is right. Here is a representative snippet of the code. I am using ADC2 Group 1 with DIAG_OUT connected to ADC2 channel 0.
adcData_t ADC_Data[6] = {0};
spiInit();
ecmpInit();
adcInit();
ecmpDiagMuxOutputMode(ECMP_DIAG_MUX_MODE_ANSLOG); // set output mode to analog
ecmpDiagMuxEnable();
ecmpDiagMuxSelectSignal(ECMP_DIAG_MUX_ANSLOG_VDD5); // VDD5 regulator output
xTaskDelay(100/configTICK_RATE_MS); // 100 ms delay
adcStartConversion(adcREG2, adcGROUP1);
while((adcIsConversionComplete(adcREG2, adcGROUP1))==0);
adcGetData(adcREG2, adcGROUP1, ADC_Data);
The 5 ADC channels connected to other signals yield valid digital results but channel 0, the DIAG_OUT pin, always shows digital value somewhere between 0 and maybe 7, yielding an analog value < 0.01. I have also tried using Digital MUX mode, reading several of the Digital MUX signals and I also see a zero value there.
Additionally, we lifted the DIAG_OUT pin off of the board and confirmed that it was showing 0v while muxing through the different analog signals.
Can you think of any reasons the DIAG_OUT signal would behave this way?
Thanks,
Bobby Goldberg

