Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN979 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN979
Description  DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN979 Datasheet(HTML) 2 Page - STMicroelectronics

  AN979 Datasheet HTML 1Page - STMicroelectronics AN979 Datasheet HTML 2Page - STMicroelectronics AN979 Datasheet HTML 3Page - STMicroelectronics AN979 Datasheet HTML 4Page - STMicroelectronics AN979 Datasheet HTML 5Page - STMicroelectronics AN979 Datasheet HTML 6Page - STMicroelectronics AN979 Datasheet HTML 7Page - STMicroelectronics AN979 Datasheet HTML 8Page - STMicroelectronics AN979 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 14 page
background image
2/14
DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
F (PF0, PF4), and Port C (PC0, PC1, PC5, PC7). The I/O port pins used by the ADC must be
configured as floating inputs to avoid conflicts in alternate function mode.
Refer to the Data Sheet for information on configuring the I/O ports.
3.2 ANALOG TO DIGITAL CONVERTER
The ST7 ADC is a 10-bit successive approximation converter, with internal sample and hold-
circuitry.
3.2.1 ADC control
You control the ADC using the ADC Control Status Register (ADCCSR).
The EOC bit is the end of conversion bit:
- When this bit is set, the conversion is done and result can be read from the ADC
Data Registers (ADCDRL & ADCDRH).
- When the bit is reset, the conversion is not complete.
The SPEED bit:
- When this bit is set, fADC = fCPU / 2.
- When this bit is reset, fADC = fCPU / 4.
The ADON bit:
- Enable ADC and start conversion when this bit is set.
- Disable ADC and stop conversion when this bit is reset.
CH3-CH0 bits:
- They are used to select which analog input to convert. In the ST72324 there are 12
analog pins.
3.2.2 Characteristics
The conversion time is 15 ADC cycles including a sampling time of 4 ADC cycles.
The ADC is linear and the digital result of the conversion is given by the formula:
Digital Result =
3.2.3 Process
First the analog input pins must be configured as floating inputs (see Section 3.1).
CH0
CH1
CH2
CH3
0
ADON
SPEED
EOC
1023*Input Voltage
Reference Voltage



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com