M5Fire and UART
-
Hi,
I got an M5Fire and a QR-Code Scanner with the Atom Lite. I want to send the results of the QR scanner to the M5Fire via UART, and I connect them with a Grove cable via Port C on the M5Fire (which I bought last week).I can make it work, BUT
- it only works when I download it via UIFLOW, I can not test it live from UIFlow, because then it runs into an error
- The setup to make it work is different from what I would expect (Tx and Rx have to be switched).
You can see the screenshot attached, which makes it work:
If I run it "live", I get the following error though:
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.Which I saw being attributed to the pins being used otherwise.
Can anyone help me shed some light on that?
Thank you so much
-
Hello @gerber2
GPIO16 and GPIO17 cannot be used on M5Stack Fire. They are internally used for PSRAM.
See notice from here.
Notice:
The GPIO 16 / 17 in Fire is connected to the PSRAM by default, so when you connect or stack other function modules, you need to avoid conflicts with these two pins to prevent the device from working improperly and causing instability.Thanks
Felix
-
Hmm, so that means I can not use any of Grove connectors for this? I tried with the other hint provided about alternatives, but don't get it to work... Sounds like I need to sent back the Fire and get another M5Stack Core version?