2021-09-13 02:39 AM
I i am trying to follow the AN5604 (STM32WB Series BLE interoperability report) but im unnable of enabling the debug UART.
Nothing shows up the Nucleo's stlink's COM port, but the programm is running, im able to conenct to the BLE device from my phone.
(on the PC side im using putty and realterm, and COM8 its the only COM port available)
CubeMX file attached
Steps i followed:
CFG_HW_USART1_ENABLED CFG_HW_USART1_ENABLED
Parameter Description:
Enable or Disable traces USART1 (USART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only)
Please ensure that in ProjectManager Advanced Settings panel MX_USART1_UART_Init Not Generate Function call is ticked and that Vibility is unticked
Generic parameters:
CFG_DEBUG_BLE_TRACE Enabled
CFG_DEBUG_APP_TRACE Enabled
CFG_DEBUG_TRACE_LIGHT Enabled
CFG_DEBUG_TRACE_FULL Enabled
DBG_TRACE_USE_CIRCULAR_QUEUE Enabled
DBG_TRACE_MSG_QUEUE_SIZE 4096
MAX_DBG_TRACE_MSG_SIZE 1024
Application parameters:
CFG_DEBUG_TRACE_UART "hw_uart1"
Debug Options:
BLE_DBG_APP_EN "enabled"
Solved! Go to Solution.
2021-09-28 05:03 AM
I started following another tutorial with another dev board and it works now, no idea why.
I attached the cubeMX config
2021-09-13 03:04 AM
I tried tying PB4 (UART1 CTS pin) to GND but no luck neither.
tried dissabling USB Device and Serial Wire debuggign to get rid of the cbeMx warning... still not working
2021-09-28 05:03 AM
I started following another tutorial with another dev board and it works now, no idea why.
I attached the cubeMX config