sites.google.com Open in urlscan Pro
2a00:1450:4001:80f::200e  Public Scan

URL: https://sites.google.com/a/chromium.org/dev/chromium-os/testing/chamelium-audio-board
Submission Tags: falconsandbox
Submission: On August 23 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

/a/chromium.org/dev/system/app/pages/search

<form id="sites-searchbox-form" action="/a/chromium.org/dev/system/app/pages/search" role="search"><input type="hidden" id="sites-searchbox-scope" name="scope" value="search-site"><input type="text" id="jot-ui-searchInput" name="q" size="20" value=""
    aria-label="Diese Site durchsuchen">
  <div id="sites-searchbox-button-set" class="goog-inline-block">
    <div role="button" id="sites-searchbox-search-button" class="goog-inline-block jfk-button jfk-button-standard" tabindex="0" style="user-select: none;">Diese Site durchsuchen</div>
  </div>
</form>

Text Content

THE CHROMIUM PROJECTS

Diese Site durchsuchen


 * Home
 * Chromium
 * Chromium OS

QUICK LINKS

 * Report bugs
 * Discuss
 * Карта сайта

OTHER SITES

 * Chromium Blog
 * Google Chrome Extensions

Except as otherwise noted, the content of this page is licensed under a Creative
Commons Attribution 2.5 license, and examples are licensed under the BSD
License.

Chromium OS‎ > ‎Testing Home‎ > ‎


CHAMELIUM AUDIO BOARD




Inhalt

 1. 1 Introduction
 2. 2 Components
 3. 3 Bootstrap
 4. 4 Setup Chamelium Info
 5. 5 Run the test
 6. 6 Test output/input devices basic function
    1. 6.1 Output audio devices
    2. 6.2 Input audio devices
 7. 7 Advanced tests



INTRODUCTION

Chamelium audio board routes audio between four endpoints with two stereo audio
buses:
 * DUT device headphone jack
 * Chamelium FPGA board line-out/line-in
 * Peripheral speaker/microphone
 * Bluetooth audio module

It helps Chamelium automate audio testing including:
 * 3.5mm headphone
 * 3.5mm external microphone
 * Onboard internal speaker
 * Onboard internal microphone
 * Bluetooth A2DP playback
 * Bluetooth HSP/HFP playback
 * Bluetooth HSP/HFP record


COMPONENTS

 * Chamelium

> > 

 * Audio Board Block Diagram

> > 



> > 

 * Audio Board

> > 

 * Two 3-ring (TRS) audio jack cables
 * One 4-ring (TRRS) audio jack cable
 * One serial ribbon cable (connecting CN4 on audio board with J13_LTC_CON on
   FPGA)
 * USB-A to mini-USB cable
 * 3-ring (TRS) 3.5mm microphone


BOOTSTRAP

 * Connect audio board and FPGA board with the serial ribbon grey cable (see the
   assembled picture).

 * Connect audio board and Chamelium line-in and line-out (blue jack to blue
   jack, green jack to green jack) using two 3.5mm 3-ring(TRS) cables.

 * For audio jack external audio - connect tested device with audio board using
   3.5mm 4-ring (TRRS) cable.

 * For USB audio - connect tested device with the middle USB port on FPGA (top)
   board.

 * For internal speaker test - connect a mono microphone (two conductor, TS
   connector) to the pink port on the FPGA (top) board.

 * For internal microphone test - connect a speaker to black SPK port on audio
   board.

 * For Bluetooth test - Chamelium Eth MAC and audio board BT MAC should be
   related in chameleon_info.





SETUP CHAMELIUM INFO

 1. Use the interactive script ~/trunk/src/platform/chameleon/client/test_server
    to connect to chameleond server.
    ~/trunk/src/platform/chameleon/client/test_server
    --chameleon_host=<chameleon ip>

 2. Get the MAC address of chamelium: >>> p.GetMacAddress()
    
    '94:eb:2c:00:01:27'

 3. Disable the bluetooth module on audio board:
    >>> p.AudioBoardDisableBluetooth()

 4. ssh into Cros device:
    ssh chromeos1-row5-rack1-host2.cros

 5. Use bluetoothctl to turn on adapter and start scanning

