|
|
Número de pieza | MG69M220 | |
Descripción | 8-Bit Micro-Controller | |
Fabricantes | Megawin | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de MG69M220 (archivo pdf) en la parte inferior de esta página. Total 27 Páginas | ||
No Preview Available ! 笙泉科技股份有限公司
Megawin Technology Co., Ltd.
Version: 1.09
MG69M220
Data Sheet
8-Bit Micro-Controller with
IO function
This document information is the intellectual property of Megawin Technology.
Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
1/27
Version 1.09
1 page 3 Pin Configurations
3.1 Pad Assignment
MG69M220 Datasheet
Version 1.09
Figure 3-1 Pad Assignment
This document information is the intellectual property of Megawin Technology.
Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
5/27
5 Page MG69M220 Datasheet
Version 1.09
6.2 Write Protect Function Register
Address Name
00F9H CWPR
Bit 7
PT7
Bit 6
PT6
Bit 5
PT5
Bit 4
PT4
Bit 3
PT3
Bit 2
PT2
Bit 1
PT1
Bit 0
PT0
RW
-
Condition Write Protect flag register (CWPR) is used to protect IRQ_CLR.7 (WDT), PWR_CR.1 (CKC0),
PWR_CR.2 (CKC1) and SCK_SEL. If want to change IRQ_CLR.7 (WDT), PWR_CR.1 (CKC0), PWR_CR.2 (CKC1)
or SCK_SEL, The CWPR musts write “78H”.
PT7~PT0: Write Protect Pattern. In MG69M220 write protect pattern is “78H”.
Note:
1. When CWPR is written by firmware, it would be automatically cleared by hardware after the “next write
action” of firmware.
※Bit-manipulation instructions are not available on this register.
6.3 IAP Write Protect Register
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Bit 2 Bit 1 Bit 0 R W
00E1H IAP_PR PR7 PR6 PR5 PR4 PR3 PR2 PR1 PR0 -
PR7 ~ PR0: Write Protect Pattern.
IAP-memory block would be written by firmware, when IAP_WP is written “46H” then “B9H”.
The IAP_WP will be automatically cleared by next uC write action or flash write time-out.
※ The flash write time-out period is obtained by the watch dog timer bit1. (WDT clock source is (Fosc/4096) /4 @
4MHz or WDT clock source is (Fosc/512) /4 @ 32KHz) when clock source is 4M, the IAP time-out period is 2ms
~4ms )
※ Clear watch timer before the IAP function is used.
※ When VDD < VLVD1(2.4V), IAP function would be disabled.
Example:
sei
lda
sta
lda
sta
lda
sta
lda
sta
lda
Sta
cli
#78H
CWPR
#80H
IRQ_CLR
#46H
IAP_PR
#B9H
IAP_PR
#$40
$E000
;;(F9h)
;;(C3h)
;;(E1h)
;;(E1h)
;;The data will be written into flash.
;;IAP_AREA (E000h ~ FFFFh)
This document information is the intellectual property of Megawin Technology.
Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
11/27
11 Page |
Páginas | Total 27 Páginas | |
PDF Descargar | [ Datasheet MG69M220.PDF ] |
Número de pieza | Descripción | Fabricantes |
MG69M220 | 8-Bit Micro-Controller | Megawin |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |