2009-04-05 08:42 PM
How to use the ADC1 Scan mode?
2011-05-17 06:02 AM
I used the STM8S205S6 (header file is STM8S205C_S.h), STVD and cosmic compiler.
I read the datasheet and try to use the scan mode of ADC1 module. I try to set the scan bits in ADC_CR2 and the other setting bits. But I can't find the ADC result register (ADC_DBxRH in datasheet) in the header file. How can I read the result? modify the header file by myself?2011-05-17 06:02 AM
Hi,
I think that you use an Old version of STVD, there is a new version available now in Internet. Also the reference STM8S205S6 does not exist in the STM8S portfolio2011-05-17 06:02 AM
Hello,
The STM8S205 has been replaced by STM8S105. The max frequency is now 16MHz. In order to run faster, you need to select the STM8S207 (24MHz) Pat :D2011-05-17 06:02 AM
to patocheham:
The max frequency is now 16MHz. In order to run faster, you need to select the STM8S207 (24MHz) In my application, I need the ADC1 Scan mode let my chip run faster(9ch ADC convert every 1ms). It is ADC2 mode in STM8S207 (ADC2 mode can't use the scan mode),so I don't like to use it.