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) Cycle Error<br />

Under development<br />

Configure the CECRCR1 bits to detect a cycle error.<br />

<strong>TMPM330</strong> (rev0.4)11-20<br />

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

You can specify the time to detect a cycle error for each sampling clock cycle between the ranges<br />

of -4 to +3 cycles from the maximum or minimum time set in the CEC standard.<br />

Detecting an error during data reception causes an error interrupt, and CEC waits for the next start<br />

bit. The received data is discarded.<br />

(4) Point of Determining Data<br />

Configure the CECRCR1 bit for the point of determining the data as “0” or “1”.<br />

You can specify it per two sampling clock cycles between the ranges of + or - 6 cycles with approx.<br />

1.05 ms from the bit start point.<br />

(5) ACK Response<br />

Configuring the CECRCR1 bit enables you to specify if logical “0” is sent or not as<br />

an ACK response to the data block when destination address corresponds with the address set in<br />

the logical address register.<br />

The header block sends logical “0” as an ACK response regardless of the bit setting when<br />

detecting the addresses corresponding.<br />

(6) Receive Error Interrupt Suspend<br />

Configure the CECRCR1 bit to specify if a receive error interrupt (maximum cycle<br />

error, buffer overrun and waveform error) is suspended or not.<br />

Setting “1” generates no interrupt at the error detection. If data continues to the ACK bit, an ACK<br />

response is executed by a reversed logic. If the subsequent bits are interrupted, it is determined as a<br />

timeout, based on the setting in of the CECRCR1 register. After the ACK response or<br />

the timeout determination, an interrupt is generated.<br />

(7) Cycles to Identify Timeout<br />

Configure the CECRCR1 bit to specify the time to determine a timeout.<br />

This is used when the setting of a receive error interrupt suspension, which is specified in<br />

CECRCR1 , is valid.<br />

CEC

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

Saved successfully!

Ooh no, something went wrong!