Please help me in writing a program for Pulse Generation using PWM techniques for fixed firing angle by using LPC2148 Microcontroller *Not in C programming
What "help", exactly, do you need?
Have you studied the chip documentation?
Have you looked at the examples, appnotes, etc, provided by the manufacturer and others on the web?
"Not in C programming"
Eh??
i want program for the project purpose....iam new to the usage of LPC2148 microcontroller so i need help...
Do you have experience with any other microcontroller(s)?
Do you have experience with programming in general?
When you are new to any device, the first thing to do is to study the documentation - that includes the datasheet, user manual(s), application notes, examples, etc provided by the manufacturer.
www.nxp.com/.../LPC2148FBD64.html
http://www.lpcware.com/
Many manufacturers now also have tutorials on YouTube.
Many 3rd parties also have examples, tutorials, etc: www.lmgtfy.com
eg, www.hitex.com/index.php
OK,thanks for Your reply..i know the basics of 8051 micro controller....if u can provide me the program I asked I will be thankful to you
Where would be the point in that? You would learn nothing!
If you haven't done the basic study, you wouldn't understand it even if I did give it to!
As already noted, there are plenty of free examples out there already.
I am on the of track of learning.......i wil make myself to understand the program after getting grip pn the subject... ok! if u can send it, it wil be helpful to me....
And the question we all wonder about - when is your project due to be handed in? When did the project start, and how much time have you spent on your own?
It rather much seems that you are trying to avoid learning so that you can just hand-in someone else's work.
The way to actually learn would be by studying the documents already listed.
Here's a basic introduction to Keil's ARM MDK: http://www.keil.com/support/man/docs/gsac/
Then work trough some simple examples yourself:
1. Write some code to blink an LED connected to a pin. http://www.keil.com/support/man/docs/gsac/GSAC_createApps.htm http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
2. Learn how to use the debugger to step through your simple LED code, look at your variables, etc www.keil.com/.../gsac_debugapplication.htm
3. Learn to use the UART to transmit a fixed "Hello, World" string. Again, practice using the debugger with it.
4. Adapt your code to be able to send a variable string. This will be invaluable for future work - particularly, to send messages to a terminal so that you can see what your code is doing. Keep practising with that debugger...
5. Adapt your code to be able to receive on the UART. This is a good basis for learning how to react to events coming from the hardware.
6. Now study the documentation for your chips Timers. Use a Timer to blink the LED at a fixed rate
7. Now study the documentation for your chips PWM features. Use that to blink the LED with variable duty cycle
You're done!
I guess you could skip straight from 2 to 6 to meet your immediate deadline, but being able to use the UART is really such a basic skill that you should not skimp on it...
thank you.....i will follow your words...and soon i will get it...