| Electronic Components Datasheet Search |
|
7513 Datasheet(PDF) 37 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7513 Datasheet(HTML) 37 Page - Renesas Technology Corp |
|
37 / 66 page ![]() 36 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER MITSUBISHI MICROCOMPUTERS 7513 Group A-D CONVERTER [A-D Conversion Registers (ADL, ADH)] 003216, 003316 The A-D conversion registers are read-only registers that contain the result of an A-D conversion. During A-D conversion, do not read these registers. [A-D Control Register (ADCON)] 003116 The A-D control register controls the A-D conversion process. Bits 0 to 2 are analog input pin selection bits. Bit 3 is an A-D conver- sion completion bit and “0” during A-D conversion, then changes to “1” when the A-D conversion is completed. Writing “0” to this bit starts the A-D conversion. Bit 4 controls the transistor which breaks the through current of the resistor ladder. When bit 5, which is the AD external trigger valid bit, is set to “1”, A-D conver- sion is star ted even by a rising edge or falling edge of an ADT input. Set ports which share with ADT pin to input when using an A-D external trigger. [Comparison Voltage Generator] The comparison voltage generator divides the voltage between AVSS and VREF, and outputs the divided voltages. [Channel Selector] The channel selector selects one of the input ports P67/AN7–P60/ AN0, and inputs it to the comparator. [Comparator and Control Circuit] The comparator and control circuit compares an analog input volt- age with the comparison voltage and stores the result in the A-D conversion register. When an A-D conversion is completed, the control circuit sets the AD conversion completion bit and the AD interrupt request bit to “1”. Note that the comparator is constructed linked to a capacitor, so set f(XIN) to at least 500 kHz during A-D conversion. Use a clock divided the main clock XIN as the internal clock φ. Fig. 36 A-D converter block diagram Fig. 35 Structure of A-D control register Data bus A-D control register A-D conversion register Resistor ladder AVSS Comparater ADT/A-D interrupt request b7 b0 A-D control register 3 P60/SIN2/AN0 P61/SOUT2/AN1 P62/SCLK21/AN2 P63/SCLK22/AN3 P64/AN4 P65/AN5 P66/AN6 P67/AN7 10 P40/ADT VREF A-D conversion register (H) (L) P56/DA1 A-D control register (ADCON : address 003116) Analog input pin selection bits 0 0 0 : P60/SIN2/AN0 0 0 1 : P61/SOUT2/AN1 0 1 0 : P62/SCLK21/AN2 0 1 1 : P63/SCLK22/AN3 1 0 0 : P64/AN4 1 0 1 : P65/AN5 1 1 0 : P66/AN6 1 1 1 : P67/AN7 AD conversion completion bit 0 : Conversion in progress 1 : Conversion completed VREF input switch bit 0 : OFF 1 : ON AD external trigger valid bit 0 : A-D external trigger invalid 1 : A-D external trigger valid Interrupt source selection bit 0 : Interrupt request at A-D conversion completed 1 : Interrupt request at ADT input rising or falling Reference voltage input selection bit 0 : VREF 1 : P56/DA1 b7 b0 b7 b9 b8 b7 b6 b5 b4 b3 b2 b9 b8 b7 b6 b5 b4 b3 b2 •8-bit read (Read only address 003216.) A-D conversion register (low-order) (ADL: Address 003216) •10-bit read (Read address 003316 first.) Note: High-order 6 bits of address 003316 becomes “0” at reading. b1 b0 b0 A-D conversion register (low-order) (ADL: Address 003216) A-D conversion register (high-order) (ADH: Address 003316) b7 b0 b7 b0 |
|
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 |
| 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 |