參數(shù)資料
型號(hào): ST52501LG1
英文描述: MAX 7000 CPLD 128 MC 160-PQFP
中文描述: 8位紅外驅(qū)動(dòng)重癥監(jiān)護(hù)病房。定時(shí)器/脈寬調(diào)制。 I2C總線。的SPI。脊髓損傷。低電壓
文件頁數(shù): 76/106頁
文件大?。?/td> 1355K
代理商: ST52501LG1
11.5 PWM/Timer output modulation
The PWM/Timer outputs can be used to generate
signal
modulation
for
IR
transmission
in
applications like Remote Control.
This can be achieved by means of the Logic Unit or
the IR Driver. Configuring register 50 (032h)
PWM_LU_CR, T1OUTSEL bits, the T1OUT can
output the signal coming from PWM/Timer 1, Logic
Unit or the IR Driver (see Figure 11.5).
11.5.1 Logic Unit. The Logic Unit allows the
combination of the T0OUT and T1OUT signals in
order to generate digital signals, where one output
is used as a carrier and the other as modulator.
The resulting output goes to T1OUT pin.
By setting the Configuration Register 50 (032h)
PWM_LU_CR it is possible to combine the two
outputs with the logic operators AND, OR NOT,
XOR. The Logic Unit function should be used with
the Simultaneous Start function to correctly
synchronize the two signals.
11.5.2 IR Driver. The IR Driver implements the
digital modulation of the digital carrier, T1OUT
signal coming from the PWM/TIMER 1, and
outputs it on the T1OUT pin. The resulting signal
frequency is in the range 30 kHz - 80 kHz,
according with the Clock frequency and the
programmed Counter and Reload values.
The IR Driver has been built to implement the most
common protocols for Infrared Remote Control,
such as:
s
Pulse Coded Signals
s
Shape Coded Signals
s
Shift Coded Signals
s
RC5
The carrier is generated by the PWM/Timer 1, set
in PWM mode, which generates a square wave
with a period and duty cycle programmed by
means
of
the
PWM1_COUNT
and
PWM1_RELOAD 8-bit register, as explained in the
previous paragraphs.
When the start bit IRSTRT of the Configuration
Register IR_CR1 is set to ‘1’, the IR Driver
generates a PWM signal with a period equal to
IR_PERIOD (bits 6:0 of IR_CR1) times of the
carrier period and duty cycle proportional to
IR_DUTY (bits 6:0 of the IR_CR2 Configuration
Register).
The IRPOL bit (bit 7 of the IR_CR2 register) is used
to define the polarity (i.e. the logical level) of the
PWM signal at the start period: if IRPOL bit is ‘0”
the PWM signal is al low level during the Ton and
it is high during the Toff; vice versa if IRPOL is “1”.
The PWM signal obtained is used as a mask
(logical AND) with the carrier signal, implementing
the digital modulation. The figures below show
some examples of modulation.
By configuring the PWM_LU_CR Configuration
Registers with the IR Driver output on T1OUT, the
IR interrupt is automatically enabled. The interrupt
is
generated
at
the
start
of
the
“symbol”
transmission, i.e. at the beginning of the period of
the PWM modulator signal, to avoid dead times
between two transmissions.
Note: When the IR Interrupt is enabled, the other
PWM/Timer 1 interrupt sources are automatically
disabled
Figure 11.6 Pulse Coding signal modulation
1
0
D1
P0
P1
D0
Symbol “0” :
Symbol “1” :
IR_PERIOD = P0
IR_DUTY
= D0
IRPOL
= ‘1’
{
IR_PERIOD = P1
IR_DUTY
= D1
IRPOL
= ‘1’
{
相關(guān)PDF資料
PDF描述
ST52501LG2 MAX 7000 CPLD 128 MC 100-TQFP
ST52501LG3 MAX 7000 CPLD 128 MC 100-TQFP
ST52501LK1 MAX 7000 CPLD 160 MC 84-PLCC
ST52501LK2 MAX 7000 CPLD 160 MC 100-TQFP
ST52501LK3 MAX 7000 CPLD 192 MC 160-PQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52501LG2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LG3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LK1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LK2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LK3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE