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 ?