We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I wanted to use the 16MB SDRAM on the keil mcb 1800 board.
I didn´t find any examples on how to do it?
Do I have to make any physical connections to use it?
It would be great if someone can provide the steps for it.
Thanks
Look for examples under the packs downloaded for the chip/board in uV5
This has initialization code for the SDRAM
C:\Keil474\ARM\Boards\Keil\MCB1800\Demo\system_LPC18xx.c
Perhaps there is a manual describing options/settings, be where I'd look...
I read the file but didn´t understand the usge of sdram and EMC. Please can you share any sample program for sdram only??
Perhaps NXP has resources, examples or forum you can use? Good technical support from competent engineers tends to be expensive.
The particular memories tend to be board specific, so the MCU needs to be configured with all the details before it can utilize them.
You really need to understand this stuff for yourself. It is going to be a function of enabling clocks, enabling pins, setting up the external memory controller for the geometry of device the board has, and configuring the memory chip itself. Most embedded engineers would be expected to perform these tasks, or engage a contractor to provide working code. I don't have code I can furnish you with, you'll have to seek out examples with Google, or on GitHub, etc.
There should be schematics for the Keil MCB1800 board
http://www.keil.com/mcb1800/
http://www.keil.com/mcb1800/MCB1800v1-3-schematics.pdf
and there are no doubt technical manuals for the NXP MCU to provide additional context.
Shreyas007 said:didn´t understand the usge of sdram and EMC
So which part(s) didn't you understand?
As Westonsupermare Pier, the NXP documentation & forums are the place to go for help and support with how the chip works - that's nothing to do with Keil.
Have you checked on the NXP site for application notes, examples, etc ?
You would also have to study the documentation for the SDRAM chip.
Andy Neil said:Have you checked on the NXP site for application notes
Westonsupermare Pier said:you'll have to seek out examples with Google
eg, just putting "LPC1857 sdram" into google, the very first hit is: