ZLP12840 OTP MCU
Product Specification
vii
List of Figures
Figure 1. ZLP12840 MCU Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 2. ZLP12840 MCU 20-Pin PDIP/SOIC/SSOP Pin Configuration . . . . . . . . . . . . 5
Figure 3. ZLP12840 MCU 28-Pin PDIP/SOIC/SSOP Pin Configuration . . . . . . . . . . . . 8
Figure 4. Port 0 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 5. Port 2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 6. Port 3 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 7. Port 3 Counter/Timer Output Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 8. Program/Constant Memory Map (128KB Device) . . . . . . . . . . . . . . . . . . . . . 29
Figure 9. Register File 8-Bit Banked Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 10. Register PointerDetail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 11. Register File LDX, LDXI Linear 12-Bit Address Map . . . . . . . . . . . . . . . . . 35
Figure 12. Learning Amplification Circuitry with the ZLP12840 MCU . . . . . . . . . . . . 42
Figure 13. UART Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 14. UART Asynchronous Data Format without Parity . . . . . . . . . . . . . . . . . . . . 45
Figure 15. UART Asynchronous Data Format with Parity . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 16. UART Receiver Interrupt Service Routine Flow . . . . . . . . . . . . . . . . . . . . . . 50
Figure 17. Counter/Timers Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Figure 18. Counter/Timer Input Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 19. Transmit Mode Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Figure 20. 8-Bit Counter/Timer Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Figure 21. T8_OUT in Single-Pass Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Figure 22. T8_OUT in Modulo-N Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Figure 23. Demodulation Mode Count Capture Flowchart . . . . . . . . . . . . . . . . . . . . . . . 63
Figure 24. Demodulation Mode Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Figure 25. Demodulation Mode Flowchart with Bit 4 of CTR3 Set . . . . . . . . . . . . . . . . 65
Figure 26. 16-Bit Counter/Timer Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Figure 27. T16_OUT in Single-Pass Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Figure 28. T16_OUT in Modulo-N Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
PS024406-0106
P R E L I M I N A R Y
List of Figures