cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing external sensors with I-CUBE-LRWAN End Node STM32L476RG based Library

Zeeshan123
Associate II

I've interfaced my RFM95 LoRa module with the STM32L476RG Nucleo board, using the I-CUBE-LRWAN library to send uplink messages with dummy data and temperature values. However, I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?

1 ACCEPTED SOLUTION

Accepted Solutions

@Zeeshan123 wrote:

I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?


Probably, it just doesn't have one - not all examples do have .ioc files:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/demo-boards-with-micro-sd-slot-that-uses-standard-spi-instead-of/m-p/713834/highlight/true#M21051

 

Is there any evidence of any other CubeMX-generated code in the project?

View solution in original post

4 REPLIES 4

@Zeeshan123 wrote:

I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?


Probably, it just doesn't have one - not all examples do have .ioc files:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/demo-boards-with-micro-sd-slot-that-uses-standard-spi-instead-of/m-p/713834/highlight/true#M21051

 

Is there any evidence of any other CubeMX-generated code in the project?

So, does that mean I can't use that library to interface external real sensors using this library as my end node ?

Not at all.

It just means that you'll have to configure the pins, etc, manually.

Or maybe use a separate Cube-MX project to generate configurations, and then manually merge them into the I-CUBE-LRWAN project.

So , there is some hope I guess.