Chapter 22 Multichannel Audio Serial Port (McASP).pdf
Chapter 22 Multichannel Audio Serial Port (McASP).pdf
Chapter 22 Multichannel Audio Serial Port (McASP).pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Functional Description www.ti.com<br />
<strong>22</strong>.3.10.4.6 Clock Failure Detection<br />
<strong>22</strong>.3.10.4.6.1 Clock-Failure Check Startup<br />
It is expected, initially, that the clock-failure circuits will generate an error until at least one measurement<br />
has been taken. Therefore, the clock failure interrupts, clock switch, and mute functions should not<br />
immediately be enabled, but be enabled only after a specific startup procedure. The startup procedure is:<br />
1. For the transmit clock failure check:<br />
(a) Configure transmit clock failure detect logic (XMIN, XMAX, XPS) in the transmit clock check control<br />
register (XCLKCHK).<br />
(b) Clear transmit clock failure flag (XCKFAIL) in the transmit status register (XSTAT).<br />
(c) Wait until first measurement is taken (> 32 AHCLKX clock periods).<br />
(d) Verify no clock failure is detected.<br />
(e) Repeat steps b–d until clock is running and is no longer issuing clock failure errors.<br />
(f) After the transmit clock is measured and falls within the acceptable range, the following may be<br />
enabled:<br />
(i) transmit clock failure interrupt enable bit (XCKFAIL) in the transmitter interrupt control register<br />
(XINTCTL).<br />
(ii) transmit clock failure detect autoswitch enable bit (XCKFAILSW) in the transmit clock check<br />
control register (XCLKCHK).<br />
(iii) mute option (XCKFAIL) in the mute control register (AMUTE).<br />
2. For the receive clock failure check:<br />
(a) Configure receive clock failure detect logic (RMIN, RMAX, RPS) in the receive clock check control<br />
register (RCLKCHK).<br />
(b) Clear receive clock failure flag (RCKFAIL) in the receive status register (RSTAT).<br />
(c) Wait until first measurement is taken (> 32 AHCLKR clock periods).<br />
(d) Verify no clock failure is detected.<br />
(e) Repeat steps b–d until clock is running and is no longer issuing clock failure errors.<br />
(f) After the receive clock is measured and falls within the acceptable range, the following may be<br />
enabled:<br />
(i) receive clock failure interrupt enable bit (RCKFAIL) in the receiver interrupt control register<br />
(RINTCTL).<br />
(ii) mute option (RCKFAIL) in the mute control register (AMUTE).<br />
3968 <strong>Multichannel</strong> <strong>Audio</strong> <strong>Serial</strong> <strong>Port</strong> (<strong>McASP</strong>) SPRUH73E–October 2011–Revised May 2012<br />
Submit Documentation Feedback<br />
Copyright © 2011–2012, Texas Instruments Incorporated