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.

CC2560: Power up

Part Number: CC2560

Hi, 

I am trying to use PAN1326B, my circuit such as:

then, i try to send a command from MCU to PAN1326, for ex. , i try to send a package:

buf[len++] = 0x01; // -Type : 0x01 (Command)
buf[len++] = 0x09; // -Opcode 
buf[len++] = 0x10; // -opcode
buf[len++] = 0x00; // -Data Length

but I couldnt receive (event ) back from PAN1326. 

My questions:

1. Power up, I connect pin nSHUTD with 1.8V, and start SLOW CLOCK and POWER SUPPLY pins (VDD_IO, CL1.5_LDO_IN, MLDI_IN)  at the same time, is it ok?  I see the LED conneting with HCI_RTS is OFF

or I must do exactly the same with the userguide  

Thank you so  much, 

Hoang

  • Moving thread to CC256x Forum
  • Hi , Your thread has been assigned to BT expert. We will get back to you shortly.

    Thanks
    Saurabh
  • Hoang,

    Please make sure that your schematic follows the design guidelines for CC256x.

    Design guide : processors.wiki.ti.com/.../CC256x_System_Design_Guide

    Design checklist : www.ti.com/.../swrr124

    For starters, the nSHUTD should be connected to a GPIO pin and controlled from the MCU in order to meet the timing requirements mentioned in the CC256x datasheet.

    Also, make sure that the CL1.5_LDO_IN, MLDO_IN and MLDO_OUT are connected to power rails as shown in the reference schematic of the datasheet. 

    Best regards,

    Vihang

  • Hi Vihang, 

    Thank you for your help. 

    I have tried to use GPIO pin to control nSHUTD, 

    and 3 pin CL1.5_LDO_IN, MLDO_IN, MLDO_OUT are connected to the 1.8V VCC 

    VDD_IO connected to 1.8V VDD 

    I can see the HCI_RTS is pulled to LOW ( LED OFF) after nSHUTD is pulled HIGH (1.8V)

    Then, I send a package data ( command) to PAN1326B, but I HCI_TX didnt change ( HIGH all the time)

    As expected, PAN will reply a EVENT package:  (HCI_Read_BD_ADDR event)

    0x04       0x0E       0x0A    0x01     0x09      0x10       0x00     0x11     0xD1      0xF8       0XA5        0x0D        0xBC 

    Did I do something wrong? Or i misunderstand somewhere. 

    I used arduino mini pro, UART AtfSoftwareSerial to send and receive data from PAN

    Thank you

    Hoang

          

  • Hi Vihang,
    As processors.wiki.ti.com/.../CC256x_Testing_Guide, i can send HCI_Read_Local_Version_Information packet without downloading the service pack
    I have tried to send a packet: 0x01 0x01 0x10 0x00, but I receivce nothing.

    I need your advice.

    Thank you
    Hoang
  • Hoang,

    The schematic is still not what is shown in the datasheet. If using the H4 protocol for HCI, the RTS and CTS lines must be used for flow control. If using H5 protocol, the RTS and CTS lines should not be used at all (disconnected).

    Please change your schematic to the reference schematic shown in the datasheet. If the problem still exists, I would recommend getting one of the CC256x EVMs and use it as a working reference. Then it will be easy to debug the issue by looking at the differences between the two.

    Best regards,
    Vihang
  • Hi Vihang, 

    Thank you for your help. I fixed this problem. 

    The problem was: I sent COMMAND PACKET so early after nSHUTDn deactive (HIGH). 

    Now, I can send COMMAND and receive the EVENT as the document - CC256x VS HCI Commands

    I will trying to get communication between 1 slave vs 1 master. 

    Thank you too much, 

    Regards,

    Hoang