Hello,
I've got a REV-C ESP-ADF board with an LCD module (MOD-LCD2.8RTP).
I can compile the SIP VoIP demo and flash but nothing displays on the LCD.
What could be the issue?
Thanks!
Here is the error log:
I (2319) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (5096) event: sta ip: 192.168.43.194, mask: 255.255.255.0, gw: 192.168.43.1
I (5097) SIP_PHONE: [ 2 ] Start codec chip
I (5119) ES8388_DRIVER: init,out:02, in:00
I (5126) AUDIO_HAL: Codec mode is 3, Ctrl:1
I (5130) SIP_PHONE: [ 3 ] Create and start input key service
E (5130) AUDIO_THREAD: Error creating task input_key_service
E (5133) PERIPH_SERVICE: Create task failed on periph_service_create
E (5140) INPUT_KEY_SERVICE: /home/diogo/Documents/Jhan/esp-adf/components/input_key_service/input_key_service.c:214 (input_key_service_create): Got NULL Pointer
E (5155) INPUT_KEY_SERVICE: /home/diogo/Documents/Jhan/esp-adf/components/input_key_service/input_key_service.c:158 (input_key_service_add_key): Got NULL Pointer
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4019b28b PS : 0x00060830 A0 : 0x800d7b4c A1 : 0x3ffcd920
0x4019b28b: periph_service_set_callback at /home/diogo/Documents/Jhan/esp-adf/components/esp_dispatcher/periph_service.c:125
A2 : 0x00000000 A3 : 0x400d7668 A4 : 0x3f800fd0 A5 : 0x3ffcd9d4
0x400d7668: input_key_service_cb at /home/diogo/Documents/Jhan/sip_phone_example/main/voip_app.c:389
A6 : 0x00000005 A7 : 0x00000000 A8 : 0x801393f4 A9 : 0x3ffcd8c0
A10 : 0x00000001 A11 : 0x3f424cbc A12 : 0x3f40de68 A13 : 0x00001423
A14 : 0x3f424cbc A15 : 0x3f424c68 SAR : 0x00000004 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000010 LBEG : 0x4008fc61 LEND : 0x4008fc71 LCOUNT : 0xfffffffb
0x4008fc61: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/strlen.S:84
0x4008fc71: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/strlen.S:96
Has this demo worked for anyone without any modifications?
Kind bump
We did some tests and indeed it seems there is some software issue with the display libraries but we are unable to fix it for now. One thing you can use to prove that it is not hardware issue is to go to file "void_app.c", and comment out function:
//periph_service_set_callback(input_ser, input_key_service_cb, (void *)board_handle);
It is around line 489.
Then test the display.
Edit: It that this is probably caused by differences in ESP-ADF version used. Different ESP-ADF versions produce different results. Maybe also try with older ESP-ADF version.
Hi, first test, compile ok.
Call from my deskphone to olimex voip demo or other way.
Display goes blank after answering call and get this error in serial monitor:
W (224991) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
Both tests audio channel gets established but first impression is poor audio quality from speakers. Will test with headphones.
ok microphone or headphone microphone gives good audio to other party.
Onboard speakers or headphone gives very bad audio quality.
Does anybody know how to fix this?
I have choosen G711u (Default codec for all countries except USA)
Will test with G711a (USA default codec)
Don't have the board at home to test but could this be something regarding the poor audio?
https://hackaday.io/project/159811-esp32-wiphone/log/165147-big-dead-bug
https://www.esp32.com/viewtopic.php?t=11023