3746 views|3 replies

14

Posts

0

Resources
The OP
 

[Bluesight AB32VG1 RISC-V board "meets" RTT] Audio starts [Copy link]

 

Bluexun has a guide for audio applications on GITEE. Following this guide, you can build a project step by step to make the sound from the headphone jack sound.

There are already many software packages on RTT STUDIO that can be used directly and can be directly added to the project for use.

There are three packages that need to be used in this project. Join them first.

Then, configure the WAVPLAYER and key functions:

DFS needs to be further configured, otherwise the compilation will fail.

In the DFS configuration, enable "Enable read-only file system on Flash".

Take a look at the package directory.

Add an official short music file romfs.C to the application.

This file contains the data of two short music WAV files.

Add the mount file system in mnt.c.

At this point, the compilation is successful, download and run.

One button to change tracks, one button to control volume. Very loud, don't be startled.

The process was simple, but because I was not familiar with it, I took many detours and failed many times. It was always unable to play.

I originally wanted to expand it and use the IR RX on this board as a remote control to replace the buttons. The board itself has an IR RX peripheral, so I didn't think of using the timer method.

The IR RX in the manual introduces the IR register and a brief application introduction.

I understood it myself and did an initialization.

Initialization succeeds, but the interrupt is still not possible. Maybe some setting or method is wrong.

I hope to see more official instructions and examples later, including Bluetooth. After all, this is a chip with Bluetooth as its main function.

07.png (66.62 KB, downloads: 0)

07.png

16.png (57.2 KB, downloads: 0)

16.png
This post is from Domestic Chip Exchange

Latest reply

666666! It must be supported, come on rtthread!   Details Published on 2021-5-14 09:37
 
 

6552

Posts

0

Resources
2
 

Can never enter interrupt,,,,

You can try using timer interrupt

It seems that there are still relatively few official routines, and there are not many transplantation and reference routines, which is a problem.

This post is from Domestic Chip Exchange

Comments

Is using a timer for IR reception a return to the old ways? This IR RX peripheral is not needed. I used this IR RX just to make it quicker and simpler.  Details Published on 2021-4-26 10:13
 
 
 

14

Posts

0

Resources
3
 
Jacktang posted on 2021-4-24 11:56 I can't enter the interruption at all. You can try using the timer interruption. It seems that there are relatively few official routines, and there are not many transplanted and reference routines...

Is using a timer for IR reception a return to the old ways? This IR RX peripheral is not needed. I used this IR RX just to make it quicker and simpler.

This post is from Domestic Chip Exchange
 
 
 

150

Posts

0

Resources
4
 

666666!

It must be supported, come on rtthread!

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list