I'm running RedBoot on an MPC5200B PowerPC board and using some I2C
peripherals (largely sensors). I'm getting failures to read them
properly when doing so in succession, ie calling:
cyg_i2c_rx(...);
cyg_i2c_rx(...);
The second call fails (I get a 0 value). However, adding a delay makes
it work fine:
cyg_i2c_rx(...);
cyg_thread_delay(1);
cyg_i2c_rx(...);
Is this an eCos/RedBoot thing, or a problem with our I2C
implementation? With the number of sensors present and the rate at
which they're being read, this is presenting a problem (otherwise
having the delays would work fine).
Thanks.
-Dan
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
[Linux Embedded]
[U-Boot V2]
[Linux Kernel]
[Linux MIPS]
[Linux ARM]
[Linux for the Blind]
[Linux Resources]
[Photo]
[Yosemite]
[ISDN Cause Codes]
[ECOS Home]
[Site Home]