I was going to take a [Example_S32K144_I2C_Master_MPL3115A2_S32DSR1_v3] file and test the I2C communication with this project. Both the SDA and SCL should be high (5 V) in IDLE state, but pins PORTA2, PORTA3, were measured with the oscilloscope, both of which produced low (0 V) output. The slave was not connected. What's wrong with the project or the board?
You need to use pullup resistors on the bus either external or at least the internal ones.
This is the description of the example:
The internal pullups can be enabled in the PCR registers of the ports.
PCR[PE, PS] = 1.
BR, Daniel