CSR867x-Bluetooth audio transmitter solution (supports USB, analog and SPDIF)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

XX Author: ZHS (cultural person)

XX Contact: Chat at the end of the article (or enter the group: 471144274 )

XX Copyright statement: Original article, welcome to comment and reprint~ It’s best to tell me when reprinting

What XX has to say: The author's level is limited, and it is inevitable that there are deficiencies. Please correct me!

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Written in the front: Use the BC5 and CSR8670 chips to implement the Bluetooth audio transmitter solution respectively;

1. Select the source project of ADK to compile and download, and then refer to the corresponding source user manual ( BC57E687C and CSR8670 );

2. Pay attention to the USB mode, the hardware should connect BC5: VDD_USB CSR8670: VBUS_CHG_5V pin high;

3. From the user manual, you can see that BC5 supports USB and analogue two modes, while CSR8670 supports USB, analogue and SPDIF (TOSLINK optical fiber) three working modes, as follows:

4. The working mode is configured by psKEY

      1) BC5 :

      2)CSR8670:

5. First add a button trigger event to the button.button file, handle the event in button_msg_handler, the device will restart, and then read the configuration of psr, you can switch the mode, as follows:

6. BC5 can support SPDIF output when used as a receiver, but does not support SPDIF input when used as a transmitter;

 

Guess you like

Origin blog.csdn.net/zhanghuaishu0/article/details/84967199