datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

MTV312M64 View Datasheet(PDF) - Myson Century Inc

Part Name
Description
View to exact match
MTV312M64 Datasheet PDF : 27 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
MYSON
TECHNOLOGY
MTV312M64
(Rev 0.99)
When ISP is enabled, the MTV312M disables Watchdog reset and switches the Flash interface to ISP host
in 15-22.5uS. So S/W MUST enter idle mode immediately after enabling ISP. In the 8051 idle mode, PWM
DACs and I/O pins keep running at their former status. There are 4 types of IIC bus transfer protocols in ISP
mode.
Command Write
S-tttttt10k-cccccxxxk-AAAAAAAAk-P
Command Read
S-tttttt11k-cccccXXXK-AAAAAAAAK-aaaaaaaaK-RRRRRRRRK-rrrrrrrrK-P
Data Write
S-tttttt00k-aaaaaaaak-ddddddddk-ddddddddk- ... -P
Data Read
S-tttttt00k-aaaaaaaak-(P)-
S-tttttt01k-ddddddddK-ddddddddK- ... -P
where
S = start or re-start
P = stop
K = ack by host (0 or 1)
k = ack by slave
tttttt = ISP slave address
ccccc = command
x = don’t care
X = not defined
AAAAAAAA = address[15:8]
aaaaaaaa = address[7:0]
RRRRRRRR = CRC_register[15:8]
rrrrrrrr = CRC_register[7:0]
dddddddd = data
ccccc = 10100 Program
ccccc = 00110 Page Erase 512 bytes (Erase)
ccccc = 01101 Erase entire Flash (Blank)
ccccc = 11010 Clear CRC_register (Clr_CRC)
ccccc = 01001 Reset MTV312M (Reset_CPU)
10.1 ISP Command Write
The 2nd byte of “Command Write” can define the operating mode of MTV312M in its “Data Write” stage,
clear CRC register, or reset MTV312M. The 3rd byte of Command Write defines the page address. A
Command Write may consist of 1,2 or 3 bytes.
10.2 ISP Command Read
The 2nd byte echoes the current command in ISP slave. The 3rd and 4th bytes reflect the current Flash
address. The 5th and 6th bytes report the CRC result. A Command Read may consist of 2,3,4,5 or 6 bytes.
10.3 ISP Data Write
The 2nd byte defines the low address of Flash. After receiving the 3rd byte, the MTV312M executes a
Program/Erase/Blank command depending on the preceding “Command Write”. The low address of Flash
increases every time when ISP slave acknowledges the data byte. The Blank/Erase command needs one
data byte (content is “don’t care”). The execution time is 10mS. During the 10mS period, the ISP slave does
not accept any command/data and returns non-ack to any IIC bus activity. The Program command may
have 1-256 data bytes. The program cycle time is 60us. If the ISP slave is not able to complete the program
cycle in time, it returns non-ack to the following data byte. In the meantime, the low address does not
increase and the CRC does not count the non-acked data byte. A Data Write may consist of 1,2 or more
bytes.
Data Write (Blank/Erase)
S-tttttt00k-aaaaaaaak-ddddddddk-P ... S-ttttttxxk-
|----Min. 10mS----|
Data Write (Program)
S-tttttt00k-aaaaaaaak-ddddddddk-ddddddddk- ...
|Min. 60uS|
Revision 0.99
- 20 -
2001/07/26
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]