当前位置:网站首页>IIS data conversion problem: 16bit to 24bit
IIS data conversion problem: 16bit to 24bit
2022-04-23 19:28:00 【ToneChip】
I have a very strange problem today
The request is a 16bit The data is sent to a 24bit Of DAC Play in , As a result, the noise becomes larger ? I don't know why
According to conventional theory ,16bit turn 24bit Just move left 8 Just a little bit
Let's review IIS Drive the logic inside
① Align left :
WCLK For high voltage , It's the left channel , Right channel data at low level
The data starts on the left , low 8 Position as 0
② Right alignment :
WCLK For high voltage , It's the left channel , Right channel data at low level
For example, you collect a negative number 0xc00000, Collected int Type reception may become 0x00c00000, You need to turn it into 0xffc00000
③IIS Pattern
The difference between left and right alignment is WCLK Low power level , It's the left channel , Right channel data at high level , And delay 1 Pulse ( For this standard I2S Format signal, no matter how many bits of valid data , The highest bit of data always appears in WCLK/LRCK change ( That is, the beginning of a frame ) Later 2 individual BCLK/SCLK Pulse place )
版权声明
本文为[ToneChip]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231923488865.html
边栏推荐
猜你喜欢

MySQL syntax collation (5) -- functions, stored procedures and triggers

NiO related Basics

【webrtc】Add x264 encoder for CEF/Chromium

Oracle configuration st_ geometry

Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies

Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies

ArcMap connecting ArcGIS Server

Zero base to build profit taking away CPS platform official account

5 minutes to achieve wechat cloud applet payment function (including source code)

深度分析数据恢复原理——那些数据可以恢复那些不可以数据恢复软件
随机推荐
LPC1768 关于延时Delay时间与不同等级的优化对比
Oracle configuration st_ geometry
[webrtc] add x264 encoder for CEF / Chromium
C学习完结
一个简单的(基于redisson的)分布式同步工具类封装
[H264] hevc H264 parsing and frame rate setting of the old version of libvlc
What is a message queue
Deep learning -- Summary of Feature Engineering
SQL server requires to query the information of all employees with surname 'Wang'
仓库管理数据库系统设计
点云数据集常用处理
MySQL数据库 - 单表查询(二)
Command - sudo
The most detailed network counting experiment in history (2) -- rip experiment of layer 3 switch
高效的串口循环Buffer接收处理思路及代码2
openlayers 5.0 两种居中方式
goroutine
Codeworks round 783 (Div. 2) d problem solution
A brief explanation of golang's keyword "competence"
An example of using JNI to directly access surface data