Alex Torres wrote: > > >Hello all, > > > >1.I have 2 pieces of 1Mbyte serial flash memory with built in SRAM and > >SPI Interface > > What chip ? > > >and I would like to connect it to the PIC16F84. Since the PIC16F84 has > >no built in SPI Interface, I was wondering if it possible to write a > >software driver for it, similar to the available IIC routine. > > See 16x84+ 93Cxx applications, I hope its ease to adapt them to your chip. > > >Has anybody done something like this? > >I would be happy for any suggestions or code examples on this issue. > > > >2.Can somebody recommend a good 16bit ad converter with SPI Interface > >and 3V operating voltage? > >The sampling rate doesn4t matter since it is a low frequency > >application. > > You really need 16bit ? I use AD7896, it is only 12bit but very goooooood ! > Look at AD7715, I have very short description, but it says that this chip is > +3/+5v, 80uA, 16-pin (I hope 16bit ADC in 16pin package is not parallel :-). > Its faxcode=1813 and you may download the full pdf-file from www.analog.com > > > > >Best Regards, > >Thomas Hi Alex, 1. It«s a serial flash eeprom with SPI from nexcom ( http://www.nexcomtech.com ) The memory size available ranges from 1Mbit to 16Mbit. 2. I have never written any code for the SPI interface. Could you send me a example code for your mentioned AD7896 ? I will try to get the data sheet for the AD7715 and I hope I can reuse the code from the AD7896 with little modification. 3. I might use the PIC14000 with a built in 16bit ADC. I am sure that the subroutine for the SPI can be used also on this PIC. Do you know this PIC14000 ? Can you recommend it ? Best Regards, Thomas