Page 1 of 1

i2c driver install error

Posted: Wed Aug 07, 2019 2:39 am
by fishman
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.

Re: i2c driver install error

Posted: Mon Aug 12, 2019 2:42 am
by fishman
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.