Programmer’s Reference
MOTOROLA
Memory Stick Host Controller (MSHC) Module
21-27
21.8.3 Transfer Protocol Command (TPC)
The MSHC module can directly access registers and PageBuffer on the Memory Stick by TPC. The TPC
code is 8-bit data which is coded by TPC 4-bit data and one’s complement TPC 4-bit data for error check.
TPC 4-bit code described as follows:
Table 21-21. Read Packet
Bus State
Direction
Description
BS1 (TPC)
MSHC module to
Memory Stick
Transfers Read TPC.
BS2 (Handshake)
Memory Stick to MSHC
module
Memory Stick outputs BSY (High/Low signal) on SDIO until reading
data is ready to transfer. When ready, it outputs RDY (inverting
signal at every 1SCLK).
BS3 (Data)
Memory Stick to MSHC
module
Data + CRC are output on MS_SDIO from Memory Stick.
BS0 (INT)
Memory Stick to MSHC
module
When some interruption factors occur as a result of Memory Stick
inner operation, INT (High) signal is output on SDIO. During BS0
period, SDIO signal line is used as INT signal line which does not
synchronize with SCLK.
Table 21-22. TPC Code Specification
Name
TPC [3:0]
Operation
Description
READ_PAGE
_DATA
0
0
1
0
Transfer from
Page Buffer
TPC for reading from PageBuffer in units of page
(
=
512 bytes). Data is fixed length of 512 bytes +
CRC (16-bit).
READ_REG
0
1
0
0
Read register
TPC for reading from the register which address was
set. Address and Data length are set by
SET_R/W_REG_ADRS. Actual Data length: the value
which was set + CRC (16bit).
GET_INT
0
1
1
1
Read INT register
Only INT register: 1 byte is read. Setting by
SET_R/W_REG_ADRS TPC is not necessary.
Read INT register operation is provided as an
independent TPC, as INT register is accessed
frequently. Data is fixed length of 1 byte + CRC
(16-bit).
WRITE_PAGE
_DATA
1
1
0
1
Transfer to PageBuffer
TPC for writing to PageBuffer in units of page (
=
512
bytes). Address and Data are fixed length of 512
bytes + CRC (16-bit).
WRITE_REG
1
0
1
1
Write register
TPC for writing to the register whose address was set.
Address and Data length are set by
SET_R/W_REG_ADRS. Actual Data length: the value
which was set + CRC (16-bit).
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...