[N9H26 Non-OS] AVI play with SPK
Posted: 14 Apr 2020, 11:44
Q: Why play video (MJPEG + MP3) but has no sound?
A: N9H26 didn't support MP3 decoder.
Q: Why play video (MJPEG + IMA-ADPCM) but has no sound?
A: N9H26 utilizes ISD8101 for speaker out. Please pull high GPA0 to enable ISD8101. (As attached file, password is nuvoton)
include "N9H26_GPIO.lib" to your project and pull high GPA0:
A: N9H26 didn't support MP3 decoder.
Q: Why play video (MJPEG + IMA-ADPCM) but has no sound?
A: N9H26 utilizes ISD8101 for speaker out. Please pull high GPA0 to enable ISD8101. (As attached file, password is nuvoton)
include "N9H26_GPIO.lib" to your project and pull high GPA0:
Code: Select all
gpio_setportval(GPIO_PORTA, 0x1, 0);
gpio_setportpull(GPIO_PORTA, 0x1, 0);
gpio_setportdir(GPIO_PORTA, 0x1, 0x1);
gpio_setportval(GPIO_PORTA, 0x1, 1);