![Samsung S3C2416 Скачать руководство пользователя страница 591](http://html.mh-extra.com/html/samsung/s3c2416/s3c2416_user-manual_340824591.webp)
S3C2416X RISC MICROPROCESSOR
IIS MULTI AUDIO INTERFACE
23-9
7.4 EXAMPLE CODE
TX CHANNEL
The I2S TX channel provides single/double/tripple stereo compliant outputs. The transmit channel can operate
in master or Slave mode. Data is transferred between the processor and the I2S controller via an APB access or a
DMA access.
The processor must write words in multiples of two (i.e. for left and right audio sample).The words are serially
shifted out timed with respect to the audio serial BITCLK, SCLK and word select clock, LRCLK.
TX Channel has 16X32 bit wide FIFO where the processor or DMA can write UPTO 16 left/right data samples
after enabling the channel for transmission.
An Example sequence is as the following.
Ensure the PCLK and CLKAUDIO are coming correctly to the I2S controller and FLUSH the TX FIFO using the
TFLUSH bit in the I2SFIC Register (I2S FIFO Control Register).
Please ensure that I2S Controller is configured in one of the following modes.
•
TX only mode
•
TX/RX simultaneous mode
This can be done by programming the TXR bit in the I2SMOD Register (I2S Mode Register).
1. Then Program the following parameters according to the need
•
IMS
•
SDF
•
BFS
•
BLC
•
LRP
For Programming, the above-mentioned fields please refer I2SMOD Register (I2S Mode Register).
2. Once ensured that the input clocks for I2S controller are up and running and step 1 and 2 have been
completed we can write to TX FIFO.
The write to the TX FIFO has to be carried out thorough the I2STXD Register (I2S TX FIFO Register)
This 32 bit data will occupy position 0 of the FIFO and any further data will be written to position 2, 3 and so on.
Содержание S3C2416
Страница 33: ...S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW 1 5 3 BLOCK DIAGRAM Figure 1 1 S3C2416X Block Diagram ...
Страница 38: ...PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR 1 10 153 AIN 1 U14 195 EINT 10 GPG2 K15 237 SDATA 14 C18 ...
Страница 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Страница 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Страница 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Страница 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Страница 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Страница 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Страница 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Страница 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Страница 455: ...S3C2416X RISC MICROPROCESSOR HSMMC CONTROLLER 20 9 4 9 SD COMMAND ISSUE SEQUENCE Figure 20 9 Timeout Setting Sequence ...
Страница 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Страница 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Страница 653: ...S3C2416X RISC MICROPROCESSOR ELECTRICAL DATA 26 15 Figure 26 14 SDRAM READ WRITE Timing Trp 2 Trcd 2 Tcl 2 DW 16 bit ...
Страница 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...
Страница 672: ...MECHANICAL DATA S3C2416X RISC MICROPROCESSOR 30 2 Figure 27 2 330 FBGA 1414 Package Dimension 2 Bottom View ...