Ezurio ACC-005 Скачать руководство пользователя страница 5

 

Configure the Slave unit as follows: 

 

AT&F* 

Restore system defaults 

ATZ 

Reset the unit 

ATS512=4 Make 

connectable and discoverable 

ATS0=1 

Answer after 1 ring 

ATS531=1 

Keep AT command mode going after a connection is 

established 

ATS589=7 

Set Max. Volume level (requires firmware V9_20_22) 

AT&W 

Save the above settings 

ATZ 

Reset the unit. 

 

5)  Find out the 

Bluetooth

 address of the Slave Unit by typing ATI4<return> 

 

6)  Configure the Master Unit as follows: 

 

AT&F* 

Restore System Defaults 

ATZ 

Reset the unit 

ATS531=1 

Keep the AT commands going after a connection is 

established 

ATS589=7 

Set volume to maximum 

AT&W 

Save to flash 

ATZ 

Reset the unit. 

ATD008098nnnnnn 

 

Connect to the slave (substitute your slave’s 

Bluetooth

 

address that you found in step 5 for nnnnnn) 

AT+BTA1 

Establish an audio link – displays AUDIO ON on both sides.  

(Alternatively AT+BTA7 can be used and the units will 

negotiate the best link type.) 

 

An Audio link is now established between the two units. 

 

AT=BTA0 will turn off the audio link (but still leave the units connected). 

 

To change volume use ATS589.  ATS589=0 gives minimum, ATS589=7 gives maximum. 

 

4.

 

Bluetooth SCO Links – A Primer 

4.1 

Normal SCO 

Bluetooth

 uses a Synchronous Connection-Orientated link (SCO) for audio. All this means is 

that for an audio link, the bandwidth needed to maintain the data rates required by the audio 

link is pre-allocated between the master and slave.  This ensures audio data is always 
transmitted at the required data rate, and takes 

priority over the transmission

 of digital 

data.  
The 

Bluetooth

 specification for SCO is such that there is no re-transmission if data is 

corrupted or lost. This explains the crackling and popping that occurs when you get to the 

limits of radio range.  
The actual data rate over the air is 64 kbits/sec. There are 1600 timeslots available per 

second and when a master transmits a SCO packet in one timeslot, the slave replies with its 

SCO packet in the next. The SCO packet size is fixed at 240 bits (30 bytes). This means 

when a SCO link is established using the HV3 packet type, two out of every 6 timeslots  are 

used up by the SCO link. This means there is enough bandwidth to have up to three SCO 

links active between a master and slave at the same time. In this scenario, there are no 

spare timeslots for other data. 
There are 3 main types of SCO packets, HV1, HV2 and HV3 (High Quality Voice). As 

mentioned earlier, the HV3 packet type has a 1 to 1 mapping between incoming audio data 

and the data transmitted over the air. There is no error correction possible with HV3. 

APN_06002_1v03 Winbond Audio Board Application Note   

 

 

 

Содержание ACC-005

Страница 1: ...EZURiO Ltd shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing performance or use of this material Copyright 2006 EZURiO Limite...

Страница 2: ...eadphone output which are compatible with standard PC headsets The W681630 codec has several features such as power down mode and high pass filter disable to allow frequencies down to DC to be used Th...

Страница 3: ...microphone signal is mixed into the headphone output signal via VR2 This feature is known as sidetone and allows the user to hear their own voice when speaking It is commonly used in telephony applica...

Страница 4: ...re is a jumper setting on the motherboard that needs to be checked This is CB1 next to the USB adaptor which must be removed If fitted it will short out the PCM output from the codec and prevent it op...

Страница 5: ...rientated link SCO for audio All this means is that for an audio link the bandwidth needed to maintain the data rates required by the audio link is pre allocated between the master and slave This ensu...

Страница 6: ...gh quality audio to be streamed in one direction eSCO offers significantly better audio quality but has to be configured at both ends of the link before a unit is enabled to accept incoming connection...

Страница 7: ...ock rate used for sampling is 250kHz 4 s 16 clock cycles takes 64 s 8kHz equates to 125 s The same timing is used for all packet types in both SCO and eSCO modes 5 Frequency Response 5 1 Codec Frequen...

Страница 8: ...bit only implements an up or a down shift relative to the previous level corruption of the MSB of a 13 bit sample would create a much larger error term than is possible with ADPCM A draw back of ADPC...

Страница 9: ...effective design but care must be taken to ensure that the 32 specification of load is met by selecting an appropriate headset Remove R10 R13 and R12 Fit R11 R9 R38 as zero ohm links Fit 39k in place...

Страница 10: ...the codec via MPIO_5 For AT commands MPIO_5 translates to GPIO 7 The put GPIO 7 into output mode use ats610 040 To turn the codec on use ats627 1 To turn the codec off use ats627 0 6 6 Alternative PC...

Страница 11: ...les gives the mapping between GPIO MPIO and RS232 signals RS232 Hardware DCD MPIO_3 RI MPIO_2 DTR MPIO_9 DSR MPIO_8 AT Command Hardware GPIO_1 MPIO_0 GPIO_2 MPIO_1 GPIO_3 MPIO_9 GPIO_4 MPIO_10 GPIO_5...

Страница 12: ...4832 232 L1 10uH Thin Film Inductor 1210 R1 R2 R5 R35 R36 R37 10K 1 Thick Film Resistor 0805 R3 R7 R8 R9 R11 R34 R38 0R Not Fitted 5 Thick Film Resistor 0805 R4 R6 R10 R12 R13 R33 0R 5 Thick Film Resi...

Страница 13: ...to cause the failure of the life support device or system or to affect its safety or effectiveness EZURiO does not assume responsibility for use of any of the circuitry described no circuit patent lic...

Отзывы: