IMX8 Android Audio: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 11: Line 11:


===Hardware Setup===
===Hardware Setup===
==={{#var:HARDWARE_NAME}}===
===={{#var:HARDWARE_NAME}}====
- Line IN: J21 - Audio Jack 3.5 mm  <br>
- Line IN: J21 - Audio Jack 3.5 mm  <br>
- Headphone Out: J22 - Audio Jack 3.5mm <br>
- Headphone Out: J22 - Audio Jack 3.5mm <br>
- DMIC: On board
- DMIC: On board


===Audio In===
====Audio In====
- Connect 3.5 mm jack to Audio In: Ref:https://www.amazon.ca/AmazonBasics-3-5mm-Stereo-Audio-Cable/dp/B00NO73MUQ <br>
- Connect 3.5 mm jack to Audio In: Ref:https://www.amazon.ca/AmazonBasics-3-5mm-Stereo-Audio-Cable/dp/B00NO73MUQ <br>
- One side Audio Output, one side Audio In Jack of the platform. <br>
- One side Audio Output, one side Audio In Jack of the platform. <br>
- Depending upon the HW connect the audio jack as per following connectors.
- Depending upon the HW connect the audio jack as per following connectors.


==Audio Output==
====Audio Output====
- Connect 3.5 mm headphone jack to headphone / speaker
- Connect 3.5 mm headphone jack to headphone / speaker



Revision as of 22:12, 26 December 2019

DART-MX8M - Android Oreo Android O8.1.0_r14 Android Audio

Android Audio

To give you overview we recommend you go through the https://source.android.com/devices/audio documents.

Android Provides

  1. Audio HAL from NXP
  2. Variscite adds EVK hardware support such as codec, DMIC support to the HAL.
  3. Once you program the images, it comes with the required HAL support to verify the Audio input / Output Functionality.

Hardware Setup

DART-MX8M

- Line IN: J21 - Audio Jack 3.5 mm
- Headphone Out: J22 - Audio Jack 3.5mm
- DMIC: On board

Audio In

- Connect 3.5 mm jack to Audio In: Ref:https://www.amazon.ca/AmazonBasics-3-5mm-Stereo-Audio-Cable/dp/B00NO73MUQ
- One side Audio Output, one side Audio In Jack of the platform.
- Depending upon the HW connect the audio jack as per following connectors.

Audio Output

- Connect 3.5 mm headphone jack to headphone / speaker

Audio In test

- Start Sound Record as per below screen shot
- Make sure you have audio available - Click on the record button and you should see below screen Audio In.png

Audio Out test

- To review recorded audio, you may click on play button
Audio Review.png
- Click on music player app (Cactus Player)
Audio Out Cactus Player.png
- Click on music / recorded audio you captured
Audio Out Cactus Playing Audio.png


DMIC test

To setup the DMIC use blow commands

Check current status (Default is - Line in)

Coming Soon.

To set DMIC rate 128x

Coming Soon.

To set DMIC rate 64x

Coming Soon.

To set DMIC rate 32x

Coming Soon.

To rurn-off DMIC

Coming Soon.

Use above recording application to record via the application.