cancel
Showing results for 
Search instead for 
Did you mean: 

Having Issue in I2C Configuration with LoRaWAN base stack in RAK Module

SS.28
Associate II

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

6 REPLIES 6
SS.28
Associate II

Any update for this issue

SS.28
Associate II

Kindly support for this issue

SS.28
Associate II

Any update for this issue

SS.28
Associate II

kindly response & support for this issue

SS.28
Associate II

Any update for this issue

dgach.1
Associate

I have the same problem with a si7021 I2C sensor.