S32K144 I2C Issue with FreeRTOS for external memory 24XX256

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 I2C Issue with FreeRTOS for external memory 24XX256

1,691件の閲覧回数
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,137件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

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

Best regards,

Ladislav

0 件の賞賛
返信