![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
october 2012 doc id 023226 rev 2 1/13 AN4118 application note apwlink usb interface board for sound terminal ? demonstration boards introduction this document describes apwlink which has been designed as a usb interface board to control st sound terminal ? demonstration boards through apworkbench, please refer to user manual um1545, ?using the audio processor workbench (apworkbench)?. the orderable part number for apwlink is steval-cca035v1. figure 1. apwlink interface board (steval-cca035v1) www.st.com
contents AN4118 2/13 doc id 023226 rev 2 contents 1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2 3.3 v digital power output to sound terminal ? demonstration board . . . . . 4 2.3 connection to sound terminal ? demonstration board . . . . . . . . . . . . . . . . 4 2.4 leds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.5 analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.6 external i 2 s input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.7 serial digital audio input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.8 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 schematic and bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 AN4118 overview doc id 023226 rev 2 3/13 1 overview in addition to providing control signals to the external sound terminal ? demonstration board, analog/digital audio inputs are also provided from apwlink. the system connections are shown below in the following figure. figure 2. system connections figure 3. apwlink general view usb cable apwlink sound terminal ? demonstration board analog source digital source apworkbench configuration AN4118 4/13 doc id 023226 rev 2 2 configuration 2.1 power supply apwlink is directly powered by a usb cable (type b). no external power supply is needed. note that this power supply is not for the power bridge supply on the sound terminal ? demonstration board. please refer to the application note of each specific sound terminal ? demonstration board. 2.2 3.3 v digital power output to sound terminal ? demonstration board jumper j12 is used for the selection of the external sound terminal ? demonstration board digital power supply. when j12 is closed, 3. 3 vdc is provided to the external sound te r m i n a l ? demonstration board, and if the external sound terminal ? demonstration board has its own 3.3 v digital power supply, j12 has to be left open to avoid any current loop. 2.3 connection to sound terminal ? demonstration board apwlink is simply connected to the sound terminal ? demonstration board through j10, an on-board 16-pin female 8x2 2.54 mm connector as shown below. figure 4. connection to sound terminal ? demonstration board AN4118 configuration doc id 023226 rev 2 5/13 2.4 leds apwlink provides the following three leds: d1: power supply ? on when usb power is supplied d2: communication wrong ? on when communication between pc and apwlink is wrong digital audio input error ? on when the digital input signal is not validated or no digital signal is input 2.5 analog input an analog signal (can be dc coupled) can be input from j9 (3.5 mm phone jack). there is an on-board adc (st part number: sta529q) to convert the analog signal to a digital i 2 s format signal and feed it to the external sound terminal ? demonstration board. to enable the on-board sta529q adc, the following actions should be taken within apworkbench as shown in the screenshots below. figure 5. enabling the adc using apworkbench configuration AN4118 6/13 doc id 023226 rev 2 2.6 external i 2 s input the external i 2 s signal can be input to apwlink through j15 directly. for example, the external i 2 s signal can come from an external adc if the on-board adc is bypassed. j5 includes the analog signals from j9 (stereo analog input jack), plus 3.3 vdc power supply, which can be fed to the external adc. the i 2 s from the external adc can be fed into apwlink through j15, as indicated below. figure 6. i 2 s input from an external adc through j15 2.7 serial digital audio input electrical and optical inputs are supported on-board to receive serial digital audio signals. a jumper (jp2) is used to select either the electr ical or optical signal. the input signal is then converted to an i 2 s format by the on-board decoder (st part number: sta120d) and fed to the external sound terminal ? demonstration board. serial digital formats supported by the sta120d: s/pdif aes/ebu iec 958 eiaj cp-340/1201 the proper jumper setting is described in section 2.8: jumper configuration . AN4118 configuration doc id 023226 rev 2 7/13 2.8 jumper configuration table 1. jumper configuration jumper mode serial digital input external i 2 s on-board adc (1) j2 lr clock from sta529q - on-board adc open open close j3 bit clock from sta529q - on-board adc open open close j4 i 2 s data from sta529q - on-board adc open open close j5 analog output / 3.3 vdc for external adc all open see footnote (2) all open j7 mclk to sta529q ? on-board adc open open close j12 3.3 vdc to external sound terminal ? demonstration board close close close j13 reserved, not used all open all open all open j15 i 2 s selector for external sound terminal ? demonstration board close only the relevant pins see footnote (3) all open j16 i 2 s data selector for external sound terminal ? demonstration board all close all close all close jp1 reserved, not used all open all open all open jp2 serial digital audio source selector for electrical: for optical: do not care do not care 1. apworkbench supports on-board adc function. 2. please refer to section 2.6: external i 2 s input on page 6 for detailed signal definition for each pin. 3. please refer to section 2.6: external i 2 s input on page 6 for detailed signal definition for rele vant pins. all other pins can be left open. schematic and bill of material AN4118 8/13 doc id 023226 rev 2 3 schematic and bill of material figure 7. apwlink schematic - part 1 y # p v ( ( 6 . ( ( ' $ 7 $ 9 & |