ADI ADAU1701,ADAU1452,ADAU1938

news/2024/11/17 7:24:27/

1:CODEC

ADC和DAC、DSPADC是模拟转数字信号编码芯片,例如TLV320ADC,DAC是数字转模拟信号解码芯片,例如ES9028,前者一般用于录音而后者一般用于解码音频。中间数字信号处理过程交由DSP进行操作。模拟信号从ADC输入,经过编码变成数字信号,交由DSP进行运算和处理,最终交给DAC将数字信号重新解码为模拟信号后输出。下面的链接中对ADC,DAC,DSP进行了一定的介绍。
CODEC=ADC+DAC
ADC-->DSP-->DAC
常见的应用就是 录音(ADC存储如为WAV,PCM,MP3)和播放(对存储在硬盘中的歌曲进行播放)

2:基本的对比

3:基于1452开发板的组成

其中AD1938

The AD1938 is a high performance, single-chip codec that provides 
four analog-to-digital converters (ADCs) with input and eight 
digital-to-analog converters (DACs) with single-ended output 
using the Analog Devices

 4: 典型搭配

https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADAU1452MINIZ_User_Guide.pdfhttps://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADAU1452MINIZ_User_Guide.pdf

https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADAU1452REVBZ-UG-1662.pdfhttps://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADAU1452REVBZ-UG-1662.pdf

下面的中可以知道AD,DA,CODECS,DSP的功能

下面是一个具有AD和DA的CODEC 故可以实现播放和录音的功能

 下面只能进行DAC只能实现音频的播放

 

 

 

https://www.analog.com/media/en/technical-documentation/user-guides/adsp-sc589-ezboard-manual.pdfhttps://www.analog.com/media/en/technical-documentation/user-guides/adsp-sc589-ezboard-manual.pdf

https://download.analog.com/tools/LinuxAddInForCCES/documentation/linux_add_in_user_guide_1.3.1.pdfhttps://download.analog.com/tools/LinuxAddInForCCES/documentation/linux_add_in_user_guide_1.3.1.pdf

可以知道,

Alsa Opensrc Org - Independent ALSA and linux audio support sitehttps://alsa.opensrc.org/Proc_asound_documentation

