Skip to content

No Sound out on riverdi rvt70aqffwc00. #60

Answered by RudolphRiedel
MaWa53 asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@MaWa53
Comment options

Comment options

You must be logged in to vote
7 replies
@MaWa53
Comment options

@MaWa53
Comment options

@RudolphRiedel
Comment options

@MaWa53
Comment options

@steve-4dproducts
Comment options

Answer selected by MaWa53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants