I'm having an issue with a design that uses the MAX31855 thermocouple sensor. The IC is setup as per the attached, and the SPI lines are connected directly to PA4, PA5, PA6 on a STM32WL55JC MCU. During normal operation the IC is working fine and we are able to take readings that are correct.
We are having issues with the MAX IC when the STM32 is:
- Held in Reset
- Powered but not Programmed
- In Deep Sleep
In all of these cases, the SPI lines on the STM32 are held in the reset state, which is High-Z. We are seeing the SPI lines sit at 0.5V and the current consumption of the board increase by 30mA. We have narrowed it down to this IC by process of elimination. I suspect there is some interaction with the protection diodes inside the MAX IC and the the SPI lines?
We also have a load switch on the VDD line for the MAX IC, and when the STM32 is Hi-Z and we disable the load switch (so VDD is floating) we see 1.65V appear on VDD (back powered through the STM32?) and the current consumption increase by >50mA.
Any ideas what is going on here? We've tried shorting CS to VDD to disable the SPI bus on the MAX IC whilst the STM32 is Hi-Z but this has made no difference.