Part Number: CC2564
I use the PXPDemo supply by TI in this article: CC256x TI Bluetooth Stack PXPDemo App
I am using the STM32F4 as a host.
For the HCI UART. Because I can't use UART6 as in the example I take UART2.
I configure all the ports and pins according my new config here:
#define HCITR_UART 2
#define HCITR_TXD_PORT D
#define HCITR_TXD_PIN 5
#define HCITR_RXD_PORT D
#define HCITR_RXD_PIN 6
#define HCITR_RTS_PORT D
#define HCITR_RTS_PIN 4
#define HCITR_CTS_PORT D
#define HCITR_CTS_PIN 3
#define HCITR_RESET_PORT E
#define HCITR_RESET_PIN 9
and the DMA for UART2 is DMA1 STREAM 5,6 on channel 4 for RX,TX
#define HCITR_DMA_RXD_NUMBER 1
#define HCITR_DMA_RXD_STREAM 5
#define HCITR_DMA_RXD_CHANNEL 4
#define HCITR_DMA_TXD_NUMBER 1
#define HCITR_DMA_TXD_STREAM 6
#define HCITR_DMA_TXD_CHANNEL 4
I think this is all I need for the HW change.
When it run in write try to open stack, but then it fail and write it can't communicate for teh HCI part.
I check the pin of the TX but I didn't see any transmission there.
When I configure back to UART6 with the original DMA setting I see signal on the line.
What could make the problem of no communication on teh HCI UART line with UART2?
Thanks
Bar