S32K144 I2C Issue with FreeRTOS for external memory 24XX256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 I2C Issue with FreeRTOS for external memory 24XX256

1,693 Views
VinGanZ
Contributor III

Hello,

I have reached a strange problem which has not been solved for a while now. 


1. I have bare metal code for I2C communicating with eeprom that works flawlessly
2. The same code after adding Freertos works for the first transmit and then stops working. I am able to send address by i2c write 2 bytes to the eeprom and read back 15 values from the eeprom. after this the eeprom does not respond.
3. The driver is initialized after task scheduler has started as per Freertos requirements.
4. upon testing and debugging, i observed the following below
     1. interrupt for transmit is not happening (first transmit it worked)
     2. OSIF waits for ever in the loop. (as no interrupts happen)
5. I tried to use DMA with I2C following instructions from this forum but DMA is even more erratic.

i have tried changing many SDK and tried in all 3 versions of the S32DS and it has same results

Kindly help with the situation.

0 Kudos
Reply
1 Reply

1,139 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I m sorry such example does not exist for this peripheral.

Best regards,

Ladislav

0 Kudos
Reply