evk_8mm:/proc # cd asound/                                                     
evk_8mm:/proc/asound # ls
card0 cards devices hwdep pcm timers version wm8904audio 
evk_8mm:/proc/asound # ls -al
total 0
dr-xr-xr-x   3 root root 0 2019-11-16 15:47 .
dr-xr-xr-x 198 root root 0 1970-01-01 00:00 ..
dr-xr-xr-x   4 root root 0 2019-11-16 15:47 card0
-r--r--r--   1 root root 0 2019-11-16 15:47 cards
-r--r--r--   1 root root 0 2019-11-16 15:47 devices
-r--r--r--   1 root root 0 2019-11-16 15:47 hwdep
-r--r--r--   1 root root 0 2019-11-16 15:47 pcm
-r--r--r--   1 root root 0 2019-11-16 15:47 timers
-r--r--r--   1 root root 0 2019-11-16 15:47 version
lrwxrwxrwx   1 root root 5 2019-11-16 15:47 wm8904audio -> card0
evk_8mm:/proc/asound # cat devices                                             0: [ 0]   : control16: [ 0- 0]: digital audio playback24: [ 0- 0]: digital audio capture33:        : timer
evk_8mm:/proc/asound # cat pcm                                                 
00-00: HiFi wm8904-hifi-0 :  : playback 1 : capture 1
evk_8mm:/proc/asound # cat   
card0/          devices         pcm             version
cards           hwdep           timers          wm8904audio/
evk_8mm:/proc/asound # cat version                                             
Advanced Linux Sound Architecture Driver Version k4.14.98.
evk_8mm:/proc/asound # cat timers                                              
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
evk_8mm:/proc/asound # cd c
card0/  cards
evk_8mm:/proc/asound # cd card0/                                               
evk_8mm:/proc/asound/card0 # ls
id pcm0c pcm0p 
evk_8mm:/proc/asound/card0 # ls -al
total 0
dr-xr-xr-x 4 root root 0 2019-11-16 15:48 .
dr-xr-xr-x 3 root root 0 2019-11-16 15:47 ..
-r--r--r-- 1 root root 0 2019-11-16 15:48 id
dr-xr-xr-x 3 root root 0 2019-11-16 15:48 pcm0c
dr-xr-xr-x 3 root root 0 2019-11-16 15:48 pcm0p
evk_8mm:/proc/asound/card0 # cd pcm0p
evk_8mm:/proc/asound/card0/pcm0p # ls
info sub0 
evk_8mm:/proc/asound/card0/pcm0p # ls -al
total 0
dr-xr-xr-x 3 root root 0 2019-11-16 15:48 .
dr-xr-xr-x 4 root root 0 2019-11-16 15:48 ..
-r--r--r-- 1 root root 0 2019-11-16 15:48 info
dr-xr-xr-x 2 root root 0 2019-11-16 15:48 sub0
evk_8mm:/proc/asound/card0/pcm0p # c[  186.209866] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
a[  186.392048] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
evk_8mm:/proc/asound/card0/pcm0p # cat info                                    
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: HiFi wm8904-hifi-0
name: 
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
evk_8mm:/proc/asound/card0/pcm0p # cd sub0/                                    
evk_8mm:/proc/asound/card0/pcm0p/sub0 # ls
hw_params info status sw_params 
evk_8mm:/proc/asound/card0/pcm0p/sub0 # ls -al
total 0
dr-xr-xr-x 2 root root 0 2019-11-16 15:48 .
dr-xr-xr-x 3 root root 0 2019-11-16 15:48 ..
-r--r--r-- 1 root root 0 2019-11-16 15:48 hw_params
-r--r--r-- 1 root root 0 2019-11-16 15:48 info
-r--r--r-- 1 root root 0 2019-11-16 15:48 status
-r--r--r-- 1 root root 0 2019-11-16 15:48 sw_params
evk_8mm:/proc/asound/card0/pcm0p/sub0 # cat sw_params                          
closed
evk_8mm:/proc/asound/card0/pcm0p/sub0 # cat status                             
closed
evk_8mm:/proc/asound/card0/pcm0p/sub0 # cat info                               
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: HiFi wm8904-hifi-0
name: 
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
evk_8mm:/proc/asound/card0/pcm0p/sub0 # cat hw_params                          
closed
evk_8mm:/proc/asound/card0/pcm0p/sub0 # cd ..
evk_8mm:/proc/asound/card0/pcm0p # cd ..
evk_8mm:/proc/asound/card0 # ls
id pcm0c pcm0p 
evk_8mm:/proc/asound/card0 # cd pcm0c
evk_8mm:/proc/asound/card0/pcm0c # ls
info sub0 
evk_8mm:/proc/asound/card0/pcm0c # cat info                                    
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: HiFi wm8904-hifi-0
name: 
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
evk_8mm:/proc/asound/card0/pcm0c # cd sub0/                                    
evk_8mm:/proc/asound/card0/pcm0c/sub0 # ls
hw_params info status sw_params 
evk_8mm:/proc/asound/card0/pcm0c/sub0 # cat sw_params                          
closed
evk_8mm:/proc/asound/card0/pcm0c/sub0 # ca[  246.209812] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
t [  246.391971] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
evk_8mm:/proc/asound/card0/pcm0c/sub0 # cat hw_params                          
closed
evk_8mm:/proc/asound/card0/pcm0c/sub0 #    
evk_8mm:/proc/asound/card0/pcm0c/sub0 # ls
hw_params info status sw_params 
evk_8mm:/proc/asound/card0/pcm0c/sub0 # cat info                               
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: HiFi wm8904-hifi-0
name: 
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
evk_8mm:/proc/asound/card0/pcm0c/sub0 # cat status                             
closed
evk_8mm:/proc/asound/card0/pcm0c/sub0 # cd ..
evk_8mm:/proc/asound/card0/pcm0c # cd ..
evk_8mm:/proc/asound/card0 # ls
id pcm0c pcm0p 
evk_8mm:/proc/asound/card0 # cd ..
evk_8mm:/proc/asound # ls
card0 cards devices hwdep pcm timers version wm8904audio 
evk_8mm:/proc/asound # cd car
card0/  cards
evk_8mm:/proc/asound # cd cards                                                
/system/bin/sh: cd: /proc/asound/cards: Not a directory
2|evk_8mm:/proc/asound # cat c
card0/  cards
2|evk_8mm:/proc/asound # cat cards                                             0 [wm8904audio    ]: wm8904-audio - wm8904-audiowm8904-audio
evk_8mm:/proc/asound # cd /dev/s                                               
snd/       socket/    spidev1.0  stune/
evk_8mm:/proc/asound # cd /dev/snd/                                            
evk_8mm:/dev/snd # 
evk_8mm:/dev/snd # ls
controlC0 pcmC0D0c pcmC0D0p timer 
evk_8mm:/dev/snd # l s-al
/system/bin/sh: l: not found
127|evk_8mm:/dev/snd # ls -al
total 0
drwxr-xr-x  2 root   root       120 1970-01-01 00:00 .
drwxr-xr-x 18 root   root      3040 1970-01-01 00:00 ..
crw-rw----  1 system audio 116,   0 1970-01-01 00:00 controlC0
crw-rw----  1 system audio 116,  24 1970-01-01 00:00 pcmC0D0c
crw-rw----  1 system audio 116,  16 1970-01-01 00:00 pcmC0D0p
crw-rw----  1 system audio 116,  33 1970-01-01 00:00 timer
evk_8mm:/dev/snd # 


