Re: I2C and receiving data from slave devices
- From: "Anthony Pellerin" <apellerin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 08:44:07 +0200
From what I know, only the master can initiate a transaction. I think thereis a way for changing the master but I don't remember exactly how it works.
HTH
--
--
--
----------------------------------------------------------------
Anthony Pellerin (eMVP)
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Gromit" <os_parhar@xxxxxxxxxxx> a écrit dans le message de news:
1161844281.813078.311130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
We are developing a I2C bus driver on an xscale board running CE 5.0.
Master mode was easy to handle. The question is about Slave mode.
Suppose there are 2 devices on the bus which can initiate slave
transaction. How does the driver know which slave device caused the
interrupt? Is there anyway to know the slave address of the
interrupting device.
Or is it that the xscale has to poll the slave devices (master receive)
asking them if they have anything to send?
Which one is the better way? or if there is third one.
Thanks,
Gromit
.
- References:
- I2C and receiving data from slave devices
- From: Gromit
- I2C and receiving data from slave devices
- Prev by Date: Re: How to auto mount a PART_DOS32 patition in WinCE4.2 with 2k byte/page nandflash?
- Next by Date: Re: *.dat files in build process
- Previous by thread: I2C and receiving data from slave devices
- Next by thread: Re: I2C and receiving data from slave devices
- Index(es):
Relevant Pages
|