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.

CC2650: Why is it necessary to reset after pairing?

Part Number: CC2650
Other Parts Discussed in Thread: AM3352, CC2560

Tool/software:

Hello.

I would like to ask you to confirm the cause of the following phenomenon and the validity of the policy.

I am trying to pair AM3352 and CC2650 with another device via UART connection.

I had reset the SAP and reset the CC2650 via GPIO before advertise, resetting the CC2650 via GPIO is also done at power up.
However, when I followed the above procedure to advertise, it did not advertise.
I solved the problem of no advertisement by performing a SAP reset at task startup as in the sample code and removing the reset of the CC2650 by GPIO before advertisement.

However, after this modification, I wanted to send a packet request from AM3352 to CC2650 after pairing, but I could not send a packet request from AM3352 to CC2650 because there was no notification from CC2650 that the communication state is connected.
So, I reset CC2650 by GPIO before advertisement, then I got a notification from CC2650 that the communication state is connected, and I could send a packet transmission request from AM3352 to CC2650.
Is there anything else that might be a problem with this modification?

Here is the sample code I used for reference.
\ti\simplelink\ble_sdk_2_02_07_06\src\examples\simple_ap\cc26xx\app\simple_ap.c
\ti\simplelink\ble_sdk_2_02_07_06\src\examples\simple_ap\cc26xx\app\simple_main.c

Thank you very much for your cooperation.

  • Hello Taisei,

    Thanks for reaching out. Could you please help me clarifying the following:

    1. AM3352 and CC2650 are communicating via UART correct? is there some kind of NPI implemented?
    2. Is the CC2650 working as central or peripheral? Who is it connecting to (what device - or mobile ap)?
    3. What type of reset are you performing? (what command are you using)

    BR,

    David.

  • Hello David
    Thank you for your reply.
    I will answer below.
    1.AM3352 and CC2650 are communicating via UART correct? is there some kind of NPI implemented?
    >I have already implemented NPI, it is almost the same as the TI sample code.
    2.Is the CC2650 working as central or peripheral? Who is it connecting to (what device - or mobile ap)?
    >The CC2560 is working as a peripheral and I am trying to connect it to a PC.
    3.What type of reset are you performing?
    >CC2650's GPIO reset pin is enabled.

    That is all.
    BR.
    Taisei.

  • Hello Taisei,

    Thanks for the answer. Could you please point out where is this notification being generated from the CC2650 and how is it received from the AM3352 (function) so that we can better search for the root-cause considering it works after resetting. I will check with the team as well if they have seen a similar behaviour, but if you can provide us a bit more detail of what you have been able to debug so far it would be great.

    I got a notification from CC2650 that the communication state is connected

    BR,

    David.