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.

TAS2505聲音輸出不正確

Other Parts Discussed in Thread: TAS2505

您好,

我需要在TDA2平台上,透過I2C、I2S 使TAS2505 喇叭發出聲音,

I2S數據格式32BITS、採樣頻率44.1KHZ,頻率已經確認過為正確了,

也將TAS2505依照userguide做初始化、PINMUX初始化,

我錄製了一段*.wav音訊,用ffmpeg將他轉換成PCM(raw data),匯入到程式中並撥放,

聲音聽起來像是雜訊,我嘗試了LE float 32bits、、BE float 32bits、LE float 32bits、BE float 32bits四種pcm格式,

請告訴我TAS2505需要的資料格式,並麻煩協助找尋錯誤的地方謝謝

電路圖:

基於範例mcasp_sinetone,修改後的原碼:

mcasp_transmit_tda2xx.c

EDMA這邊的bIdx設定似乎不太正確:

x 出现错误。请重试或与管理员联系。