Other Parts Discussed in Thread: CC256XSTBTBLESW,
Hi,
I'm trying to use the AUDDemo from the CC256XSTBTBLESW package for CC3564MODNEM on a stm32f401re (which is on a Nucleo board) using IAR.
I managed to change all the needed configuration but the BSC_Initialize return me an -4 error (which seems to be BTPS_ERROR_HCI_INITIALIZATION_ERROR).
I use UART2 for the console and UART1 for HCI.
Here is the modifications I made in the configuration files:
- HCITRCFG.h :
#define HCITR_UART 1 #define HCITR_TXD_PORT A #define HCITR_TXD_PIN 9 #define HCITR_RXD_PORT A #define HCITR_RXD_PIN 10 #define HCITR_RTS_PORT A #define HCITR_RTS_PIN 12 #define HCITR_CTS_PORT A #define HCITR_CTS_PIN 11 #define HCITR_RESET_PORT A #define HCITR_RESET_PIN 8 #define HCITR_DMA_RXD_NUMBER 2 #define HCITR_DMA_RXD_STREAM 2 #define HCITR_DMA_RXD_CHANNEL 4 #define HCITR_DMA_TXD_NUMBER 2 #define HCITR_DMA_TXD_STREAM 7 #define HCITR_DMA_TXD_CHANNEL 4
- HALCFG.h :
#define CONSOLE_UART 2 #define CONSOLE_TXD_PORT A #define CONSOLE_TXD_PIN 2 #define CONSOLE_RXD_PORT A #define CONSOLE_RXD_PIN 3 #define HAL_LED_PORT A #define HAL_LED_PIN 5
- AUDIOCFG.h :
no changes for now
- BTPSCFG.h :
no changes for now
Do someone have any clue ?
Thanks.
PS: I've tested the TX ouput of UART1 with an oscilloscope and it remains deadly silent.