In this article, I posted links to the git project and videos of how the interfaces work.
Stm32f303 through usb debugging:
Stm32f303 through gsm debugging:
Atmega328 through usb debugging:
Atmega328 through gsm debugging:
Git repository: https://bitbucket.org/dmitriy_1_b/repl