es8311 设备地址问题

5761193jia
Posts: 20
Joined: Mon Nov 07, 2022 8:22 am

es8311 设备地址问题

Postby 5761193jia » Wed Sep 20, 2023 9:45 am

在测试es8311编解码芯片相关例程时,发现es8311在IDFT和ADF示例中不相同:
1、在IDF5.0对设备地址定义为:[示例:..\examples\peripherals\i2s\i2s_codec\i2s_es8311]
/* ES8311 address: CE pin low - 0x18, CE pin high - 0x19 */
#define ES8311_ADDRRES_0 0x18u
#define ES8311_ADDRESS_1 0x19u
2、而在ADF的示例中定义为:[..4.4_adf\esp-adf\components\audio_hal\driver\es8311\es8311.c]
* ES8311 address
* 0x32:CE=1;0x30:CE=0
*/
#define ES8311_ADDR 0x30

想请教一下,0x30的地址在初始化es8311的i2c写寄存器能功能吗?0x18肯定是没问题的。不解,请教一下各位大神!谢谢

Who is online

Users browsing this forum: No registered users and 199 guests