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.

CCS/BOOST-CC2564MODA: BOOST-CC2564MODA can't open stack .

Part Number: BOOST-CC2564MODA
Other Parts Discussed in Thread: CC2564CMSP432BTBLESW, CC2564C, CC2564

Tool/software: Code Composer Studio

Hi Guys,

I use MSP432P401LP and BOOST-CC2564MODA to test A3DP demo. But putty show can't  open stack  and error code (-4).  Please check my hardware, or what need modify ?

Thank you!

  • Hi Alvin,

    Which version of the Stack SDK are you using? If using the CC2564CMSP432BTBLESW, you will need to add the following two macros in the "predefined symbol" section of the project to make the sample application work on this HW setup (MSP-EXP432P401R & BOOST-CC2564MODA).

    Note : All the sample applications in the CC2564CMSP432BTBLESW are designed to work with the CC2564C QFN EM by default. So using the BOOST-CC2564MODA will require adding the two macros to project properties and recompiling the sample application project.

    Best regards,

    Vihang

  • Hi Vihang,

    Thanks for  reply, open stack work fine. But  android phone pairing error, please check below picture.

     

  • Alvin,

    I do not see any error in pairing from the CC256x side. Are you using the A3DPDemo_SNK (sink) or A3DPDemo_SRC (source). Please note that smartphone will always be an A2DP source. So you can only connect A3DPDemo_SNK to a smartphone.

    Alvin Chen said:
    No atusercomfirmationrequest

    The authentication method depends on the IO capabilities of the two devices. So the phone is just causing the connection to use a different authentication method. 

    For most modern smartphones, evaluating the A3DPDemo_SNK is much more straight-forward than mentioned in the wiki above.

    step 1. Initialize the A3DPDemo_SNK on the MSP432+CC2564+audio booster-pack HW setup.

    step 2. Find the A3DPDemo_SNK in the phone's Bluetooth settings menu and select this device to pair and connect to it. (usually, no input on the console is required.)

    step 3. The "Just works" authentication method would be used for secure simple pairing since the A3DPDemo_SNK is set to "No Input No Output" IO capability.

    step 4. When pairing is done, the device would appear connected in the smartphone's Bluetooth settings. You can start streaming music from the phone.

    Best regards,

    Vihang

  • Hi Vihang,

    Yes,I using the A3DPDemo_SNK (sink). Please check my putty log.

    Can you share a putty log?

  • Alvin,

    I've recorded the console logs for 2 different phones. Please see the attachment.

    A3DPDemo_SNK with GalaxyS8.txt
    [Tue Dec 04 14:39:31.239 2018] 
    [Tue Dec 04 14:39:31.239 2018] OpenStack().
    [Tue Dec 04 14:39:31.404 2018] Bluetooth Stack ID: 1
    [Tue Dec 04 14:39:31.783 2018] Device Chipset: 4.0
    [Tue Dec 04 14:39:31.786 2018] BTPS Version  : 4.2.1.0 
    [Tue Dec 04 14:39:31.786 2018] Project Type  : 6 
    [Tue Dec 04 14:39:31.788 2018] FW Version    : 7.16 
    [Tue Dec 04 14:39:31.791 2018] App Name      : A3DPDemo_SNK 
    [Tue Dec 04 14:39:31.793 2018] App Version   : 0.1 
    [Tue Dec 04 14:39:31.793 2018] BD_ADDR: 0xB0B448F4ACDD
    [Tue Dec 04 14:39:31.797 2018] A3DP endpoint opened successfully.
    [Tue Dec 04 14:39:31.801 2018] Class of Device: 0x040424.
    [Tue Dec 04 14:39:31.804 2018] Supported formats:
    [Tue Dec 04 14:39:31.810 2018]    Frequency: 44100, Channels: 2, Flags: 0
    [Tue Dec 04 14:39:31.817 2018]    Frequency: 48000, Channels: 2, Flags: 0
    [Tue Dec 04 14:39:31.817 2018]    Frequency: 48000, Channels: 1, Flags: 0
    [Tue Dec 04 14:39:31.824 2018]    Frequency: 44100, Channels: 1, Flags: 0
    [Tue Dec 04 14:39:31.824 2018] 
    [Tue Dec 04 14:39:31.824 2018] ******************************************************************
    [Tue Dec 04 14:39:31.828 2018] * Command Options: Inquiry, DisplayInquiryList, Pair,            *
    [Tue Dec 04 14:39:31.831 2018] *                  EndPairing, PINCodeResponse, PassKeyResponse, *
    [Tue Dec 04 14:39:31.844 2018] *                  UserConfirmationResponse,                     *
    [Tue Dec 04 14:39:31.849 2018] *                  SetDiscoverabilityMode, SetConnectabilityMode,*
    [Tue Dec 04 14:39:31.857 2018] *                  SetPairabilityMode, SetBaudRate               *
    [Tue Dec 04 14:39:31.860 2018] *                  ChangeSimplePairingParameters,                *
    [Tue Dec 04 14:39:31.862 2018] *                  GetLocalAddress, GetLocalName, SetLocalName,  *
    [Tue Dec 04 14:39:31.869 2018] *                  GetClassOfDevice, SetClassOfDevice,           *
    [Tue Dec 04 14:39:31.875 2018] *                  GetRemoteName, OpenSink, CloseSink,           *
    [Tue Dec 04 14:39:31.880 2018] *                  RemotePlay, RemotePause, RemoteNext,          *
    [Tue Dec 04 14:39:31.886 2018] *                  RemotePrev, Help                              *
    [Tue Dec 04 14:39:31.891 2018] ******************************************************************
    [Tue Dec 04 14:39:31.901 2018] 
    [Tue Dec 04 14:39:31.901 2018] 
    [Tue Dec 04 14:39:31.901 2018] A3DP+SNK>
    [Tue Dec 04 14:39:39.707 2018] atIOCapabilityResponse: 0xDC74A802EEB7
    [Tue Dec 04 14:39:39.710 2018] Capabilities: Display Yes/No, MITM
    [Tue Dec 04 14:39:39.714 2018] 
    [Tue Dec 04 14:39:39.714 2018] A3DP+SNK>
    [Tue Dec 04 14:39:39.716 2018] atIOCapabilityRequest: 0xDC74A802EEB7
    [Tue Dec 04 14:39:39.719 2018] 
    [Tue Dec 04 14:39:39.719 2018] Auth success.
    [Tue Dec 04 14:39:39.719 2018] 
    [Tue Dec 04 14:39:39.719 2018] A3DP+SNK>
    [Tue Dec 04 14:39:39.789 2018] atUserConfirmationRequest: 0xDC74A802EEB7
    [Tue Dec 04 14:39:39.794 2018] 
    [Tue Dec 04 14:39:39.794 2018] Auto Accepting: 
    [Tue Dec 04 14:39:39.796 2018] 
    [Tue Dec 04 14:39:39.796 2018] GAP_Authentication_Response success.
    [Tue Dec 04 14:39:39.799 2018] 
    [Tue Dec 04 14:39:39.799 2018] A3DP+SNK>Un-handled Auth. Event.
    [Tue Dec 04 14:39:39.853 2018] 
    [Tue Dec 04 14:39:39.854 2018] A3DP+SNK>
    [Tue Dec 04 14:39:39.862 2018] atLinkKeyCreation: 0xDC74A802EEB7
    [Tue Dec 04 14:39:39.866 2018] Link Key Stored.
    [Tue Dec 04 14:39:39.868 2018] 
    [Tue Dec 04 14:39:39.868 2018] A3DP+SNK>
    [Tue Dec 04 14:39:40.390 2018] etAUD_Signalling_Channel_Open_Indication
    [Tue Dec 04 14:39:40.395 2018] BD_ADDR:  0xDC74A802EEB7
    [Tue Dec 04 14:39:40.402 2018] 
    [Tue Dec 04 14:39:40.402 2018] A3DP+SNK>
    [Tue Dec 04 14:39:40.443 2018] etAUD_Stream_Open_Indication
    [Tue Dec 04 14:39:40.446 2018] BD_ADDR:     0xDC74A802EEB7
    [Tue Dec 04 14:39:40.449 2018] MediaMTU:    1008
    [Tue Dec 04 14:39:40.449 2018] StreamType:  SNK
    [Tue Dec 04 14:39:40.452 2018] Status: VS_A3DP_Sink_Open_Stream(): 0
    [Tue Dec 04 14:39:40.454 2018] 
    [Tue Dec 04 14:39:40.454 2018]  Send HCI Flow Spec for guaranteed ACL connection
    [Tue Dec 04 14:39:40.460 2018] 
    [Tue Dec 04 14:39:40.460 2018]  Send HCI VS DDIP for ACL priority over scans
    [Tue Dec 04 14:39:40.466 2018] Status: Enable the audio codec.
    [Tue Dec 04 14:39:41.300 2018] 
    [Tue Dec 04 14:39:41.300 2018] A3DP+SNK>
    [Tue Dec 04 14:39:41.725 2018] etAUD_Remote_Control_Open_Indication
    [Tue Dec 04 14:39:41.732 2018] BD_ADDR:     0xDC74A802EEB7
    [Tue Dec 04 14:39:41.732 2018] 
    [Tue Dec 04 14:39:41.732 2018] A3DP+SNK>

    A3DPDemo_SNK with iPhone8Plus.txt
    [Tue Dec 04 14:42:19.362 2018] 
    [Tue Dec 04 14:42:19.362 2018] OpenStack().
    [Tue Dec 04 14:42:19.529 2018] Bluetooth Stack ID: 1
    [Tue Dec 04 14:42:19.907 2018] Device Chipset: 4.0
    [Tue Dec 04 14:42:19.913 2018] BTPS Version  : 4.2.1.0 
    [Tue Dec 04 14:42:19.913 2018] Project Type  : 6 
    [Tue Dec 04 14:42:19.919 2018] FW Version    : 7.16 
    [Tue Dec 04 14:42:19.919 2018] App Name      : A3DPDemo_SNK 
    [Tue Dec 04 14:42:19.923 2018] App Version   : 0.1 
    [Tue Dec 04 14:42:19.923 2018] BD_ADDR: 0xB0B448F4ACDD
    [Tue Dec 04 14:42:19.923 2018] A3DP endpoint opened successfully.
    [Tue Dec 04 14:42:19.927 2018] Class of Device: 0x040424.
    [Tue Dec 04 14:42:19.929 2018] Supported formats:
    [Tue Dec 04 14:42:19.929 2018]    Frequency: 44100, Channels: 2, Flags: 0
    [Tue Dec 04 14:42:19.931 2018]    Frequency: 48000, Channels: 2, Flags: 0
    [Tue Dec 04 14:42:19.936 2018]    Frequency: 48000, Channels: 1, Flags: 0
    [Tue Dec 04 14:42:19.939 2018]    Frequency: 44100, Channels: 1, Flags: 0
    [Tue Dec 04 14:42:19.948 2018] 
    [Tue Dec 04 14:42:19.948 2018] ******************************************************************
    [Tue Dec 04 14:42:19.954 2018] * Command Options: Inquiry, DisplayInquiryList, Pair,            *
    [Tue Dec 04 14:42:19.957 2018] *                  EndPairing, PINCodeResponse, PassKeyResponse, *
    [Tue Dec 04 14:42:19.967 2018] *                  UserConfirmationResponse,                     *
    [Tue Dec 04 14:42:19.967 2018] *                  SetDiscoverabilityMode, SetConnectabilityMode,*
    [Tue Dec 04 14:42:19.977 2018] *                  SetPairabilityMode, SetBaudRate               *
    [Tue Dec 04 14:42:19.984 2018] *                  ChangeSimplePairingParameters,                *
    [Tue Dec 04 14:42:19.988 2018] *                  GetLocalAddress, GetLocalName, SetLocalName,  *
    [Tue Dec 04 14:42:19.993 2018] *                  GetClassOfDevice, SetClassOfDevice,           *
    [Tue Dec 04 14:42:19.997 2018] *                  GetRemoteName, OpenSink, CloseSink,           *
    [Tue Dec 04 14:42:20.005 2018] *                  RemotePlay, RemotePause, RemoteNext,          *
    [Tue Dec 04 14:42:20.012 2018] *                  RemotePrev, Help                              *
    [Tue Dec 04 14:42:20.019 2018] ******************************************************************
    [Tue Dec 04 14:42:20.023 2018] 
    [Tue Dec 04 14:42:20.023 2018] 
    [Tue Dec 04 14:42:20.023 2018] A3DP+SNK>
    [Tue Dec 04 14:42:26.906 2018] atIOCapabilityResponse: 0xD4A33D105489
    [Tue Dec 04 14:42:26.909 2018] Capabilities: Display Yes/No
    [Tue Dec 04 14:42:26.912 2018] 
    [Tue Dec 04 14:42:26.912 2018] A3DP+SNK>
    [Tue Dec 04 14:42:26.912 2018] atIOCapabilityRequest: 0xD4A33D105489
    [Tue Dec 04 14:42:26.916 2018] 
    [Tue Dec 04 14:42:26.916 2018] Auth success.
    [Tue Dec 04 14:42:26.916 2018] 
    [Tue Dec 04 14:42:26.916 2018] A3DP+SNK>
    [Tue Dec 04 14:42:26.985 2018] atUserConfirmationRequest: 0xD4A33D105489
    [Tue Dec 04 14:42:26.992 2018] 
    [Tue Dec 04 14:42:26.992 2018] Auto Accepting: 
    [Tue Dec 04 14:42:26.992 2018] 
    [Tue Dec 04 14:42:26.992 2018] GAP_Authentication_Response success.
    [Tue Dec 04 14:42:27.000 2018] 
    [Tue Dec 04 14:42:27.000 2018] A3DP+SNK>Un-handled Auth. Event.
    [Tue Dec 04 14:42:27.044 2018] 
    [Tue Dec 04 14:42:27.044 2018] A3DP+SNK>
    [Tue Dec 04 14:42:27.051 2018] atLinkKeyCreation: 0xD4A33D105489
    [Tue Dec 04 14:42:27.054 2018] Link Key Stored.
    [Tue Dec 04 14:42:27.054 2018] 
    [Tue Dec 04 14:42:27.054 2018] A3DP+SNK>
    [Tue Dec 04 14:42:27.125 2018] etAUD_Signalling_Channel_Open_Indication
    [Tue Dec 04 14:42:27.129 2018] BD_ADDR:  0xD4A33D105489
    [Tue Dec 04 14:42:27.132 2018] 
    [Tue Dec 04 14:42:27.132 2018] A3DP+SNK>
    [Tue Dec 04 14:42:27.189 2018] etAUD_Remote_Control_Open_Indication
    [Tue Dec 04 14:42:27.195 2018] BD_ADDR:     0xD4A33D105489
    [Tue Dec 04 14:42:27.195 2018] 
    [Tue Dec 04 14:42:27.195 2018] A3DP+SNK>
    [Tue Dec 04 14:42:27.202 2018] etAUD_Stream_Open_Indication
    [Tue Dec 04 14:42:27.213 2018] BD_ADDR:     0xD4A33D105489
    [Tue Dec 04 14:42:27.213 2018] MediaMTU:    672
    [Tue Dec 04 14:42:27.213 2018] StreamType:  SNK
    [Tue Dec 04 14:42:27.218 2018] Status: VS_A3DP_Sink_Open_Stream(): 0
    [Tue Dec 04 14:42:27.218 2018] 
    [Tue Dec 04 14:42:27.218 2018]  Send HCI Flow Spec for guaranteed ACL connection
    [Tue Dec 04 14:42:27.229 2018] 
    [Tue Dec 04 14:42:27.229 2018]  Send HCI VS DDIP for ACL priority over scans
    [Tue Dec 04 14:42:27.237 2018] Status: Enable the audio codec.
    [Tue Dec 04 14:42:28.059 2018] 
    [Tue Dec 04 14:42:28.059 2018] A3DP+SNK>

    BTW, I followed the exact steps I mentioned above.

    Best regards,

    Vihang