st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 280

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
Caution:
280/371
Access to write-once bits: Special care has to be taken with write-once bits in MPOL and
MDTG registers; these bits have to be first accessed during the set-up. Any access to the
other bits (not write-once) through a BRES or a BSET instruction locks the content of write-
once bits (no possibility for the core to distinguish individual bit access: Read/write internal
signal acts on a whole register only). This protection is then only unlocked after a processor
hardware reset.
Deadtime generator register (MDTG)
1. Write once-only bit if PCN bit is set, read/write if PCN bit is reset.
MDTG
PCN
R/W
7
Warning:
DTE
(1)
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Access to preload registers: Special care has to be taken
with preload registers, especially when using the ST7 BSET
and BRES instructions on MTC registers.
For instance, while writing to the MPHST register, the value in
the preload register is written. However, while reading at the
same address, the current value in the register and not the
value of the preload register is obtained.
Excepted for three-phase PWM generator’s registers, all
preload registers are loaded in the active registers at the
same time. In normal mode this is done automatically when a
C event occurs, however in direct access mode (DAC bit = 1)
the preload registers are loaded as soon as a value is written
in the MPHST register.
5
4
Write once only
3
DTG[5:0]
2
Reset value: 1111 1111 (FFh)
1
0

Related parts for st7pmc2s6