Read PCM data from BT chip i2s interface

Showing results for 
Search instead for 
Did you mean: 

Read PCM data from BT chip i2s interface

Contributor II

Hi All,

I was trying  read pcm data from the BT chip(CSR 83110 ) via i2s  while its in HFP connection.

For that

  • I have configured the i2s path with BT chip ( inside bt stack with BCCM commands )
  • Added the driver by change in the board file and written dummy codec for bt and configured cpu_dai as ssi.2 ( Referred sgltcodec drivers )
  • Device listed in the alsa device list ( as card 1,and it takes cpu_dai imx-ssi.2 and platform imx-platform-audio.2 )
  • BT chip is enabled in i2S mode ( master ).
  • But I tried to read like

$ arecord -D hw:1 -f S16_LE

It wait for some time and gives io error !!!

Please correct me If any thing wrong in my method.

Please give me if you have any references(code examples) for the same.

With advance thanks

With thanks

Vaisakh N

Labels (1)
1 Reply

NXP Employee
NXP Employee

Hi Vaisakh

You need to implemet a wrapper for imx-ssi; In previous iMX platforms bt was supported by

imx-ssi wrapper


You can use this as reference.