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.19 Signal Generation Timing<br />

UART Mode:<br />

Receive Side<br />

Under development<br />

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

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

Mode 9-bit 8-bit with parity 8-bit, 7-bit, and 7-bit with parity<br />

Interrupt generation Around the center of<br />

timing<br />

the 1st stop bit<br />

Framing error Around the center of<br />

generation timing the stop bit<br />

Parity error generation<br />

⎯<br />

timing<br />

Overrun error Around the center of<br />

generation timing the stop bit<br />

Around the center of the 1st<br />

stop bit<br />

Around the center of the stop<br />

bit<br />

Around the center of the last<br />

(parity) bit<br />

Around the center of the stop<br />

bit<br />

Around the center of the 1st stop bit<br />

Around the center of the stop bit<br />

Around the center of the last (parity) bit<br />

Around the center of the stop bit<br />

Transmit Side<br />

Mode 9-bit 8-bit with parity 8-bit, 7-bit, and 7-bit with parity<br />

Interrupt generation<br />

timing<br />

( = 0)<br />

Interrupt generation<br />

timing<br />

( = 1)<br />

② I/O interface mode:<br />

Receive Side<br />

Transmit Side<br />

Just before the stop bit<br />

is sent<br />

Immediately after data<br />

is moved to transmit<br />

buffer 1 (just before<br />

start bit transmission)<br />

Just before the stop bit is sent Just before the stop bit is sent<br />

Immediately after data is<br />

moved to transmit buffer 1<br />

(just before start bit<br />

transmission).<br />

Immediately after data is moved to transmit<br />

buffer 1 (just before start bit transmission)<br />

Interrupt generation timing SCLK output mode Immediately after the rising edge of the last SCLK<br />

( = 0) SCLK input mode Immediately after the rising or falling edge of the last SCLK (for rising or<br />

falling edge mode, respectively).<br />

Interrupt generation timing SCLK output mode Immediately after the rising edge of the last SCLK (just after data<br />

( = 1)<br />

transfer to receive buffer 2) or just after receive buffer 2 is read.<br />

SCLK input mode Immediately after the rising edge or falling edge of the last SCLK (right<br />

after data is moved to receive buffer 2).<br />

Overrun error generation SCLK input mode Immediately after the rising or falling edge of the last SCLK (for rising or<br />

timing<br />

falling edge mode, respectively)<br />

Interrupt generation timing SCLK output mode Immediately after the rising edge of the last SCLK<br />

( = 0) SCLK input mode Immediately after the rising or falling edge of the last SCLK (for rising or<br />

falling edge mode, respectively)<br />

Interrupt generation timing SCLK output mode Immediately after the rising edge of the last SCLK or just after data is<br />

( = 1)<br />

moved to Transmit Buffer 1<br />

SCLK input mode Immediately after the rising or falling edge of the last SCLK or just after<br />

data is moved to Transmit Buffer 1<br />

Under-run error generation<br />

timing<br />

SCLK input mode Immediately after the falling or rising edge of the next SCLK<br />

(Note 1) Do not modify any control register when data is being sent or received (in a<br />

state ready to transmit or receive).<br />

(Note 2) Do not stop the receive operation (by setting SC0MOD0 = “0”) when<br />

data is being received.<br />

(Note 3) Do not stop the transmit operation (by setting SC0MOD1 = “0”)<br />

when data is being transmitted.<br />

Serial Channel (SIO)

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

Saved successfully!

Ooh no, something went wrong!