No Sound out on riverdi rvt70aqffwc00. #60
-
Hello FT/BT8x fans, I use this soundplayer class method:
Does anybody have an idea what to check? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I can't even test this as I do not have the speaker from Riverdi. |
Beta Was this translation helpful? Give feedback.
-
I received the connectors and the contacts and built my own cable plus speaker. Now I added this at the end of TFT_init(): And to play this in my touch function: EVE_memWrite16(REG_SOUND, EVE_SILENCE); |
Beta Was this translation helpful? Give feedback.
I received the connectors and the contacts and built my own cable plus speaker.
And at first my RVT70HSBNWC00-B refused to make sounds.
What I initially missed though is that there is a schematic for the audio circuit in the datasheet and that GPIO2 from the BT817 enables the
amplifier chip.
Now I added this at the end of TFT_init():
EVE_memWrite16(REG_GPIOX_DIR, 0x8004U); /* set GPIO2 to output to enable EVE4 audio output /
EVE_memWrite16(REG_GPIOX, 0x8004U); / set GPIO2 to high to enable EVE4 audio output */
EVE_memWrite8(REG_VOL_SOUND, 0xff);
And to play this in my touch function:
EVE_memWrite16(REG_SOUND, (85 << 8) | EVE_ALARM);
EVE_memWrite8(REG_PLAY, 1);
EVE_memWrite16(REG_SOUND, EV…