| поискавой системы для электроныых деталей |
|
HT95R55 датащи(PDF) 49 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95R55 датащи(HTML) 49 Page - Holtek Semiconductor Inc |
|
49 / 80 page ![]() HT95R54/HT95R55 Rev. 1.00 49 March 3, 2010 Normal Mode In the Normal mode the device uses the HCLK gener- ated by the frequency-up conversion circuit as the sys- tem clock for instruction execution. There are four high frequency clock (HCLK) for CPU which are 3.58MHz, 7.16MHz, 10.74MHz and 14.32MHz. Care must be taken with changing the system clock in Normal Mode: Step 1: Clear bit MODE1 to ²0² Step 2: Clear UPEN bit to ²0² Step 3: Set bits of register MODE_1 for the frequency of HCLK Step 4: Set bit UPEN to ²1² Step 5: Execute a 20ms software delay Step 6: Set bit MODE1 to ²1² After Step 6, the system clock will be changed according to the setting in MODE_1. Changing the Operational Mode Holtek ¢s telephone controllers support two system clocks and four operational modes. The system clock can be either 32768Hz or HCLK and the operational mode can be either Normal, Green, Sleep or Idle Mode. The operation mode is selected using software in the following way: · Normal Mode to Green Mode: Clear bit MODE1 to ²0², which will change the opera- tional mode to the Green Mode. The UPEN bit status is not changed. However, the UPEN bit can be cleared by software. · Normal Mode or Green Mode to Sleep Mode: Step 1: Clear bit MODE0 to ²0² Step 2: Clear bit MODE1 to ²0² Step 3: Clear bit UPEN to ²0² Step 4: Execute the HALT instruction After Step 4, the operational mode will be changed to the Sleep Mode. · Normal mode or Green Mode to Idle Mode: Step 1: Set bit MODE0 to ²1² Step 2: Clear bit MODE1 to ²0² Step 3: Clear bit UPEN to ²0² Step 4: Execute the HALT instruction After Step 4, the operational mode will be changed to the Idle Mode. · Green Mode to Normal Mode: Step 1: Set bit UPEN to ²1² Step 2: Execute a 20ms software delay Step 3: Set bit MODE1 to ²1² After Step 3, the operational mode will be changed to the Normal Mode. · Sleep Mode or Idle Mode to Green Mode: Method 1: The occurrence of any reset condition Method 2: Any active interrupt Method 3: A Port A wake-up Note that a Timer/Event Counter 0/1 and RTC interrupt will not be generated when in the Idle Mode as the 32768Hz crystal oscillator is stopped. Standby Current Considerations As the main reason for entering the Power Down Mode is to keep the current consumption of the MCU to as low a value as possible, perhaps only in the order of several micro-amps, there are other considerations which must also be taken into account by the circuit designer if the power consumption is to be minimised. Special atten- tion must be made to the I/O pins on the device. All high-impedance input pins must be connected to either a fixed high or low level as any floating input pins could create internal oscillations and result in increased cur- rent consumption. Care must also be taken with the loads, which are connected to I/Os, which are setup as outputs. These should be placed in a condition in which minimum current is drawn or connected only to external circuits that do not draw current, such as other CMOS inputs. Also note that additional standby current will also be required if the configuration options have enabled the Watchdog Timer internal oscillator. Wake-up A reset, interrupt or port A wake-up can all wake up the device from the Sleep Mode or the Idle Mode. A reset can include a power-on reset, an external reset or a WDT time-out reset. By examining the device status flags, PDF and TO, the program can distinguish be- tween the different reset conditions. Refer to the Reset section for a more detailed description. A port A wake-up and an interrupt can be considered as a continuation of normal execution. Each bit in port A can be independently selected to wake-up the device using configuration options. When awakened by a Port A stimulus, the program will resume execution at the next instruction following the HALT instruction. Any valid interrupt during the Sleep Mode or Idle Mode may have one of two consequences. One is if the re- lated interrupt is disabled or the interrupt is enabled but the stack is full, the program will resume execution at the next instruction. The other is if the interrupt is enabled and the stack is not full, the regular interrupt response takes place. It is necessary to mention that if an interrupt request flag is set to ²1² before entering the Sleep Mode or Idle Mode, the Wake-up function of the related inter- rupt will be disabled. Once a Sleep Mode or Idle Mode Wake-up event oc- curs, it will take an SST delay time, which is 1024 sys- tem clock periods, to resume to the Green Mode. This means that a dummy period is inserted after a Wake-up. If the Wake-up results from an interrupt acknowledge signal, the actual interrupt subroutine execution will be delayed by one or more cycles. If the Wake-up results in the next instruction execution, this will be executed im- mediately after the dummy period has finished. To minimise power consumption, all the I/O pins should be carefully managed before entering the Sleep Mode or Idle Mode. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |