STM32L4P5G-DK + STMod+ (MB1280) + WRL-17146
Greetings,
I have STM32Cube IDE installed, created some test apps, blinking LED's, RTOS threads, mutex and so on,
writing on UART2 (virtual serial) is working well as I have working output on virtual COM port using putty on serial.
I want to access UART3 as I have ESP-01S board connected on CN4 but no success.
For the test I have removed ESP-01S and connected USB-RS232 (3.3V) RX/TX pins on CN4, opened another putty on this serial port to see output but whatever I send to it, nothing happens on putty.
In test thread I'm doing this:
void WifiTask(void const * argument)
{
uint8_t buffer[64]={0};
int len;
for(;;)
{
len = sprintf((char *)buffer, "AT+GMR\x0d\x0a");
HAL_UART_Transmit(&huart3, buffer, len, HAL_MAX_DELAY);
osDelay(100);
}
}
But nothing comes out. I have changed all possible combinations of GPIO mode and GPIO Pull up/dn, but serial port is silent as hill.
Is there any hint on what should I do to proper initialize this USART3 port?
As I said, USART2 is working as it should but seen on PC as virtual COM port trough USB connected Dev board.
Best regards,
Robert
