S32K144 I2C Issue with FreeRTOS for external memory 24XX256

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K144 I2C Issue with FreeRTOS for external memory 24XX256

1,694 次查看
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 项奖励
回复
1 回复

1,140 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

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

Best regards,

Ladislav

0 项奖励
回复