The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: "mook johnson"
Subject: Re: UART to I2C convesion
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
Date: Sat, 07 Dec 2002 14:10:00 GMT
NNTP-Posting-Date: Sat, 07 Dec 2002 08:10:00 CST
Organization: Road Runner - Texas
The host is an old as dirt 80C31 design using part of an FPGA to mux the
UART to 3 ports. These three ports are connected to sensors that respond to
ASCII "gemmie data" commands sent from the host. A new device will replace
one on the sensors but it has a I2C interface.
Neither the host nor the new sensor interface can be changed (qualified
COTS). An interface board is acceptable.
Looks like a PIC with a uart and an I2C is the simplest route. This could
also serve as a band-aid to convert the current flavor of the ASCII "gimmie
data" command to the command needed for the new sensor. This saves messing
with the current firmware and loads of documentation.
"petrus bitbyter" wrote in message
> "mook johnson" schreef in bericht
> > I need to talk to a chip with an I2C interface. The host only has a
> > ttl level uart available.
> > What would be the simplest way to convert the signals in both
> > cpld?
> > PIC?
> The easiest way I know is a PIC16F7x. They all have a UART and an I2C
> interface on board. I2C slave is fully supported in hardware, a master
> more programming but there is at least one app. note with the required
> source code.
> Philips (and others) have a lot of 80C51 derivatives. A lot of that lot
> I2C support. (Not a big surprise as Philips developed I2C.) They have the
> I2C specificatoin available as well as app. notes with source code.
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup