Hello,
I have an STM microcontroller connected to a CC2564 using HW Flow controlled UART.
I am able to send all of the service pack (v1.6) and can receive HCI Events indicating success back from the CC2564. However, after I have sent these 50 commands, I can only receive one byte back, which is 48(dec), and then never receive another byte. Sending other commands, for example HCI_VS_DRPb_Tester_Packet_TX_RX with arguments to start transmitting, the CC2564 does act on the command and start transmitting at the expected frequency etc. However, no HCI Event is received. This becomes an annoyance when trying to do a recieve test as the BER Meter result is not received.
I am confident my low level approach is correct, as it is the same code as for loading the service pack. My general process is:
- Wait for HOST CTS (Device RTS) to be low.
- Send HCI Command packet.
- Set HOST RTS (Device CTS) to be low.
- Receive 4 bytes, and then receive the remaining number of bytes as in the 4th byte of the payload.
- Set HOST RTS to high.
Any help you can give would be very much appreciated.
Thanks,
Henry