Truncated match.
PICList
Thread
'I2C Master possible for PICs?'
1997\03\02@215714
by
David Moisan
1997\03\03@000842
by
tjaart
David Moisan wrote:
>
> Who here is using a PIC as a I2C master (controller)?
> I'm investigating the PIC as a controller, particularly the 16C73, for I2C
> video chips (such as the closed-caption decoders from Philips and Zilog).
>
> I've got the I2C docs from Philips and Microchip's I2C app notes. But I'd
> like to hear from people using the PIC as the master device.
If you have the IIC memory read routine APP note, you are all set. It is
the
same thing.
--
Friendly Regards
Tjaart van der Walt
tjaart
KILLspamwasp.co.za
_____________________________________________________________
| Another sun-deprived R&D Engineer slaving away in a dungeon |
| WASP International http://wasp.co.za |
| GSM and GPS value-added applications |
| Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8686 |
|_____________________________________________________________|
1997\03\03@072503
by
Andy Kunz
part 0 615 bytes
You have to bit-bop them from software. For some reason Microchip only
implemented the I2C slave side in hardware.
Any I2C memory I/O program will work. Attached is a version from Parallax's
FTP site.
Andy
Attachment converted: wonderlandfive:i2c.src (TEXT/CSOm) (0000C5F1)
==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
Hardware & Software for Industry & R/C Hobbies
"Go fast, turn right, and keep the wet side down!"
==================================================================
1997\03\03@091227
by
Byron A Jeff
>
> --=====================_857409978==_
> Content-Type: text/plain; charset="us-ascii"
>
> At 09:46 PM 3/2/97 -0500, you wrote:
> >Who here is using a PIC as a I2C master (controller)?
> >I'm investigating the PIC as a controller, particularly the 16C73, for I2C
> >video chips (such as the closed-caption decoders from Philips and Zilog).
> >
> >I've got the I2C docs from Philips and Microchip's I2C app notes. But I'd
> >like to hear from people using the PIC as the master device.
>
> You have to bit-bop them from software. For some reason Microchip only
> implemented the I2C slave side in hardware.
Reason is that you must pay Philips a royalty on masters implemented in
hardware. Can anyone confirm that. I read it somewhere on the net.
BAJ
1997\03\03@113633
by
Brian Boles
|
Actually, it was a silicon cost tradeoff that the I2C is slave only.
Royalties are due whenever I2C is implemented in silicon.
Some of the newer devices, such as 17C756, have master mode I2C. The
master mode requires substantilly more logic as well as a baud rate
generator to be added to the device, so expect to pay a little more.
Rgds, Brian.
______________________________ Forward Header __________________________________
Subject: Re: I2C Master possible for PICs?
Author: Byron A Jeff <.....byronKILLspam
.....CC.GATECH.EDU> at Internet_Exchange
Date: 3/3/97 9:10 AM
{Quote hidden}>
> --=====================_857409978==_
> Content-Type: text/plain; charset="us-ascii"
>
> At 09:46 PM 3/2/97 -0500, you wrote:
> >Who here is using a PIC as a I2C master (controller)?
> >I'm investigating the PIC as a controller, particularly the 16C73, for I2C
> >video chips (such as the closed-caption decoders from Philips and Zilog).
> >
> >I've got the I2C docs from Philips and Microchip's I2C app notes. But I'd
> >like to hear from people using the PIC as the master device.
>
> You have to bit-bop them from software. For some reason Microchip only
> implemented the I2C slave side in hardware.
Reason is that you must pay Philips a royalty on masters implemented in
hardware. Can anyone confirm that. I read it somewhere on the net.
BAJ
1997\03\03@223037
by
John Payson
> Actually, it was a silicon cost tradeoff that the I2C is slave only.
> Royalties are due whenever I2C is implemented in silicon.
>
> Some of the newer devices, such as 17C756, have master mode I2C. The
> master mode requires substantilly more logic as well as a baud rate
> generator to be added to the device, so expect to pay a little more.
Although I have not done it myself, it would seem that the 16C74 can, already,
do most of the work for master-mode I2C if you don't mind sacrificing an I/O
pin. Simply send the start condition manually, then use the SPI hardware to
clock out 8 bits, then do the acknowlegement by hand, then clock in or out 8
more bits, etc.
1997\03\04@095524
by
Andy Kunz
>Although I have not done it myself, it would seem that the 16C74 can, already,
>do most of the work for master-mode I2C if you don't mind sacrificing an I/O
>pin. Simply send the start condition manually, then use the SPI hardware to
>clock out 8 bits, then do the acknowlegement by hand, then clock in or out 8
>more bits, etc.
This might actually work. I would try setting the SDO line to input during
a read operation, so as to allow the SDI line to get the data from the slave
chip. If I recall, the TRIS registers must be set properly during SPI I/O.
Andy
==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
Hardware & Software for Industry & R/C Hobbies
"Go fast, turn right, and keep the wet side down!"
==================================================================
1997\03\04@153743
by
mike
In message <EraseME0000AB7F.1332spam_OUT
TakeThisOuTccmail.microchip.com> PICLIST
spam_OUTMITVMA.MIT.EDU writes:
> Actually, it was a silicon cost tradeoff that the I2C is slave only.
> Royalties are due whenever I2C is implemented in silicon.
>
> Some of the newer devices, such as 17C756, have master mode I2C. The
> master mode requires substantilly more logic as well as a baud rate
> generator to be added to the device, so expect to pay a little more.
>
Brian,
I heard that there will be an 8 pin 12Cxxx part with I2C slave
on board.
Is this an ugly rumour?
Regards,
Mike Watson
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- Today
- New search...