| Electronic Components Datasheet Search |
|
EM6580 Datasheet(PDF) 17 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6580 Datasheet(HTML) 17 Page - EM Microelectronic - MARIN SA |
|
17 / 55 page ![]() R EM6580 Copyright © 2007, EM Microelectronic-Marin SA 03/07, rev. J 17 www.emmicroelectronic.com 6.2.4 Software test variables As shown in Figure 10 PA[0/5] or PA[3/4] are also used as input conditions for conditional software branches. These CPU inputs are always debounced and non-inverted. • debounced PA[0/5] is connected to CPU TestVar1 • debounced PA[3/4] is connected to CPU TestVar2 CPU TestVar3 is connected to Ground and can not be used in Software. 6.2.5 Port A for 10-Bit Counter The PA[1] and PA[3/4] inputs can be used as the clock input terminal for the 10 bit counter • PA[1] is at counter clock selection 0. The input is direct ( no debouncer is possible • PA[3/4] is at counter clock selection 7. As for the IRQ generation, debounced or input directly and non-inverted or inverted input is possible. This is defined with the register RegPaCntl1. Debouncing the input is always recommended. 6.2.6 Port A Wake-Up on change In sleep mode if configured port PA[0/5] or PA[3/4] inputs are continuously monitored to wake up on change, which will immediately wake up the EM6580. 6.2.7 Port A for Serial Interface When the serial interface is used in slave mode, PA[0] is used for serial data input and PA[1] for the serial clock. 6.2.8 Port A for External Reset In Active and Stand-by (Halt) mode a positive debounced pulse on PA[3/4] can be the source of a reset when PA[3/4]ResIn and InResAH are set at ‘1’. When IrqPA[3l/4h] is ‘0’ than PA[3] is selected for Reset source and when IrqPA[3l/4h] is ‘1’ than PA[4] is selected for Reset source. 6.2.9 Port PA[4] as Comparator Input When using the PA[4] as an input to the internal SVLD comparator NO pull resistor should be connected on this terminal. Otherwise the device may draw excessive current. First PA[4] pull-up/down resistor should be disconnected by software and the ExtVcheck bit can be set to ‘1’. This dedicates PA[4] as SVLD resistor divider input to the SVLD comparator. At this point the measurements respect the same timing as any other SVLD measurements as explained in Chapter Supply Voltage Detector. It can also generate an IRQ if the input voltage is lower as Comparator level. Thus configured a direct read of PA[4] will result in reading ‘0’. 6.2.10 Reset and Sleep on Port A During circuit initialisation, all Control registers are reset by Power On Reset and therefore all pull-ups are off and all pull-downs are on. During Sleep mode, the circuit retains its register values. As such the PA configurations remain active also during Sleep.Sleep mode is cancelled with any Reset. However the Reset State does not reset the Control registers bits which are specifically marked to be initialised by POR only. (Pull, Nch Open drain, Freq out, etc configurations). however Sleep mode is cancelled with a Reset and all system register will be reinitialized at this point. (the circuit is in Reset State. and pull-downs, if previously turned on. After any reset the serial interface parameters are reset to : Slave mode, Start and Status = 0, LSB first, negative edge shift , PA[3:0] tri-state. 6.2.11 Port A Blocked Inputs In sleep mode if PortA inputs are not used and prepared for Wake-Up on Change or Reset these inputs are blocked. At that time port can be undefined from external and this will not generate an over-consumption. PA[0] : Blocked if Sleep bit set and no IRQ or Wake-up defined on this input PA[1] : Blocked if Sleep bit set PA[2] : Blocked if Sleep bit set PA[3] : Blocked if Sleep bit set and no IRQ or Wake-up defined on this input PA[4] : Blocked if Sleep bit set and no IRQ or Wake-up defined on this input Also blocked if External VLD check enabled PA[5] : Never blocked |
|
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 |