TAS5731M 参考代码
如题,是否有TAS5731M参考代码?按照如下时序,I2C无反应。
寄存器设置顺序也没啥头绪?烦请大神出手
看看初始化的过程:
Initialization Sequence
Use the following sequence to power-up and initialize the device:
1. Hold all digital inputs low and ramp up AVDD/DVDD to at least 3 V.
2. Initialize digital inputs and PVDD supply as follows:
• Drive RESET = 0, PDN = 1, and other digital inputs to their desired state while ensuring that all are never more than 2.5 V above AVDD/DVDD. Wait at least 100 µs, drive RESET = 1, and wait at least another 13.5 ms.
• Ramp up PVDD to at least 8 V while ensuring that it remains below 6 V for at least 100 µs after AVDD/DVDD reaches 3 V. Then wait at least another 10 µs.
3. Trim oscillator (write 0x00 to register 0x1B) and wait at least 50 ms.
4. Configure the DAP via I2C (see Users's Guide for typical values).
5. Configure remaining registers.
6. Exit shutdown (sequence defined below).
你好:
TAS5731M的地址是0x36或者0x34,你检查一下地址,还有I2C的上拉,I2C的时序是否都对,看一下I2C的波形是为什么没有响应。首先要配通I2C。
TAS5731M的寄存器,就是un shutdown, 解mute,调节音量就可以了,其他的默认值是可以工作的。
建议发送完地址用示波器看看有没有ACK信号传回
试了0x34和0x36地址都没有ACK信号返回,上电时序也是对的呀。好郁闷
你好:
那得检查一下硬件原理图,看一下电源,地是不是接的都是对的。再检查一下焊接。
或者用万用表打一下每个引脚的电平,看每个引脚的电平是不是都合乎自己的预期。