http://www.ppmy.cn/news/797731.html

相关文章

光纤收发器的常用场景由哪些?

光纤收发器的基本特点  1.提供超低延时的数据传输。  2.对网络协议完全透明。  3.采用专用ASIC芯片实现数据线速转发。可编程ASIC将多项功能集中到一个芯片上,具有设计简单、可靠性高、电源消耗少等优点,能使设备…

【无标题】光纤收发器TX、RX分别表示什么?区分单纤双纤收发器的方法

前言 大家好,当我们远距离传输时,通常会使用光纤来传输。因为光纤的传输距离很远,一般来说单模光纤的传输距离在10千米以上,而多模光纤的传输距离最高也能达到2千米。而在光纤网络中,我们常常会使用到光纤收发器。那么…

软件工程——第8章维护知识点整理

本专栏是博主个人笔记,主要目的是利用碎片化的时间来记忆软工知识点,特此声明! 文章目录 1.维护阶段的基本任务是? 2.大型软件的维护成本大概是开发成本的几倍? 3.什么是软件维护? 4.软件维护分为哪几类…

光纤收发器的基础知识

什么是光纤收发器? 光纤收发器是一种将短距离的电信号和长距离的光信号进行相互转换的设备,也叫做光电转换器。光纤收发器和光模块的作用是一样的,都是进行光电转换的。一般使用在网线无法连接必须使用光纤来进行延长传输距离的网络环…

一分钟带你解读光纤收发器,秒懂(一)

什么是光纤收发器?你了解它的应用和特点吗?今天易天光通信就带大家了解一下什么是光纤收发器。 光纤收发器是一种将短距离的以太网电信号和长距离的光信号进行相互转换的通信设备,可确保数据包在两个网络间顺畅传输,它有两种端口&…

光纤收发器工作原理及技术详解

一、光纤收发器介绍 光纤收发器,是一种将短距离的双绞线电信号和长距离的光信号进行互换的以太网传输媒体转换单元,在很多地方也被称之为光电转换器(Fiber Converter)。产品一般应用在以太网电缆无法覆盖、必须使用光纤来延长传输…

光纤收发器指示灯的意义图解

光纤收发器有六个LED指示灯,显示收发器的工作状态。根据LED,可以确定收发器是否正常工作并且可能有问题,这有助于识别故障。那么,光纤收发器的每个指示灯分别代表什么意思呢?接下来我们就跟随飞畅科技的小编一起来详细…

什么是以太网光纤收发器,其产品特点和技术参数都有哪些?

以太网光纤收发器是一款提供以太网数据信号到光纤数据信号的双向透明转换器,可以将以太网信号通过光纤线路传输突破传输距离100米的限制,使得以太网网络覆盖得到极大的延伸。光纤收发器的出现,确保能够顺畅的将电信号与光纤信号相互转换&…