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.

CC2564MODAEM: CC2564MODA - Verify UART Interface with a Read Local Version Information Command

Part Number: CC2564MODAEM
Other Parts Discussed in Thread: CC2564

We have connected the UART/power supply of the evaluation board CC2564MODAEM with a starter kit (i.MX6 ULL).

To perform a first functional test, we followed the example of TI at https://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#UART_Communication Currently we get a valid response frame but immediately after that a "Hardware Error Event" follows and then no more communication is possible.

Fuctional test:

With the following command sequence the module responds after a manually generated shutdown as follows

Wert

Octets

Beschreibung

 

0x01

1

Packet Type à HCI command packet

 

0x01

1

Opcode LSB à  OCF[7:0]

Read Local Version Information Command

(OCF: 0x01, OGF: 0x04)

0x10

1

Opcode MSB à OGF[15:10] + OCF[9:8]

0x00

1

Length

 


7.7.14  Command Complete Event

Wert

Octets

Beschreibung

 

0x04

1

Packet Type

 

0x0E

1

Event Packet Code

Command Complete Event

0x0C

1

Length

 

0x01

1

Num_HCI_Command_Packets

 

0x01

1

Command_Opcode (LSB)

 

0x10

1

Command_Opcode (MSB)

 

0x00

1

Status    .

Read_Local_Version_Information command succeeded

0x06

1

HCI_version

Bluetooth Core Specification 4.0

0x0000

2

HCI_Revision

 

0x06

1

LMP/PAL_Version

 

0x0D00

2

Manufacturer_Name

0x000D

0x901B

2

LMP/PAL_Subversion

0x1B90 à CC256xB

 But there is a second event which reports a hardware error. Afterwards the Bluetooth module does not answer anymore.

7.7.16  Hardware Error Event

Wert

Octets

Beschreibung

0x04

1

Packet Type

0x10

1

Event Packet Code à Hardware Error Event

0x01

1

Length

0x06

1

Hardware_Code: UART_HCI_ERR_BAD_TYPE

The hardware event is described in the TI forum, but there is no answer there. 

@Ti

What are the causes for Hardware error event? 

  • Hi,

    Error 0x06 indicates that there is an error with the UART interface between your platform and the CC2564. Do you transmit anything on the UART TX line to the CC2564 after sending the read local version command? 

    I suggest you also try out the commands you are using to test with on a supported platform such as the MSP432, or the STM32. That will allow you to see if the issue is with the commands you are using or with the porting/setup on your imx6 platform.

    Regards,

    Michael