| Electronic Components Datasheet Search |
|
HIP7030A2P Datasheet(PDF) 13 Page - Intersil Corporation |
|
|
|||||||||||||||||||||||||||||
HIP7030A2P Datasheet(HTML) 13 Page - Intersil Corporation |
|
13 / 56 page ![]() 13 PD2, PD3, PD4 Analog Comparator Input Mode When the CMPE bit is low in SFRD PD2, PD3, and PD4 behave as standard bidirectional I/O pins. Each of these three pins can be programmed as an input pin by setting the associated DDR bit low. Setting the DDR bit high configures the pin as an output. When CMPE is set high the three pins are connected to the appropriate comparator inputs and the contents of the DDRD doesn’t affect comparator operation. While it is possible to perform comparisons of the pins when they are in the output mode (DDR bits are set high) the com- parator result of comparing two equal digital values is not predictable. The comparator is intended for comparing ana- log input values, in which case the DDR bits must be set low to configure the pins as inputs. When CMPE is high, all of the associated PortD digital inputs (bits D4, D3, and D2 of PortD) are forced to 0, to conserve power. The circuitry of the clocked comparator consists of a differ- ential amplifier with requisite current sources, auto-zero stor- age elements, and multiplexing switches. It is convenient to view it as a conventional differential comparator to which PD4 is connected as a “reference” at the negative input and PD2 and PD3 are connected via a multiplexer at the positive input. The comparator is enabled be setting the CMPE bit (bit 5) of SFRD and disabled by clearing CMPE. To conserve power the comparator should be disabled when not in use. RESET clears the CMPE bit. The three analog inputs func- tion properly with inputs from -0.3V to VDD +0.3V. In order to use the comparator, PD4 and either (or both) PD2 or(and) PD3 should be selected as inputs via the DD2, DD3, and DD4 bits in DDRD. The results of the last comparison are available each time the PortD register is read. The CMP2 bit of PortD is set if PD2 was greater than PD4 during the last comparison and cleared otherwise. Similarly, the CMP3 bit of PortD is set if PD3 was greater than PD4 during the last comparison and cleared otherwise. CMP2 and CMP3 are not affected by RESET. The HIP7030A2 includes a hardware sequencer to control the auto-zero function and input multiplexer of the compara- tor. Each complete compare cycle consists of a series of: 1. Auto Zero 2. Compare V2, write results to CMP2 3. Auto Zero 4. Compare V3, write results to CMP3 The hardware sequencer is enabled via the CMPE bit. Once enabled the compare cycling is performed continuously at a 1MHz step rate until CMPE is set low. A complete cycle takes 4 µs. It follows that, at any given time, the results read in CMP2 or CMP3 of the PortD Data Register can be, at most, 4 µs old. The auto-zero operation involves charging a pair of bias capacitors. The charging time depends on the source imped- ance of the analog inputs, the relative voltages of V2 and V3, and the slew rate of all three input voltages. Incomplete charging of the capacitors will affect the accuracy of the comparator. The comparator is intended to perform favorably with input impedances up to 10k Ω and moderate slew rates. J1850 Bus Interface The VPW Symbol Encoder/Decoder (SENDEC) block pro- vides the design with all the features needed to send and receive properly timed messages on a J1850 Class B Multi- plexed Bus. Refer to VPW Symbol Encoder/Decoder (SEN- DEC) for detailed documentation on the use of the SENDEC. 16-Bit Timer The integrated 16-bit Timer includes both capture and com- pare features. External events can be timed, pulses gener- ated, and periodic interrupts programmed. A sophisticated set of control and status registers allows interrupt or polled operation. For a detailed guide to the operation of the Timer refer to Programmable Timer. Serial Peripheral Interface (SPI) The serial peripheral interface (SPI) is a synchronous serial interface with separate input, output, and clock lines. The SPI uses the MISO (serial data input/output), MOSI (serial data output/input), SCK (serial clock), and SS (slave select) pins. Refer to Serial Peripheral Interface for a detailed dis- cussion of the SPI system. Memory Organization The HIP7030A2 MCU is capable of addressing 8192 bytes of memory and I/O registers with its program counter. The MCU has implemented 2520 bytes of these locations as shown in Figure 8. The first 256 bytes of memory (page zero) include: 24 bytes of I/O features such as data ports, the port DDRs, Timer, serial peripheral interface (SPI), and J1850 VPW Registers; 48 bytes of user ROM, and 176 bytes of RAM. The next 2048 bytes complete the user ROM. The Built-In-Test ROM (228 bytes) and Built-In-Test vectors (14 bytes) are contained in memory locations $1F00 through $1FF1. The 14 highest address bytes contain the user defined reset and the interrupt vectors. Eight bytes of the lowest 32 memory locations are unused and the 176 bytes of user RAM include up to 64 bytes for the stack. Since most programs use only a small part of the allocated stack loca- tions for interrupts and/or subroutine stacking purposes, the unused bytes are usable for program data storage. V2/V3 DATA BIT DRR BIT VDD P N DATA BIT DRR BIT VDD P N VR INTERNAL LOGIC FIGURE 7. ANALOG INPUT I/O PINS HIP7030A2 |
|
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 |