DatasheetsPDF.com

AN1096

Microchip

Using the C30 Compiler to Interface SPI Serial EEPROMs

AN1096 Using the C30 Compiler to Interface SPI Serial EEPROMs with dsPIC33F and PIC24F Author: Martin Kvasnicka Microchi...


Microchip

AN1096

File Download Download AN1096 Datasheet


Description
AN1096 Using the C30 Compiler to Interface SPI Serial EEPROMs with dsPIC33F and PIC24F Author: Martin Kvasnicka Microchip Technology Inc. This application note provides assistance and source code to ease the design process of interfacing a Microchip dsPIC33F Digital Signal Controller to a Microchip SPI serial EEPROM, without the use of a hardware serial port. Figure 1 describes the hardware schematic for the interface between Microchip’s 25XXX series devices and the dsPIC33F DSC or PIC24F PIC® microcontroller. The schematic shows the connections necessary between the DSC or PIC MCU and the serial EEPROM as tested, and the software was written assuming these connections. The WP and HOLD pins are tied to VCC through resistors, because the write-protect and hold features are not used in the examples provided. INTRODUCTION The 25XXX series serial EEPROMs from Microchip Technology are SPI compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. Many times when designing an application which utilizes a serial EEPROM device, it may be beneficial to use a microcontroller which does not feature a dedicated protocol-specific serial port. This can be due to several possible reasons, including size restrictions or costs. In these instances, it is required of the designer to write software routines capable of generating the proper signals for communicating with the EEPROM device. FIGURE 1: CIRCUIT FOR dsPIC33F256GP710, PIC24FJ128GA010 AND 25XXX SERIES DEVICES 100 Pi...




Similar Datasheet




@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site. (Privacy Policy & Contact)