Dear all,
i am now working on a school project that use 8051 micro-controller from Silicon Lab. As this is the first time i working on a micro controller, can someone enlighten me where can i get informations on the programming syntax as i have difficulties understanding the simple code. Please help! Thanks.
Regards
So sorry. I wish to program in C. Missed out in the earlier thread. Thanks.
Then any standard C book should be a good start.
When you know C, you can then read the compiler manual. It will tell what extensions there is for the C51 architecture, and will show how to declare variables of different types and in different regions.
Then you should be ok reading all the example code that is available.
Obviously, when you get to the compiler manual and the adaptations for the C51 architecture, you have to compliment your reading with the relevant documentation about the C51 processors in general, and the specific data sheet/user manual for your specific chip. Search for the "bible" on this forum and you should find a huge number of links to the relevant documentation about the C51 core.
One of the bible for 8 bit controller is "mohammed ali mazidi". I dont think you need any other book than this. its for begineers without any much information about controllers. He covers both assembly and C. PLease try it.
Sorry forgot to add. You can also download keil IDE for microcontrollers and use for writing the program. Its free downloadable at http://www.keil.com