
LC87F5164A
2/28
(3) Minimum Instruction Cycle Time
(4) Ports
- Input/output ports
Each bit data direction programmable
Nibble data direction programmable
- Input ports
- PWM Output ports
- Oscillator pins
- Reset pin
- Power supply
(5) Timers
- Timer0: 16 bit timer/counter with capture register
Mode 0: 2 channel 8 bit timer with programmable 8 bit prescaler and 8 bit capture register
Mode 1: 8 bit timer with 8 bit programmable prescaler and 8 bit capture register + 8 bit counter with 8 bit
capture register
Mode 2: 16 bit timer with 8 bit programmable prescaler and 16 bit capture register
Mode 3: 16 bit counter with 16 bit capture register
- Timer1: PWM/16 bit timer/counter (with toggle output)
Mode 0: 8 bit timer (with toggle output) + 8 bit timer counter (with toggle output)
Mode 1: 2 channel 8 bit PWM
Mode 2: 16 bit timer/counter (with toggle output)
Mode 3: 16 bit timer (with toggle output) Lower order 8 bits can be used as PWM output.
- Timer4: 8-bit timer with 6-bit prescaler
- Timer5: 8-bit timer with 6-bit prescaler
- Base timer
1. The clock signal can be selected from any of the following: sub-clock (32.768kHz crystal oscillator), system
clock, and prescaler output for timer 0.
2. Interrupts can be selected to occur at one of five different times.
(6) SIO
- SIO0: 8 bit synchronous serial interface
1. LSB first/MSB first function available
2. Internal 8-bit baud-rate generator (maximum transmit clock period 4/3 T
CYC
)
3. Continuous automatic data communications (1 - 256 bits)
- SIO1: 8 bit asynchronous/synchronous serial interface
Mode 0: Synchronous 8 bit serial IO (2-wire or 3-wire, transmit clock 2 - 512 T
CYC
)
Mode 1: Asynchronous serial IO (half duplex, 8 data bits, 1 stop bit, baud rate 8 - 2048 T
CYC
)
Mode 2: Bus mode 1 (start bit, 8 data bits, transmit clock 2 - 512 T
CYC
)
Mode 3: Bus mode 2 (start detection, 8 data bits, stop detection)
- SIO2: 8 bit synchronous serial interface
1. LSB-first
2. Built in 8-bit baud-rate generator (Maximum clock period 4/3 T
CYC
)
3. Continuous automatic data communication (1 - 32 bytes)
(7) AD converter
- 8-bits × 8-channels
(8) PWM
- 2 channel synchronous variable 12 bit PWM
(9) Parallel interface
- RS, RD , WR , CS0 - CS2 Outputs (reversible polarity)
- read/write possible in 1 T
CYC
(10) Remote control receiver circuit (connected to P73/INT3/T0IN terminal)
- Noise rejection function (noise rejection filter time constant can selected from 1/32/128 T
CYC
)
: 300ns (10MHz)
59 (P1n,P2n,P3n,P70 to P73,P8n,PAn,PBn,PCn,S2Pn)
8
(P0n)
2
(XT1,XT2)
2
(PWM0,PWM1)
2
(CF1,CF2)
1
( RES)
6
(VSS1 to 3,VDD1 to 3)