2025-08-20 7:40 PM - last edited on 2025-08-22 3:48 AM by Amel NASRI
I am using NUCLEO-WL55JC1 to use LoRa communication.
And I add acceleration sensor of LSM6DSOX to this board and I want to get acceleration data while communicating LoRa.
But I could not get correct acceleration value.
And I could get correct acceleration value when I comment out MX_LoRaWAN_Process() in main.c.
So It seems that acceleration sensor doesn't work when LoRa is enable.
Do you know why and could you give me advices of this issue.
Solved! Go to Solution.
2025-09-22 8:25 AM - edited 2025-09-22 8:28 AM
Hello @machi
The sensor may work fine with the LoRaWAN implementation. But you should create a task on the sequencer that work on the data acquisition. You may refer to this Playlist tutorial that do the same process you are trying to implement using the NUCLEO-WL55JC1 and the X-NUCLEO-IKS01A2.
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.
2025-08-22 4:29 AM
Welcome to the forum.
You will need to give a lot more detail for anyone to be able to help - please see: How to write your question to maximize your chances to find a solution.
@machi wrote:I could get correct acceleration value when I comment out MX_LoRaWAN_Process() in main.c.
So look into what changes when you have the LoRaWAN enabled.
@machi wrote:It seems that acceleration sensor doesn't work when LoRa is enable.
What, exactly, does "doesn't work" mean here?
Some general debugging tips here:
2025-09-22 8:25 AM - edited 2025-09-22 8:28 AM
Hello @machi
The sensor may work fine with the LoRaWAN implementation. But you should create a task on the sequencer that work on the data acquisition. You may refer to this Playlist tutorial that do the same process you are trying to implement using the NUCLEO-WL55JC1 and the X-NUCLEO-IKS01A2.
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.