Dear NXP Support Team,
We're encountering an issue for the S32K312 MCU and would appreciate your assistance.
Our environment:
- Compiler: S32DS3.5
- MCU: S32K312
- SDK: RTD4.0.0
The problem: When implementing an I2C example program, we consistently observe that both the transmitted Address and Data are read as 0x00, contrary to our settings (Address: 0x32, Data: 0x00 to 0x07). We're unsure whether the I2C function is properly transferring the Address and Data we've configured into the appropriate registers, leading to incorrect output.
Could you please provide:
- An I2C example program compatible with the S32K312 MCU in our environment(RTD4.0).
- Documentation or datasheet detailing the register locations relevant to I2C functionality for the S32K312 MCU.
We have enclosed our main.c file, elf file, pin configuration, driver settings, and the results from the logic analyzer.
Your prompt assistance in resolving this matter would be greatly appreciated. Thank you for your attention to this request. Please let us know if further information is needed.
Best regards,
Joe H