2021-09-27 05:58 AM
In my customised board i am transmit "Hello World " via default arduino pins PA10=D0(Rx) and PA9=D1(Tx) named as USART1 using FTDI232 (USB to serial UART interface) and showing the trasmit data in the serial monitor properly. In my code i have written while statement as :-
while (1)
{
HAL_UART_Transmit(&huart1,myTxData,13,100);
HAL_Delay(1000);
}
Rest of auto-generated Cube functions.
When i using the USART2 pins named as PA15 (Rx) and PA2 (Tx) my code is flashing correctly but unable to print the data on the serial monitor. What changes i required in code so that the data is print properly on serial monitor.In my code i have written while statement as :-
while (1)
{
HAL_UART_Transmit(&huart2,myTxData,13,100);
HAL_Delay(1000);
}
Rest of auto-generated Cube functions.
2021-09-27 06:05 AM
Read out and check/post content of USART and relevant GPIO registers.
JW