i2c driver install error

fishman
Posts: 11
Joined: Mon May 20, 2019 8:46 am

i2c driver install error

Postby fishman » Wed Aug 07, 2019 2:39 am

Hi,
Used ESP-ADF Development audio play.
When I call the function audio_board_init(), my board operation current will augment about 30mA to initialling and playing audio.
So I want deinit and release all memory after audio play finish and before jump light_sleep mode just call the function audio_board_deinit().
But,when I quit the light_sleep mode and start a new audio task.It say " E i2c :driver install error " after call audio_board_init().

Any other ways can I decrease operation current in light_sleep mode especially audio play?
Thanks.

fishman
Posts: 11
Joined: Mon May 20, 2019 8:46 am

Re: i2c driver install error

Postby fishman » Mon Aug 12, 2019 2:42 am

I found the reason that why I call the deinitial function was failed
1、The audio_board_deinit() no include i2c_driver_delete() ,i2c still working
2、And PA_POWER have no set 0 , the operation current is the amplifier
that two point was make the board call deinit still have little operation current.

Who is online

Users browsing this forum: Baidu [Spider] and 19 guests