Skip to main content
Associate
April 30, 2025
Question

FreeRtos Impementation with the STM32F407G and the RC7620 Cellular Modem

  • April 30, 2025
  • 2 replies
  • 646 views

I am currently implementing FreeRTOS on the STM32F407 MCU board and integrating it with the RC7620 Cellular Modem. However, I am facing issues with the UART configuration of USART2 for transmitting and receiving AT command responses from the RC7620 modem.

 

I already have the FreeRTOS source code available and would like to share it with you for your support in making the USART2 configuration work correctly.

 

Best regards,

Manjunath E. L.

 

 

2 replies

Andrew Neil
Super User
April 30, 2025

@Manjuanath wrote:

I am facing issues with the UART configuration of USART2 for transmitting and receiving


What "issues", exactly?

Can you get basic transmission and reception of strings working?

That should be your first step.

Once you've got that, then you can move on to adding AT Commands, cellular modems, etc.

After all, AT Commands are just text strings - so start there!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
April 30, 2025

Hi Andrew Neil

Thanks for the replay

The exact issue in the  shared code all the implementation is done i have to use the USART2 to communicate but it is not happing can you please see my application source code 

Yes i have tested with the basic TX and Rx with both the devices it is reponding back the AT command Responses.

 

Please help on this?

 

Thanks

Manjunath E L

 

 

mƎALLEm
Technical Moderator
April 30, 2025

Hello @Manjuanath and welcome to the ST community,

You need to simplify the issue as much as possible for an efficient analysis. For now forget about FreeRTOS and the AT commands.

Did you succeed to send and receive chars with USART2 with a very basic example? than you can add complexity step by step. 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Associate
April 30, 2025

hi @mƎALLEm 

Yes, I did that procedure, and there is no issue in that I am receiving the str from the USART2, AND IT WAS SUCCESSFUL.

 

Thanks and Regards

Manjunath E L