Chapter 20. real time clock with software trim -1, Chapte r 21. i, S controller -1 – Cirrus Logic EP93xx User Manual

Page 12: Chapter 23. synchronous serial port -1

Advertising
background image

xii

©

Copyright 2007 Cirrus Logic, Inc.

DS785UM1


EP93xx User’s Guide

Chapter 20. Real Time Clock With Software Trim ............................................ 20-1

20.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20-1

20.1.1 Software Trim ..............................................................................................................20-1

20.1.1.1 Software Compensation ............................................................................20-2
20.1.1.2 Oscillator Frequency Calibration................................................................20-2
20.1.1.3 RTCSWComp Value Determination ..........................................................20-2
20.1.1.4 Example - Measured Value Split Into Integer and Fractional Component .20-3
20.1.1.5 Maximum Error Calculation vs. Real Time Clock Accuracy.......................20-3
20.1.1.6 Real-Time Interrupt ....................................................................................20-3

20.1.2 Reset Control...............................................................................................................20-4

20.1 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20-4

Chapter 21. I

2

S Controller................................................................................... 21-1

21.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-1
21.2 I

2

S Transmitter Channel Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-2

21.3 I

2

S Receiver Channel Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-5

21.3.1 Receiver FIFO’s...........................................................................................................21-6

21.4 I

2

S Master Clock Generation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-7

21.5 I

2

S Bit Clock Rate Generation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-9

21.5.1 Example of the Bit Clock Generation...........................................................................21-9
21.5.2 Example of Right Justified LRCK format ...................................................................21-10

21.6 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-10
21.7 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-12

21.7.1 I

2

S TX Registers........................................................................................................21-12

21.7.2 I

2

S RX Registers .......................................................................................................21-19

21.7.3 I

2

S Configuration and Status Registers.....................................................................21-25

21.7.4 I

2

S Global Status Registers.......................................................................................21-29

Chapter 22. AC’97 Controller.............................................................................. 22-1

22.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22-1
22.2 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22-3

22.2.1 Channel Interrupts .......................................................................................................22-3

22.2.1.1 RIS.............................................................................................................22-3
22.2.1.2 TIS .............................................................................................................22-3
22.2.1.3 RTIS...........................................................................................................22-4
22.2.1.4 TCIS...........................................................................................................22-4

22.2.2 Global Interrupts ..........................................................................................................22-4

22.2.2.1 CODECREADY .........................................................................................22-4
22.2.2.2 WINT..........................................................................................................22-4
22.2.2.3 GPIOINT ....................................................................................................22-4
22.2.2.4 GPIOTXCOMPLETE .................................................................................22-5
22.2.2.5 SLOT2INT..................................................................................................22-5
22.2.2.6 SLOT1TXCOMPLETE ...............................................................................22-5
22.2.2.7 SLOT2TXCOMPLETE ...............................................................................22-5

22.3 System Loopback Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22-5
22.4 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22-5

Chapter 23. Synchronous Serial Port ................................................................ 23-1

23.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-1
23.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-1
23.3 SSP Functionality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-2
23.4 SSP Pin Multiplex. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23-2

Advertising