23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(3) Interface specification<br />

Under development<br />

<strong>TMPM330</strong> (rev 0.4)17-17<br />

<strong>TMPM330</strong><br />

In Single Boot mode, an SIO channel is used for communications with a programming controller. The<br />

same configuration is applied to a communication format on a programming controller to execute the<br />

on-board programming. Both UART (asynchronous) and I/O Interface (synchronous) modes are<br />

supported. The communication formats are shown below.<br />

• UART communication<br />

Communication channel : SIO channel 0<br />

Serial transfer mode : UART (asynchronous), half -duplex, LSB fast<br />

Data length : 8 bit<br />

Parity bits : None<br />

STOP bits : 1 bit<br />

Baud rate : Arbitrary baud rate<br />

• I/O interface mode<br />

Communication channel : SIO channel 0<br />

Serial transfer mode : I/O interface mode, full -duplex, LSB fast<br />

Synchronization clock (SCLK0) : Input mode<br />

Handshaking signal : PE4 configured as an output mode<br />

Baud rate : Arbitrary baud rate<br />

Power supply<br />

pins<br />

Pins<br />

Table 17-3 Required Pin Connections<br />

Interface<br />

UART I/O Interface Mode<br />

VDD_regu ○ ○<br />

VDD_AD ○ ○<br />

VDD_IO_1,2 ○ ○<br />

CVCC ○ ○<br />

VSS_regu ○ ○<br />

VSS_AD ○ ○<br />

VSS_IO_1,2 ○ ○<br />

CVSS ○ ○<br />

Mode-setting pin BOOT (PH0) ○ ○<br />

Reset pin RESET ○ ○<br />

Communication<br />

pins<br />

(4) Data Transfer Format<br />

TXD0(PE0) ○ ○<br />

RXD0(PE1) ○ ○<br />

SCLK0(PE2) x ○ (Input mode)<br />

PE4 x ○ (Output mode)<br />

Table 17-4 and Table 17-6 to Table 17-10 illustrate the operation commands and data transfer formats at each<br />

operation mode. In conjunction with this section, refer to (6) Operation of Boot Program.<br />

Table 17-4 Single Boot Mode Commands<br />

Code Command<br />

10H RAM transfer<br />

20H Show Flash Memory SUM<br />

30H Show Product Information<br />

40H Chip erase<br />

Flash Memory Operation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!