Skip to main content
Andorlatch
Associate
April 19, 2024
Question

I2C not working properly with sequencer. Why?

  • April 19, 2024
  • 0 replies
  • 802 views

Hello guys,

Im trying to learn about LoRa and else. Now, I am using an SubGHZ_Phy in stm32wl sdk. The problem is, when I am using vl6180x codes in while loop without sequencer, it does work! But, When I am trying to implement it with a 5 min util timer and a sequencer; VL6180x sensor does not work properly! It needs to measure a singleshot distance, in first start my readRange command returns 0. 

After first attempt, second and other attempt; it gives a value but I know it isn't true. I have already read about sequencer, I thought that my mcu turns off every peripheral and thats causes a problem like this. How can I solve it?

This topic has been closed for replies.