Solved
What is wrong with this "HAL_UART_Transmit(&UartHandle, (uint8_t*)'\0'
I am trying to send 0h, that is one byte with 8 zeros. But HAL_UART_Transmit jumps to the error handler.
I am using Keil with 746 Discovery.
I have tried
if(HAL_UART_Transmit(&UartHandle, (uint8_t*)'\0', 1, 5000)!= HAL_OK)
{
Error_Handler();
}
and
if(HAL_UART_Transmit(&UartHandle, (uint8_t*)0x00, 1, 5000)!= HAL_OK)
{
Error_Handler();
}
And so on.Keil is having a bad day and making debugging difficult when code does run in order but this doesn't look like a Keil problem.
