Other Parts Discussed in Thread: TMS320F2808
Hi,
I've been reading back the temperature from several LMX2820 devices and plotting them over time, but have noticed that sometimes the temp value read back from R76 drops to a value that corresponds to around -375°C (rb_TEMP_SENS = 0x2F). The majority of the time the value read is realistic - between 40°C & 80°C (0x217 to 0x246). Is this a known issue, or is there a step I'm missing or getting wrong when decoding this value?
I'm taking the following steps when reading the LMX28280 temperature
- Power on LMX2820
- Write the initial register values from the register map in descending order (R123 first)
- Write value 0x2138 to register R19
- Read the value from register R76 every 2s
- Convert register value to °C using the formula: T = (0.85 * R76) - 415
Other info that might help
- Using SPI comms at 1Mbps baud with three LMX2820s in parallel - reading on the clock falling edge
- Verified on the scope that the value of R76 does indeed drop to around 0x2F so it doesn't appear to be an SPI read issue
- Seems to happen more often when the LMX2820 is in power-down but that's anecdotal. I've yet to find a condition that reliably causes this odd reading
- I've tested this with approx. 12 LMX2820s and about 99% of the time the temperature reported is within the expected range.
- Presents sometimes as a single erroneous measurement and sometimes it latches at the low measurement for several measurement cycles (up to about 10s from my observation)
Any help would be appreciated!
Cheers,
Phil