6 Replies Latest reply on Dec 25, 2019 3:51 PM by XinghaoZ_26

    What's the difference between BT_EMBED_MODE and BT_HYBRID_MODE?

    LeLi_3670906

      Hi Sir,

       

           目前在考虑MCU+CYW20706实现headset的方案,通过wiced20706 demo.audio.headset发现有两种模式:Apps processor 以及standalone mode。

      如果使用standalone mode,那么不需要外部mcu参与,20706可以通过i2s接codec进行处理;如果是Apps processor mode,那么需要通过注释掉STANDALONE_HEADSET_APP,并编译成hcd文件,通过MCU烧录到20706的ram,但是这里我有个问题,在这种模式下,codec应该接在mcu侧还是20706侧

       

           带着这个疑问,我又做了以下实验,找了一块43907的EVK,一块20706的EVK。通过UART 4根线以及GND把两块板子连接起来,分别通过usb 供电。43xxxWiFi里面正好有一个Bluetooth_audio的demo,默认用的是BT_EMBED_MODE,但我不知道BT_EMBED_MODE,HOST_MODE,BT_HYBRID_MODE三种模式有什么区别。我把刚才编译好的headset-CYW920706WCDEVAL_40Mhz-rom-ram-Wiced-release.hcd转换成了c file,按要求更改并替换到对应的位置,之后把snip.bluetooth_audio烧录到43907EVK,通过log发现download FW失败,串口通讯似乎没有成功。

      [Rx]Failed to unlock charger protection register

      Failed to set fast-charge speed

      Failed to lock charger protection register

      Failed to unlock charger protection register

      Failed to set input current limi[Rx]t

      Failed to lock charger protection register

      Failed to unlock charger protection register

      Failed to set topoff timer

      Failed to lock charger protection register

      Platform CYW943907WAE3 initialised

      Started ThreadX v5.8

      Starting Bluetooth...

      bt_buffer_pool_init: Pool creation s[Rx]uccessful, pool handle 0x4e4df0

      bt_audio_init_player

      WICED DCT BT NAME: WICED BLUETOOTH AUDIO  WICED DCT BT DEVICE CLASS : 20 04 1c WICED DCT name WICED BLUETOOTH AUDIO [Rx]Downloading Firmware...

      wiced_add_bluetooth_dm result: 0x0,

      > [Rx]HCI_CMD_RESET command reponse is wrong

      Error downloading HCI firmware

      同时也抓了UART的波形,reset命令是有发出来,但是没有response。

      排查了下,接线没有问题。所以,我不确定问题出在哪里,或者说我这么操作就是有问题的,请帮忙解答下,谢谢~

       

       

      Thanks,

      Leo