Hello everyone,
I would like to perform temperature measurements from 8 GPIO pins of MC33775A using SPI-TPL communication between S32K344 and MC33775A. I have found the registers that need to be modified for this in the datasheet, but I'm unsure about how to establish the communication itself. To begin with, in order to communicate between S32K344 and MC33775A, I understand that I need to use MC33665 for SPI communication. How can I set up this communication? For instance, I want to mask the address 0x1408 with 0x3FFF and enable specific bits in the SECM_AIN_CFG register. Is there an example available for this? Alternatively, could you explain how to do this?
Thank you.
With Best regards...
We have the code example based on S32K,
Flexible Battery Management System (BMS) Reference Design | NXP Semiconductors