Shopping Cart | 中文网站
 
 
Overview
Online Support
FAQ
  Atmel Boards  (37) TOP10
  MYD-SAM9X5 (9)
  MYS-SAM9X5 (2)
  MYS-SAM9G45 (1)
  MYD-SAMA5D3X (14)
  MYD-SAM9X5-V2 (2)
  MYC-SAM9X5 (4)
  MYC-SAM9X5-V2 (1)
  MYC-SAMA5D3X (1)
  MYD-JA5D4X (3)
  NXP Boards  (6) TOP10
  MYD-LPC435X (2)
  MYD-LPC185X (1)
  MYD-LPC1788 (0)
  MYS-6ULX (3)
  Samsung Boards  (0) TOP10
  TI Boards  (21) TOP10
  MYD-AM335X (9)
  MYC-AM335X (1)
  Rico Board (6)
  MYD-C437X-PRU (5)
  Other  (3) TOP10
  MY-WF003U (1)
  Freescale Boards  (2) TOP10
  MYD-IMX28X (2)
  Xilinx Boards  (25) TOP10
  Z-turn Board (10)
  MYD-C7Z010/20 (7)
  MYD-C7Z015 (7)
 
  Home >  Support > Atmel Boards > MYD-SAMA5D3X
 
How to use MIC on SAMA5D3X?
 
Question
How to use MIC on SAMA5D3X?
Answer

1. Decompress kernel source code and execute below commands to modify the file sama5d3mb.dtsi

# cd linux-at91/

# gedit arch/arm/boot/dts/sama5d3mb.dtsi

Find the sound configuration and add the lines "Mic", "MICBIAS" in the location as shown in below diagram:


Execute below commands and recompile the kernel:

./make_image.sh  linux-512mb

If the DDR2 is 256MB, please use the command: ./make_image.sh  linux256mb

After compilation, please replace the old uImage by newly created uImage (in arch/arm/boot/) and then reprogram.


2. Login in Linux and execute:

# alsamixer

3. Use the left/right direction keys on keyboard to switch the item to HPL Mux [ADC], and then press up/down direction keys to switch to Bypass, such as the diagram shown below:




4. Use the left/right keys on keyboard to switch the Iteam to Left Capture Inverting Mux and then press the up/down direction keys to switch to IN1L, such as the diagram shown below:



5. After above configuration, we can use the MIC on board for recording and playback testing.It equals to a microphone function. If you no need synch-playback, you don’t need to execute the step 3.



 

Room 04, 6th Floor, Building No.2, Fada Road, Yunli Smart Park, Bantian, Longgang District, Shenzhen, Guangdong, China 518129
E-mail: sales@myirtech.com or myirtech@yahoo.com  Phone: +86-755-22984836  Fax: +86-755-25532724
Copyright © MYIR Tech Limited 2011-2017 all rights reserved.