Hi,
I'm using the OMAP3EVM and try to use the power management to control the backlight.
The program has to run directly on the hardware - not within linux.
I have implemented the I2C Master Transmitter Mode (polling method) as explained in figure 18-29 of the OMAP35x Application Processor Technical Reference Manual. The control of the LED is implemented as described in the Basic Programming Model of the TPS65950 Technical Reference Manual.
...nothing happens.
I have found another flow chart (fig. 18-46), which wants me to wait for I2C1.I2C_STAT[2] ARDY to be set when writing has been finished... this detail was not mentioned in figure 18-29... however, if I try to wait for this bit after writing the data byte via I2C, I'll wait forever. The bit is never set.
Do you have an idea, where my problem could be?
Best regards,
Sabine