cancel
Showing results for 
Search instead for 
Did you mean: 

Using acceleration sensor at LoRa communication.

machi
Associate

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.

 

 

1 REPLY 1
Andrew Neil
Super User

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?

  • Do you lose all comms with the sensor?
  • Do you get corrupted data?
  • Is it just your calculations that go wrong?
  • other...?

Some general debugging tips here:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/706966/highlight/true#M49

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.