25LC Kbit SPI Bus Serial EEPROM The Microchip Technology Inc. 25AA/25LC *? Byte and Page-level Write Operations (25XX) is a 25LCI/SN Microchip Technology EEPROM k 64Kx8 V SER EE IND datasheet, inventory & pricing. 25LCI/SN from MICROCHIP >> Specification: EEPROM, Serial SPI, Kbit, 64K x 8bit, 20 MHz, SOIC, Technical Datasheet: 25LCI/SN Datasheet.

Author: Kazrabar Shakazilkree
Country: Vietnam
Language: English (Spanish)
Genre: Finance
Published (Last): 21 May 2008
Pages: 431
PDF File Size: 7.61 Mb
ePub File Size: 17.70 Mb
ISBN: 163-7-18215-944-1
Downloads: 46144
Price: Free* [*Free Regsitration Required]
Uploader: Goltik

Introduction to Microcontrollers Mike Silva. Arduino Robotics Lonnie Honeycutt. Chronological Newest First Hey guys, I’m in a bit of a bind. The problem is that I’m not sure if my connections are right or if my software is configured correctly. Here is a simple layout of the connections: I configure SSP1 as follows: Before entering the main while loop I put in a value 0xF9 at address 0: Then I try to read the value from address 0: I’m not sure what else is required.

If anyone can help me out it would be much appreciated. Hello Nick, here are some points, i have seeing in your listing: Can you show what configuration parameter you are using? Check if you have not a mixture. Some general point to narrow your error: Is this correctly read? Fatasheet helpful with SPI!

Thank you 52lc512 the reply Martin. Underneath that they have configured P2. And, according to this site scroll down to “Timing”: I have also checked clock with an oscilloscope not logic analyzer on hand unfortunately.

I see what appears to be pulse more like sloped triangles.

  AR 614-30 PDF

My scope is rated at 20MHz, but the highest time division setting datasheett ns which is 5MHz. Also, it is an analog scope, so it is hard to tell the frequency by counting the ticks when the time division can go high enough. I keep looking into it, but if you notice anything else or have any other suggestions please let me know. It looks like they already have done the heavy lifting for me in regard to setting up the clock and power. Hello Nick, you can lower clk from 10 MHz to e.

It is perhaps than easier so see with your scope, and you see if speed makes datxsheet problem. You can also send only 1 byte instead of multiple byte, if this makes it easier for you to bring system up.

You have checked that you see a clock. Have you checked if data is sent?

lpc | LPC SPI assistance with 25LC EEPROM

Can you see the bytes you have sent? Have you checked the order of the bits?

Have you checked the data which is received? I managed to figure it out. Here is what the read statement look like within the main while loop now: I have to find out how to use timers as delays, for milliseconds using system tick isn’t going to cut it. From the datasheet, the delay has to be about ns. I think I can use the match register to do this I just have to configure the PCLK to be system clock divided by 2 instead of 4. Thank you for your responses and assistance.

25LC Datasheet(PDF) – Microchip Technology

Hi Nick, It seems to me that the ns from the datasheet is the minimum time delay needed for it to work. Anything above that will make it work just fine. Your code seems wrong though, where one reads: While the delays may allow your code to work, I don’t think that’s the proper solution.


You didn’t post your SSP send and receive functions, but that’s probably where your problem is. There are status bits that can be used to pace the rate at which you feed new data to the SSP. You can issue the select immediately before and the de-select immediately after calling one of these functions with no delays. Thank you so much guys!

LPC1764 SPI assistance with 25LC512 EEPROM

You are exactly right the delays actually only worked for sending and receiving 1 byte, when I recently tried multiple bytes and it doesn’t work. The reason may just be the status bit that ksdoubleshooter kindly pointed out. I’ll give it ago and post back if it works, maybe I don’t need any delays at all, but I’ll try it with both.

Additionally, I did create a ns and microsecond delay functions I can also test as well, but I’ll try the ms delay with the system tick first. Previous 1 2 Next. Sign in Sign datasheeet Remember me Forgot username or password? Create free account Forgot password?