This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem of AM3358 I2C in polling mode

Other Parts Discussed in Thread: AM3358

Hi,

I had a previous post on AM3358 I2C problem in Interrupt mode.

While waiting for a solution, I tried using polling mode to make sure it's fully under my control, hopefully.

NO, IT DOESN'T

I'm using

1) Beaglebone Whit

2) CCS-5.4

3) AM335x Starterware-2.0.1.1

Upon issuing START condition, there must be only ONE byte to carry Device Addr, but it's NOT consistent

1) I2C_Write : 1 byte for START

2) I2C_Read : 3 bytes !!!

I checked with Ref Manual p.4484 "How to Program I2C" and found my settings look OK. I disable all IRQs,

Any idea ?