ST7DALIF2 STMicroelectronics, ST7DALIF2 Datasheet - Page 75

no-image

ST7DALIF2

Manufacturer Part Number
ST7DALIF2
Description
8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7DALIF2

8 Kbytes Single Voltage Flash Program Memory With Read-out Protection, In-circuit Programming And In-application Programming (icp And Iap). 10k Write/erase Cycles Guaranteed, Data Retention
20 years at 55°C.
256 Bytes Data Eeprom With Read-out Protection. 300k Write/erase Cycles Guaranteed, Data Retention
20 years at 55°C.
Clock Sources
Internal 1% RC oscillator, crystal/ceramic resonator or external clock
Five Power Saving Modes
Halt, Active-Halt, Wait and Slow, Auto Wake Up From Halt
ST7DALIF2
14.3.2
Note:
14.3.3
Figure 36. PWM signal from 0% to 100% duty cycle
Output compare mode
To use this function, load a 12-bit value in the DCRxH and DCRxL registers.
When the 12-bit upcounter (CNTR) reaches the value stored in the DCRxH and DCRxL
registers, the CMPF bit in the PWMxCSR register is set and an interrupt request is
generated if the CMPIE bit is set.
The output compare function is only available for DCRx values other than 0 (reset value).
Break function
The break function is used to perform an emergency shutdown of the power converter.
The break function is activated by the external BREAK pin (active low). In order to use the
BREAK pin it must be previously enabled by software setting the BPEN bit in the BREAKCR
register.
When a low level is detected on the BREAK pin, the BA bit is set and the break function is
activated.
Software can set the BA bit to activate the break function without using the BREAK pin.
When the break function is activated (BA bit =1):
When the break function is deactivated after applying the break (BA bit goes from 1 to 0 by
software):
The break pattern (PWM[3:0] bits in the BREAKCR) is forced directly on the PWMx
output pins (after the inverter).
The 12-bit PWM counter is set to its reset value.
The ARR, DCRx and the corresponding shadow registers are set to their reset values.
The PWMCR register is reset.
The control of PWM outputs is transferred to the port registers.
DCRx=FFDh
DCRx=FFEh
DCRx=000h
DCRx=000h
COUNTER
f
COUNTER
FFDh
FFEh
ATR= FFDh
FFFh
FFDh
FFEh
FFFh
12-bit autoreload timer 2 (AT2)
FFDh
FFEh
t
75/171

Related parts for ST7DALIF2