/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / How to the ADC under the CircleOS

Username:     
Password:     
             

Forum

# 1   2008-01-07 20:39:10 How to the ADC under the CircleOS

jingxizhang
Member
Registered: 2007-12-13
Posts: 35

How to the ADC under the CircleOS

I would like to use ADC to sample an external sensor source in about 500 samples /sec using the CircleOS. I looked at the CircleOS source code, the ADC1 is being used for sampling the battery level and the temperature sensor in the scan mode. How can I add my application which would also use the ADC1 with a timer triggering without modifying the CircleOS?

Thanks,
Jingxi

Offline

 

# 2   2008-11-12 21:29:15 How to the ADC under the CircleOS

afillera
New member
Registered: 2008-07-30
Posts: 2

Re: How to the ADC under the CircleOS

I would like to use ADC of stm32f103rbt6 microcontroller, but i need information? 

thaks

Offline

 

# 3   2008-11-12 22:11:51 How to the ADC under the CircleOS

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: How to the ADC under the CircleOS

The ADC is used in the CircleOS for measuring both the temperature and the battery voltage. Many other project (such as ECG) use also the ADC.

Offline

 

# 4   2009-05-31 19:49:24 How to the ADC under the CircleOS

Buttermaker
New member
Registered: 2009-05-17
Posts: 6

Re: How to the ADC under the CircleOS

I got my primer 2  six day´s ago and read this FORUM and all the aviable Examples and the Lib´s. Until now I don´t know if it´s possible to make 3 external ADC inputs over the external conectors.
Is there any document wich discibes the ADC functions ?
Or is the only way to debug example code ?

Offline

 

# 5   2009-06-01 07:56:23 How to the ADC under the CircleOS

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: How to the ADC under the CircleOS

Go to the 'resources | Primer2" section.
Once registered, you can download the schematic. You will find the list of the GPIOs available on the extension connector. Most of these GPIOs are also ADC input... Therefore, you will find easily 3 pis useable as ADC inputs (for example all those named CX_USART_xxx).

Offline

 

# 6   2009-06-01 10:06:34 How to the ADC under the CircleOS

Buttermaker
New member
Registered: 2009-05-17
Posts: 6

Re: How to the ADC under the CircleOS

Francis :

Go to the 'resources | Primer2" section.
Once registered, you can download the schematic. You will find the list of the GPIOs available on the extension connector. Most of these GPIOs are also ADC input... Therefore, you will find easily 3 pis useable as ADC inputs (for example all those named CX_USART_xxx).

Thanks a lot Francis ,now I know that this device is capable for my application.
What I´m looking for is a document set with the C- function for the ADC. Is there any one aviable ?

Offline

 

# 7   2009-06-01 10:16:44 How to the ADC under the CircleOS

repzak
Member
Registered: 2008-03-05
Posts: 170

Re: How to the ADC under the CircleOS

You can go for the ST library documentation on ST's homepage

Kasper

Offline

 

# 8   2009-06-02 06:19:14 How to the ADC under the CircleOS

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: How to the ADC under the CircleOS

You can also, in CircleOS, look at the battery voltage measurement.

Offline

 

Board footer