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.

9.3.8 Transmit Counter<br />

9.3.9 Transmit Control Unit<br />

Under development<br />

<strong>TMPM330</strong> (rev 0.4) 9-18<br />

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

The transmit counter is a 4-bit binary counter used in the asynchronous communication<br />

(UART) mode. It is counted by SIOCLK as in the case of the receive counter and generates<br />

a transmit clock (TXDCLK) on every 16th clock pulse.<br />

SIOCLK<br />

15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2<br />

TXDCLK<br />

• I/O interface mode:<br />

Fig. 9-5 Transmit Clock Generation<br />

In the SCLK output mode with SC0CR set to “0,” each bit of data in the transmit<br />

buffer is output to the TXD0 pin on the rising edge of the shift clock output from the<br />

SCLK0 pin.<br />

In the SCLK input mode with SC0CR set to “1,” each bit of data in the transmit<br />

buffer is output to the TXD0 pin on the rising or falling edge of the input SCLK signal<br />

according to the SC0CR setting.<br />

• Asynchronous (UART) mode:<br />

When the CPU writes data to the transmit buffer, data transmission is initiated on the<br />

rising edge of the next TXDCLK and the transmit shift clock (TXDSFT) is also generated.<br />

Serial Channel (SIO)

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

Saved successfully!

Ooh no, something went wrong!