localhost ~ # bluetoothctl

[NEW] Controller 7C:7A:91:9A:EE:89 Chromebook [default]

[bluetooth]# power on

Changing power on succeeded

[bluetooth]# scan on

Discovery started

[CHG] Controller 7C:7A:91:9A:EE:89 Discovering: yes

 6. Enable the bluetooth module on audio board using test_server: >>>
    p.AudioBoardResetBluetooth()

 7. In bluetoothctl console, check there is a new SX3868-3Y device being
    scanned:

[NEW] Device 00:1F:84:01:03:5B SX3868-3Y

[CHG] Device 00:1F:84:01:03:5B RSSI: -67

[CHG] Device 00:1F:84:01:03:5B RSSI: -56

[CHG] Device 00:1F:84:01:03:5B RSSI: -68

 8. Now we know Chamelium with MAC address '94:eb:2c:00:01:27' has a Bluetooth
    module with MAC address ‘00:1F:84:01:03:5B’ on its audio board.

 9. Add the mapping info to client/cros/chameleon/chameleon_info.py

_CHAMELEON_BOARD_INFO = {

       '94:eb:2c:00:00:fb': ChameleonInfo('00:1F:84:01:03:68'),

       '94:eb:2c:00:01:2b': ChameleonInfo('00:1F:84:01:03:5E'),

       '94:eb:2c:00:01:27': ChameleonInfo('00:1F:84:01:03:5B'), }





RUN THE TEST

For example, run basic headphone test on a squawks board 5 times:
test_that --board=squawks --fast --debug --args="chameleon_host=$CHAMELIUM_IP"
$DUT_IP audio_AudioBasicHeadphone --iterations 5


TEST OUTPUT/INPUT DEVICES BASIC FUNCTION


OUTPUT AUDIO DEVICES

Internal speaker - audio_AudioBasicInternalSpeakerHeadphone -
audio_AudioBasicHeadphoneHDMI/DisplayPort - audio_AudioBasicHDMIUSB headphone -
audio_AudioBasicUSBPlaybackBluetooth headphone -
audio_AudioBasicBluetoothPlayback


INPUT AUDIO DEVICES

 * Internal microphone - audio_AudioBasicInternalMicrophone
 * External microphone - audio_AudioBasicExternalMicrophone
 * USB microphone - audio_AudioBasicUSBRecord
 * Bluetooth microphone - audio_AudioBasicBluetoothRecord


ADVANCED TESTS

 * Volume control: audio_AudioVolume
 * Suspend/Resume, Reboot: audio_AudioAfterSuspend, audio_AudioAfterReboot,
   audio_AudioQualityAfterSuspend
 * Quality and artifacts: audio_AudioArtifacts
 * BT connection: audio_AudioBluetoothConnectionStability
 * BT playback + record: audio_AudioBasicBluetoothPlaybackRecord
 * USB playback + record: audio_AudioBasicUSBPlaybackRecord
 * Chrome media player: audio_MediaBasicVerification
 * WebRTC: audio_AudioWebRTCLoopback
 * ARC: audio_AudioARCPlayback, audio_AudioARCRecord

Č
Aktualisierung…

ą
Chameleon Audio Board Block Diagram.png
(129k)
Tony Lin,
05.01.2017, 22:12
v.1
ď

ċ
Chameleon Audio Board R1.1 Release PCB.zip
(1816k)
Tony Lin,
05.01.2017, 22:02
v.1
ď

Ċ
Chameleon Audio Board R1.1 Release.pdf
(355k)
Tony Lin,
05.01.2017, 21:58
v.1
ď


Kommentare
Anonym
undefined
 
Durch Ihre @Erwähnung werden Personen dieser Diskussion hinzugefügt und per
E-Mail darüber informiert.
Es wird geprüft, ob die erwähnten Personen Zugriff haben…
Die zugewiesene Person wird benachrichtigt und ist dafür verantwortlich, die
Aufgabe als erledigt zu markieren.



Abbrechen
Sie sind nicht berechtigt, Kommentare hinzuzufügen.





Anmelden|Aktuelle Site-Aktivitäten|Missbrauch melden|Seite drucken|Powered by
Google Sites