8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes :: Forums :: Discuss and Learn :: General help Guidance and Discussion
 
<< Previous thread | Next thread >>
Advice neeed for the online TUTORIAL on ST Microcontroller!
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
nicholastyc
Tue May 20 2008, 12:22AM
 User Offline
Registered Member #7707
Joined: Wed May 07 2008, 07:13PM

Posts: 38
Thanked 1 time in 1 posts
hi,
Anyone know about ST microcontroller from ST microelectronics, i need to make a program for this kind of microcontroller. Is there any link to the tutorial on the programming for this microcontroller ST72F521?

Any advice are welcome@_@ ! thank you...

Reason to use this microcontroller due to the request from my sponsor.
...sigh...

Back to top


Ajay
Tue May 20 2008, 12:49AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
ST7 Controller family... hmm..
quiet new.. well what help you want.. what kind of tutorial you are looking for?

you can download application notes and reading material from ST Micro's website
http://www.st.com/stonline/products/literature/ds/7601.htm

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


nicholastyc
Thu May 22 2008, 08:31PM
 User Offline
Registered Member #7707
Joined: Wed May 07 2008, 07:13PM

Posts: 38
Thanked 1 time in 1 posts
hi Ajay i am looking for some examples code or the code explanations for the ST microcontroller, do you know is there any website that i can refer to? i already read on the datasheet, its not very helpful to the newbie that wan to make program on the micro ! =(
Back to top


sashijoseph
Fri May 23 2008, 12:52AM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 496
Thanked 112 times in 105 posts
The software user manual provided by ST has code examples for all peripherals.Seems quite self-explanatory.
For eg. the ADC library func. code (pg 33) .......

This program converts the analog value on channel 5 of the ST72F62 device to a digital value.
/* Program start */
#include “st7lib_config.h” /* Select st72F62 device */
void main (void);
void main(void)
{
unsigned int Conv_Data1; /* Variable to get the converted digital value */
unsigned char channel = 5;
ADC_Init ((unsigned char )ADC_SPEED | (unsigned char )ADC_ONESHOT); /* FADC= FCPU/4 */
ADC_Select_Channel (channel); /* Channel 5 selected */
ADC_Enable (); /* Start conversion */
while (ADC_Test_Conversn_Complete () == FALSE);
Conv_Data1 = ADC_Conversn_Read (); /* Read the converted value */
ADC_Disable () ;
Nop; /* Macro defined in st7lib_config.h */
}
/* Program end */

Plz go through the this manual ... http://www.st.com/stonline/products/literature/um/11774.pdf

Go through the parts you're interested in and if you find any difficulties,post here...

Let there be music........
Back to top



This post has been thanked 1 time
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems