2022-09-16 03:19 AM
Hi,
Now I am working on I2C sensor (BH1750 sensor) integration with LoRaWAN base firmware(STM32cube_FW_WL_V1.0.0) in RAK module. The controller specification is STM32WLE5JC
I had configured the I2C peripheral initialization as mentioned below document.
I had configured the I2C sensor data reading function(I2C transmit & receive) as mentioned below document.
While I am integrating, I am getting my I2C sensor's data(BH1750's LUX value) by calling the I2C data reading function after the immediate initialization of I2C peripheral.
That means, it needs I2C peripheral initialization for every I2C data reading function while integrating I2C with LoRaWAN Stack.
But in Embedded program, without LoRaWAN stack, I2C peripheral integration with the RAK module is working fine with the same I2C configuration.
I have attached the I2C configuration details & What are all the changes I did for this I2C integration in the below mentioned document.
Kindly, Do find the attachment and go-through it once.
Kindly acknowledge me, If any configuration I missed in that.
I couldn't able to find the reason why I2C initialization needs for every I2C data reading function.
Kindly support on this issue!.
Thankyou!
I2C Configuration Document link:
https://docs.google.com/document/d/1LGT8uootOnq-HREk7lWT0mb1gY8xe_2q5Cp5qN55WRo/edit?usp=sharing
RAK module Detail:
https://docs.rakwireless.com/Product-Categories/WisDuo/RAK3172-Module/Overview/#product-description
2022-09-19 02:13 AM
Any update for this issue
2022-09-19 10:01 PM
Kindly support for this issue
2022-09-20 11:55 PM
Any update for this issue
2022-09-21 09:30 PM
kindly response & support for this issue
2022-09-22 10:10 PM
Any update for this issue
2023-04-05 03:36 AM
I have the same problem with a si7021 I2C sensor.