Skip to main content
TMich.1
Associate III
March 15, 2023
Question

I'm using a stm32g473 and a sim7600E-H, uart not working reliably.

  • March 15, 2023
  • 5 replies
  • 1457 views

In my code i first setup the sim7600 using blocking mode and later switch to dma. But in blocking mode I'm having trouble receiving data over uart. Using a nucleo it sometimes works very reliably and other times doesn't work at all or it only receives the first letter. on my custom board i once was able to get at ok response but other times it was nothing or some random character. What could be the reason?

This topic has been closed for replies.

5 replies

Karl Yamashita
Principal
March 16, 2023

Post your relevant code

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
TMich.1
TMich.1Author
Associate III
March 16, 2023

sorry, here it is:

0693W00000aJ6ZGQA0.png0693W00000aJ6c8QAC.png0693W00000aJ6ZyQAK.png0693W00000aJ6btQAC.pngthat good enough? i can put in the entire code as well if that is better

Mohamed Aymen HZAMI
ST Employee
March 27, 2023

Hello @TMich.1​,

Try to use the CubeFirmware USART with DMA example.

Mohamed Aymen

Karl Yamashita
Principal
March 27, 2023

There is no way to know what you're doing in SIMTransmitSetup? Post your code as a Code Snippet.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
TMich.1
TMich.1Author
Associate III
April 6, 2023

it ended up being a poor connection between chip and pcb, thank you for your help