[N9H26 Non-OS] AVI play with SPK

Post Reply
9chuckyoung
Posts: 94
Joined: 28 Jan 2019, 13:49

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:

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);
Attachments
AVI.zip
AVI play video (MJPEG + IMA-ADPCM) with SPK out
(12.96 KiB) Downloaded 236 times

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests