牛卧堂MCU技术交流

标题: [N9H26 Non-OS] AVI play with SPK [打印本页]

作者: yli    时间: 2020-4-24 09:24
标题: [N9H26 Non-OS] AVI play with SPK
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:
  1. gpio_setportval(GPIO_PORTA, 0x1, 0);
  2. gpio_setportpull(GPIO_PORTA, 0x1, 0);
  3. gpio_setportdir(GPIO_PORTA, 0x1, 0x1);
  4. gpio_setportval(GPIO_PORTA, 0x1, 1);
复制代码
AVI.zip (12.96 KB, 下载次数: 1148)





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2