Last modified 2 years ago
TracNav
- Hardware [[DevicesList(...)]]
- Development
- Vendors
V3 Sound
Description
V3 uses IC2201 chip for audio output. This chip is a full analog of the well known MPEG codec VS1101k [1]. The codec has two interfaces: control interface SCI and data interface SDI. It seems that there is no connection between the microcontroller and SDI. Both interfaces are connected to the same SPI line of S3C2410 controller, as described in [3].
Connection to Samsung S3C2410 MCU
| VS1001k | S3C2410 | ||||
|---|---|---|---|---|---|
| Pin | Name | Type | Pin | Name | Notes |
| SCI | |||||
| 30 | SO | out | T7 | GPE11/SPIMISO0 | *1 |
| 29 | SI | in | U7 | GPE12/SPIMOSI0 | *1 |
| 28 | SCLK | in | P8 | GPE13/SPICLK0 | *1 |
| 23 | xCS | in | T2 | GPD8/VD16 | |
| SDI | |||||
| 10 | SDATA | in | U7 | GPE12/SPIMOSI0 | *2 |
| 9 | DCLK | in | P8 | GPE13/SPICLK0 | *2 |
| 13 | BSYNC | in | R3 | GPD9/VD17 | *3 |
| 8 | DREQ | out | G4 | GPG3/TOUT3 | *4 |
| Other | |||||
| SDI_MUX | in | M3 | GPC11/VD3 | *5 | |
| 3 | xRESET | in | L4 | GPC10/VD2 | |
| 6,14,19 | VDD[0..2] | PWR | G2 | GPB7/nXDACK1 | *6 |
| UNKNOWN | H4 | GPB8/nXDREQ1 | *7 | ||
Notes:
- Analog of SPI0 master mode
- Connected to SPI line via a multiplexer
- According to [2], this line must be activated every time a byte is sent to SDI, but it would suffice to set the line to 0 in the beginning of the block and to 1 at the end of the block;
- The pull up resistor must be switched off;
- Control of the multiplexer that connects the SDI line to the controller's SPI line. The SCI interface is always connected to the line, so the xCS should be set to high level before using SDI;
- This is not a direct connection. GPB7 line manages the power supply of the sound chip;
- This line must be always set to 1. We could not identify the line, but unless it is set to 1 before the power is supplied to codec, the device hangs;
Headphones discovery
GPI0 signal GPF3 is used to determine whether headphones are plugged in. Pull up resistor must be enabled with GPFUP register. The line may be switched to the interrupt mode. It seems reasonable to include this function into the keyboard driver.
Links:
- Official web site: http://www.vlsi.fi/en/products/vs1001.html
- Datasheet v4.14 from the official web site: http://www.vlsi.fi/fileadmin/datasheets/vlsi/vs1001.pdf
- Chip description (in Russian): http://www.compitech.ru/html.cgi/arhiv/03_04/stat_160.htm

