AnsweredAssumed Answered

STM32F030C8 Interface with Quectel M95

Question asked by HARI krishna on Dec 7, 2016
Latest reply on Dec 19, 2016 by bauch.aaron.001

Hi all,

 

I am working for a project which is having 5 interfacing modules out of this one module needs to interface quectel M95 GSM modem to stm32f030C8. From PCB side and Hardware all was done working fine modem Responding to AT Commands.USART1 is used for interfacing M95 module. STM32 cube MX tool is used for generate code for TrueStudio.

 

Here is my problem,when i sent AT command modem responding with OK and reading messages also.For that i am using USART2 to display received message on PC terminal using MAX3232 converter.

 

If i want read the message which is received , in that received message some part of message is missing.i tried to increase the buffer size & receive length in the HAL_UART_Receive_IT  function but not worked out.

 

I am using usart1 receive interrupt .Receiving uart message are not exact what we need to receive some of sending characters also received.

 

uint8_t  uart1_aRxBuffer[150],send_Buf[100];

HAL_UART_Transmit(&huart1,(uint8_t *)send_Buf,len,1000);

HAL_UART_Receive_IT(&huart1,(uint8_t *)uart1_aRxBuffer,len1);

 

please help on this it is need to submit to the client ASAP.

Outcomes