Nucleo-U575 & SIM7600G
Dear,
Started with the FreeRTOS example I am trying to communicate over uart with a sim7600G. I have setup my usart2. I am able to send data but the returned value contains only the data sended and no response from the sim7600G.
I have tried with an external serial converter and with the same ports I can read the sim7600G.
For example when I send "AT\n" to the sim7600G with the serial conveter I get "AT\n\nOK\n"
When I send "AT\n" with the nucleo-U575 board I only get "AT\n". What can be wrong in my setup?
This is my code that I use:
for(;;){
HAL_UART_Receive_IT(&huart2, ReceiveITStr, sizeof(ReceiveITStr));
HAL_UART_Transmit(&huart2, "AT\n", sizeof("AT\n"), 10);
osDelay(1000);
printf("thread ln300: %s\n\n", ReceiveITStr);
osDelay(30000);
}
Kind regards
