> -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Keith Howell > Sent: Monday, March 30, 1998 3:31 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: I2C Emulation and control > > > Norman Gillaspie wrote: > > > > I need to have a pic emulate and communicate with an I2C bus. > > The PIC would then talk to two RF Synthesizer chips and an 8 > bit DAC. > I'm not too clear about your app. > > I interpret that you want your PIC to run an application, > and to control the other devices via I2Cbus and a three-wire bus > (presumably SPI). I need to talk to the PIC with an I2C bus and set the frequencies on the synthesizers. The synthesizers have a three wire bus. I do not have choice on the synthesizers. I am using synthesizer now that uses an I2C bus. I wish to go to an improved part that does not have I2C. I also wish to store the frequncy setting in eeprom. I already have all of the RF and PLL design done. I was wondering if anyone has has experience emulating an I2C bus with the 16f84 for instance? Norman > > This does not sound too difficult. > You can use the I2Cbus to control serial EEPROMs like the 24C02, > DACs, ADCs, parallel I/O, etc. > > If you make it all-I2C you can avoid writing SPI code, and vice versa. > > What kind of RF synth chips have you got, and what for? > > Philips make digitally-programmable PLLs, which they use in their > TV tuner modules. These go through VHF/UHF/Cable/Satellite bands. > Circuit design at these frequencies is a bit of a black art, since > it is heavily dependent on physical layout. > > I just got hold of their FQ916 VHF/UHF tuner module, > and fairly easily got it to scan these bands. > > Tell us more about your app, and we may be able to be more helpful. > > KH >