This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LAUNCHXL-CC1310:cc1310声音播放问题

Guru**** 2538930 points
Other Parts Discussed in Thread: CC2650STK, CC1350STK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/655078/launchxl-cc1310-cc1310-sound-play-problems

部件号:LAUNCHTXL-CC1310
主题中讨论的其他部件:CC2650STKCC1350STK

我想使用PWM输出声音。

1.I已通过WAVE文件创建PCM阵列数据(头文件)。

(波形文件设定 - 采样频率:8000Hz,通道:mono,每采样比特:8位)

2. 硬件配置 正常(声音扬声器,TR,寄存器, 连接PWM引脚等)

以下是问题。

我知道有一个PWM示例。  (pwmled)

但我不知道如何使用PWM输出带有PCM数据的声音。

您能给我一个通过PWM输出声音的指南代码吗?