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.

[参考译文] RTOS/CC2650:ADPCM 编解码器问题

Guru**** 2625255 points

Other Parts Discussed in Thread: CC2650

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

https://e2e.ti.com/support/wireless-connectivity/other-wireless-group/other-wireless/f/other-wireless-technologies-forum/730689/rtos-cc2650-adpcm-codec-issue

器件型号:CC2650

工具/软件:TI-RTOS

您好!

我想通知 TI 专家、随用于 CC2650的 TIRTOS 提供的 ADPCM 编解码器(C:\ti_tirtos_cc13xx_cc26xx_2_21_01_08\products\tidrivers_cc13xx_cc26xx_2_21_01_01\packages\ti\drivers\pdm\Codec1.c)

可能包含错误。 问题出现在第101行"int16_t difference = audSample - Codec1_pvEnc;"。 应在" int32_t difference =(int32_t) audSample -(int32_t) Codec1_pvEnc;"中进行修改、因为如果差值超过(2^16-1)/2、则编码值是错误的。

如果是、最好在将来的版本中进行修复。

此致

Prospero

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

    感谢您的发现、我已将此事报告给我们的研发团队、以供将来修复。