Skip to main content
Associate
Jan 25, 2024 9:10 AM UTC
Question

STM32WL55JC LoRaWAN_End_Node_DualCore uart doesn't work

Hi everyone,

 

I want to develop a end node module using STM32WL55JC. I have tried to LoRaWAN_End_Node_DualCore example project and the end node has connected to TTN. After that the usart1 enabled and try to send message but i couldnt send message. How can i use peripheral(i2c, uart, adc etc.) with LoRaWAN_End_Node_DualCore/LoRaWAN_End_Node.

This topic has been closed for replies.

5 replies

STTwo-32
ST Technical Moderator
Jan 25, 2024 10:26 AM UTC

Hello @turen and welcome to the ST Community :smiling_face_with_smiling_eyes:.

I suggest you follow this playlist specially the implementation of the IKS01A3 (video 6) that use I2C to communicate with the example. you can try the same steps and take a look at the changes that acquired on the .c/.h files. Then, you can adapt this method to your specific needs.

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
turenAuthor
Associate
Jan 29, 2024 9:22 AM UTC

I dont want to use IKS01A3 library because Software package not contain all sensors.  I want to learn how to use stm32 Peripherals with lorawan end node app and then i will create custom library. 

Issue Summary: How to use peripherals(uart, i2c or ADC etc.) with lorawan end node project.

STTwo-32
ST Technical Moderator
Jan 29, 2024 10:07 AM UTC

Hi, 

You don't have to use the IKS01A3. You just have to refer to the video to understand how to use an API (I2C as example) with a LoRawan end node project.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
turenAuthor
Associate
Jan 26, 2024 2:43 PM UTC

Hi again,

i try to create a lorawan project working on single core. can i use M0plus core for lorawan project and M4 core for general purpose. when i try to create new project, cubemx use both core for lorawan. how can i disable cortex-M4 core shown as below image

turen_0-1706280151336.png

 

STTwo-32
ST Technical Moderator
Jan 26, 2024 3:40 PM UTC

The LORAWAN middleware need to be activated on both contexts "Cortex-M4 and Cortex-M0+" for Dual core  projects.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.