I have a problem to implement I2C function on FreeRTOS.
Please help me to get a FreeRTOS I2C example.
- S32K144 EVB / S32DS Ver3.4 or Ver2.2 / FreeRTOS / I2C Master
Thanks.
Hello @cheoljin,
I'm afraid we don't have such an example.
There is one FreeRTOS example and I2C examples for you reference in the S32DS IDE.
Also, it has been discussed a few times here on the community though.
https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028
Please note that the LPI2C SDK driver must be initialized and used inside a FreeRTOS task after the scheduler is started.
Regards,
Daniel