MC68HC705T16 MOTOROLA [Motorola, Inc], MC68HC705T16 Datasheet - Page 70

no-image

MC68HC705T16

Manufacturer Part Number
MC68HC705T16
Description
High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
8
In order to prevent transient noise at the output during MCU write to the 8-bit PWM and 6-bit BRM
registers, double buffering is used. Programming of the 2 registers must follow the sequence as
shown below:
The instruction STA $35 simply puts the 6-bit BRM data in a buffer. Output is not affected at this
time. The instruction STA $36, then, puts the total 14-bit data to BRM and PWM register at the
same time. Output waveform will change accordingly starting from the beginning of the next PWM
cycle.
MOTOROLA
8-4
LDA BRM_value
STA $35
LDA PWM_value
STA $36
;Data put in 6-bit BRM buffer
;Load 6-bit BRM and 8-bit PWM register
PULSE WIDTH MODULATOR
MC68HC05T16
TPG

Related parts for MC68HC705T16