SLYS028A May 2020 – June 2021 INA239-Q1
PRODUCTION DATA
The primary communication between the INA239-Q1 and the external MCU is through the SPI bus, which provides full-duplex communications in a main-secondary configuration. The external MCU is always the primary or main SPI device, sending command requests on the MOSI pin, and receiving device responses on the MISO pin. The INA239-Q1 is always an SPI secondary device, receiving command requests and sending responses (status, measured values) to the external MCU over the MISO pin.
The SPI communication starts with the CS falling edge, and ends with CS rising edge. The CS high level keeps secondary SPI interface in an idle state, and MISO output is tri-stated.
Since the MISO output is push-pull it is ideal to have the INA239-Q1 supply at the same voltage as the primary device I/O supply. If different supply voltages are used, level translation is recommended.