23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(3) Receive Buffer Overrun<br />

Under development<br />

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

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

A receive buffer overrun interrupt is generated when the next data reception is completed before<br />

reading the data stored in the receive buffer.<br />

The interrupt sets the CECRSTAT bit.<br />

(4) Waveform Error<br />

Beginning of ACK bit<br />

A waveform error occurs when waveform error detection is enabled in CECRCR3. Detecting a<br />

waveform, which does not identical to the defined, results in the waveform error. The interrupt is<br />

generated.<br />

The interrupt sets the CECRSTAT bit.<br />

(5) Suspending Receive Error Interrupt<br />

2.0ms<br />

End of “0”<br />

output<br />

Detection period<br />

You can specify if a maximum cycle error, a buffer overrun and a waveform error are suspended or<br />

not without generating an interrupt at error detection. This can be set in the CECRCR1<br />

bit. To enable the setting, a timeout setting with the CECRCR1 bit is<br />

required.<br />

Under suspend-enable condition, if CEC keeps receiving the next bit and the entire reception<br />

including the ACK bit is completed, CEC generates an interrupt after a reversed ACK response is<br />

executed. “1” is set to the bits of the CECRSTAT register: the bit that indicates the<br />

reception completion, and the bits corresponding to the detected errors.<br />

If the reception of the next bit is interrupted, CEC starts to measure the timeout period, and an<br />

interrupt is generated after the timeout. “1” is set to the bits of the CECRSTAT register corresponding<br />

to the detected error.<br />

The timeout is measured from the end of the last bit received as is the case with wait time of a bus<br />

to be free in transmission.<br />

0.3ms<br />

CEC

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

Saved successfully!

Ooh no, something went wrong!