Closed n-eq closed 2 years ago
Hmm - I'm not familiar enough with EFM32s to help troubleshoot.
It sounds like OpenLog is working (over a direct serial connection at least). I recommend using a logic analyzer to see what is being transmitted into the EFM32. It may be that you're scanning for the '<' character incorrectly.
Subject of the issue
I am trying to interface OpenLog with an EFM32 MCU without success.
Your workbench
An EFM32LG230F128-based module (3.3V)
v4.0. I did not reprogram OpenLog
Through the microcontroller pins (Tx, Rx, Vcc and Gnd). This is the eventual wiring. I also tested powering OpenLog with an external 3.7V battery without success (as in http://microbitsandbobs.co.uk/projects/Project%205%20Logging%20Data.pdf), and also powering it with the FTDI cable pins (5V)
Actual behavior
After several tests, I noticed that in the created log files (LOGXXXXX.TXT), only
12
is sent by OpenLog, which means '<' is missing. Besides STAT1 (blue) LED is off. According to the documentation, this means:1
),2
),<
)Code
Here's the code running on my MCU:
I very much appreciate your help.