2025-09-02 9:03 AM - last edited on 2025-09-02 9:34 AM by Andrew Neil
I am trying to read GNSS data using B-L072Z-LRWAN1 and GPS module. I installed FP-ATR-LORA1 and
wrote the project to my B-L072Z-LRWAN1 and viewed it with Teraterm, the following error message appeared.
"Accelerometer NOT initialized"
I don't use an accelerometer. I just want to use GPS module. How can I rewrite the code to prevent the above error message from appearing?
2025-09-02 9:32 AM - edited 2025-09-02 9:50 AM
Search the source code for the text "Accelerometer NOT initialized" - most likely, that will appear at the point where it tries to initialise the accelerometer.
Disable that.
You will also have to disable where it attempts to read the accelerometer.
PS:
Or perhaps it might be simpler to just use X-CUBE-GNSS1 and I-CUBE-LRWAN ?
2025-09-04 12:23 AM - last edited on 2025-09-04 12:49 AM by Andrew Neil
I deleted some of sensor related codes. Teraterm showed following message. What does it mean? I think there are still errors remaining.
2025-09-04 12:54 AM
It would be easier to read posting as text rather than a screenshot.
(To post formatted text, see this)
@martian_first wrote:Teraterm showed following message. What does it mean?
Again, search the source code for those messages to see what causes them to be emitted.
"Not joined" sounds like issues with joining the LoRaWAN network ?
2025-09-26 7:59 AM
Hello @martian_first
I personally suggest you start from the example available on the FP-ATR-LORA1 for the B-L072Z-LRWAN1. It should be working fine, so you can start modifying it step by step to reach what you are exactly looking for.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.