| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
CR16MFS5 Datasheet(PDF) 13 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
CR16MFS5 Datasheet(HTML) 13 Page - National Semiconductor (TI) |
|
13 / 99 page ![]() 13 www.national.com 4.0 System Configuration The CR16MHS9 has two input pins, ENV0 and ENV1, which are used to specify the operating environment of the device upon reset. There are also two system configuration regis- ters, called the Module Configuration (MCFG) register and the Module Status (MSTAT) register. 4.1 ENV0 AND ENV1 PINS Upon reset, the operating mode of the device is determined by the state of the ENV0 and ENV1 input pins, as indicated in Table6. In the case where the ENV1 and ENV0 pins are both high, the reset algorithm looks at the FLCTRL2.EMPTY bit to de- termine whether the program memory is empty, and sets the operating mode accordingly. The ENV0 and ENV1 pins have on-chip pull-up devices that are enabled during reset while the pins are being sampled. Therefore, if they are left unconnected, the inputs are consid- ered high and the normal operating mode (IRE-Mode) is se- lected and the CPU starts to execute code at address 0. To enter any other operating mode, the external hardware must drive the appropriate input low. In the case where the ISP-Mode is selected, the chip starts executing the ISP code residing in the on-chip boot ROM ar- ea. The Test Modes are reserved for factory testing and for ex- ternal programming of the flash program memory; they should not be invoked otherwise. 4.2 MODULE CONFIGURATION (MCFG) REGISTER The MCFG register is a byte-wide, read/write register that sets the general programmable features of the device. Upon reset, the non-reserved bits of this register are cleared to zero. The start-up software must write a specific value to this register in order to configure the CLK output pin function. When the software writes to this register, it must write a zero to each reserved bit for the device to operate properly. The register should be written in active mode only, not in power save, HALT, or IDLE mode. However, the register contents are preserved during all power modes. The MCFG register format is shown below. CLKOE CPU Clock Output Enable. When this bit is cleared (0), the CLK pin remains in the high-im- pedance state. When this bit is set (1) in normal operating mode, the CLK pin operates as a CPU clock output. SLCLKOE Slow Clock Output Enable. When cleared (0), the SLCLK pin of the 44-pin package (ENV0-44 pin) remains in the high-impedance state. When set (1), this pin produces the slow clock as an output. FEEDM Fast EEPROM Data Memory Access. This bit is set (1) for zero-wait-state access to the EE- PROM data memory, or cleared (0) for one- wait-state access to the data ROM. For infor- mation on the required number of wait states, see Table8. SLCOE2 Slow Clock Output Enable. When cleared (0), the SLCLK pin of the 80-pin package (ENV0-80 pin) remains in the high-impedance state. When set (1), this pin produces the slow clock as an output. CLK2OE CPU Clock Divide-by-2 Output Enable. When this bit is cleared (0), the CLKOUT2 pin re- mains in the high-impedance state. When this bit is set (1) and the CLKOE bit is cleared, the CLKOUT2 pin operates as clock output, with a frequency of one-half that of the CPU clock. 4.3 MODULE STATUS (MSTAT) REGISTER The MSTAT register is a byte-wide, read-only register that in- dicates the general status of the device. The MCFG register format is shown below. OENV(1:0) Operating Environment. These two bits contain the values applied to the ENV1 and ENV0 pins upon reset. These bit values are controlled by the external hardware upon reset and are held constant in the register until the next reset. PGMBUSY Flash Programming Busy. This bit is automati- cally set to 1 when either the program memory or the data memory is busy being programmed. It is cleared to 0 when neither of the two flash memories are busy being programmed. When this bit is set, the software should not attempt to access either of these two memories. Table 6 Operating Environment Selection ENV1 ENV0 Operating Environment 0 0 Test Mode 0 1 Test Mode 1 0 In-System Programming mode 1 1 Internal ROM enabled Mode (IRE), if program memory is not empty; or ISP- Mode, if program memory is empty 7 6 5 4 3 2 1 0 Reserved CLK2OE SLCOE2 FEEDM SLCLKOE CLKOE Reserved 74 3 2 1 0 Reserved PGMBUSY Reserved OENV1 OENV0 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |