UART blocked communication #10403
-
Hi! I am stuck with a problem related to UART on Pi Pico board with an RP2040 MCU. I use the module 0-UART (the default one) to connect to a GSM, everything works just fine when setting up the GSM, for example with text mode. The problem arises when it receives a SMS when I try reading some data the program just freezes. I used uasyncio module to create two tasks, one for constantly checking for data and other which will parse the message if GSM gets one. I used the GSM device on a separate board connected to my laptop and by using classic Python on windows it gets the job done seamlessly. If anyone can help me with an idea, I will be thankful! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The exact micropython version you use would be useful. |
Beta Was this translation helpful? Give feedback.
-
Given that you are using |
Beta Was this translation helpful? Give feedback.
Given that you are using
uasyncio
are you using theStreamReader
andStreamWriter
classes? These are highly recommended. See this example.