Hello All,
I am new to ARM. I am currently using LPC2378 (ARM7TDMI-S) processor on MCB2300 Keil Eval Board. I want to display A/D value on LCD. Kindly guide how to proceed step by step using C language. I don't have any exposure in Assembly language. However I am considerably good at C.
Regards
Hi,
Thanks for the earliest response. The problem that I am facing is regarding the code development part. Suppose, I need to glow all the 8 LEDs on the board. Being a beginner, how must I proceed. What are the things that I need to keep in mind.
Again let me also tell you one thing that I successfully ran a code, where I could glow them in various pattern, but that was possible only with the help of my colleague.
Now that I know how to work on LEDs, but when I moved to display A/D values on LCD I am again not able to jot down what are the aspects I need to keep in mind.
Kindly guide in layman terms.
regards
This is not a layman's job!
It is beyond the scope of a forum to give you a complete course in embedded software development!
There are some books here: http://www.keil.com but what you really need is a proper taught class.
Maybe your colleague can recommend some local training providers...?
If you are considerable good with C, and able to read the documentation for the processor (the document named User Manual and not the document named Datasheet for this family of NXP processors) then you should be well able to both understand the sample code available and also able to write own code that does write to the peripherial registers, registers interrupt handlers, processes device interrupts etc.
There are lots of code available for how to use an UART. That code would be enough to get serial data from accelerator modules - then you just need to use your C skills to extract the data.
There are code available for accessing the ADC. All you need is to adapt channels and sampling rate. That should be enough for you to pick up data from analog acceleration sensors.
There are code available for emitting information to the LCD module. That code doesn't car what information you send. So your C skills should make it easy for you to change what is displayed - so instead of presenting an ADC value from the potentiometer on the reference board, you could present an ADC value from an accelerometer or a reading picked up from the serial port from an intelligent accelerometer module.
So once more: What work have you done yourself, and exactly where are you stuck? You just have to realize that this is work you have to do yourself. No other person will try to combine all code for the different peripherials into a working program.
You really have to work, and get back with specific problems where you have got stuck.