@nxp Hello, I have a K3 series controller. When I use the I2C in the K344 controller, it works great. However, when I use the Dual Core K324 controller, the I2C does not work, not even the clock is not generate. However, when I check the GPIO, it works correctly. I'm using the same RTD for both of them controller.
yeah thanks for your reply, I used the same settings and code for both of them controller, including the same clock (FIRC), mode (Standard mode), and baud rate. As a result, you can see that there is a difference between the non-working and working code. The lpi2c_irq.c file interrupt is not enabled in meaning that the specific instance of irq is not enabled, but the working code is enabled.
Note : code and configuration both same.
i just wanted to know is there any differences between single(k344) core and dual core(k324,k322) controller , and one more thing i checked with k322 also its not working but however if a use gpio its working fine.(k324 controller i done bit banking method it works but your RTD not working i use RTD 3 ) .
Hi @Prasanth_C
Could you please provide more details about the changes between the code for the S32K344 device and the S32K324? Can you see if there is any change in SDA and SCL? When you flash the code, does it cause any error?
B.R.
VaneB
@VaneB yeah thanks for your reply, I used the same settings and code for both of them controller, including the same clock (FIRC), mode (Standard mode), and baud rate. As a result, you can see that there is a difference between the non-working and working code. The lpi2c_irq.c file interrupt is not enabled in meaning that the specific instance of irq is not enabled, but the working code is enabled.
Note : code and configuration both same.
i just wanted to know is there any differences between single(k344) core and dual core(k324,k322) controller , and one more thing i checked with k322 also its not working but however if a use gpio its working fine.( in k324 controller i done bit banking method it works but your RTD not working i use RTD 3 ) .
i used instance 1 pins ptd 14 and ptd 13.
regards,
Prasanth C
Hi @Prasanth_C
If it is possible, could you share your I2C project? This is to realize a deep analysis of the configurations. According to this statement: "The lpi2c_irq.c file interrupt is not enabled in meaning that the specific instance of irq is not enabled". It looks to be a problem with the configuration.