Skip to main content
MSHAY.1
Associate II
August 18, 2021
Question

STM32WLE5 Sigfox pushbutton app not sending data using seeeds Lora E5 module

  • August 18, 2021
  • 10 replies
  • 4707 views

Hi,

We are tying to run sigfox pushbutton app on Seeeds lora e5 module what has a stm32wl mcu built in. I have configured the radio control switch gios according to the lora e5 module and also changed the tx power define to High power. have also changes the button and the led gpios.

Now the situation is when I press the button the led blinks 3 times as intended for sigfox app but no data received on the sigfox back end. One thing to mention is that, i have done the commissioning which includes copying chip certificate and get pac and dev ids files from st and programming them into stm32wl using cube programmer. these are done and the device is also registered on the sigfox backend. The sigfox covererage is there too in my area and i have tried taking the device to different areas, But still i cant get any packets received on sigfox backend. i have also used external antenna but still no luck.

what could it be?

I am suspecting something in the code.

Can anyone help me and let me know what else can be done?

Best regards,

Muhammad

This topic has been closed for replies.

10 replies

Markus GIRDLAND
ST Employee
August 18, 2021

Hello there!

It's possible that someone in this community might be able to help you with this. However, I would suggest also asking on the seeed forum available here.

MSHAY.1
MSHAY.1Author
Associate II
August 18, 2021

Hi,

I already contacted seeeds and they said we wont be able to provide support on sigfox. They directed me here and here I am.

Tesla DeLorean
Guru
August 18, 2021

Yes, well I don't suspect you're paying enough for the parts to get, or expect, any hours of engineering support. Forums are typically user-to-user, you might have more luck there.

For context you probably need to have a working SigFox device of known provenance so you can test network viability.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MSHAY.1
MSHAY.1Author
Associate II
August 18, 2021

yes you are right. Ive ordered a nucleo-wl55jc1 which is the standard will test the network coverage on that one , will post the update here then, meanwhile anyone came across same issue or have any suggestion please post here.

LCHAM.1
Visitor II
August 23, 2021

Hi MSHAY,

First, with Cube programmer tool, when looking at the location 0x0803E500, do you see the credentials obtained with ST (sigfox PAC and ID )? If not it you can't see your data on Sigfox backend.

To illustrate, I'm sending attached a print screen of location before and after loading the credentials

You should use STM32Cubeprogrammer v2.8.0.

Moreover, what toolchain are you using: STM32CubeIDE, IAR or KEIL?

Finally, you could test if your credentials load sequence is correct with AT_Slave project, opening a terminal and sending "AT$ID=?" command before and after the load of your credentials, checking if the answer is correct.

Best regards

MRebo.1
Associate II
August 24, 2021

So I tried to run the code but no signal from Sigfox came out. I was confused by not having a prototype like the dual core version has. As shown in the figures below.0693W00000DqDyjQAF.jpg  

Here we can see the prototype of the SIGFOX_API_send_frame() function. But this only exists in the dual core example. The single core has no prototype of this function, and I don't see any signal coming out of the board when I run the AT_SLAVE or PUSHBUTTON (SINGLE CORE) example

LCHAM.1
Visitor II
August 23, 2021

Here is the same location before loading credentials, containing default values

LCHAM.1
Visitor II
August 23, 2021

By the way, are you testing on last Firmware version: V1.1.0 ?

It's available on: https://www.st.com/en/embedded-software/stm32cubewl.html

Best regards

MSHAY.1
MSHAY.1Author
Associate II
August 23, 2021

on nucleo wl55 i did use the latest firmware 1.1.0. still no data

MSHAY.1
MSHAY.1Author
Associate II
August 23, 2021

Hi I know what you mean, I have loaded and verified the credentials. I am using stm32 cube ide and i am using sigfox pushbutton app not tha command one.

I did order the nucleo board and tried sending data but nucleo wl55 is also not sending anything i guess its a coverage issue, however on sigfox website i can see my area is covered well. I have no idea now how to confirm if its coverage issue or firmware.

LCHAM.1
Visitor II
August 23, 2021

Can you try the same sequence, replacing the linker script in: Projects\NUCLEO-WL55JCApplications\Sigfox\Sigfox_PushButton\STM32CubeIDE\STM32WL55JCIX_FLASH.ld, by the one atttached ?

MSHAY.1
MSHAY.1Author
Associate II
August 23, 2021

Hi,

Sure will do that and will let you know.

Regards

Muhammad Shayan

MSHAY.1
MSHAY.1Author
Associate II
August 24, 2021

UPDATE:

Hi,

With the above attached linker script I am able to see the packets on backend, so it wasnt the coverage issue its the firmware issue from ST, for now the nucleu wl55jc1 is working now ill try this file with seeeds lora e5 module (which has stm32wle5jc MCU inside) and post an update.

also this issue needs to be fixed on the next firmware update (may be in 1.2.0) of stm32wlxx SDK

Regards,

Muhammad Shayan

MSHAY.1
MSHAY.1Author
Associate II
August 25, 2021

Update:

Hi,

I have tested it now with Nucleo-WL55 and also with Seeeds Lora E5 module its working now :thumbs_up: , So the issue regarding the Lora E5 module was the wrong linker script, poor coverage and poor antenna matching. once all three issues were resolved I can see the packets on sigfox backend.

Regards,

Muhammad shayan

MRebo.1
Associate II
August 30, 2021

Can you help me? I changed the linker but still I don't see any signal coming out of my board (I have SDR). I am using STM32WLE and STM32WL55JC1.

Can you pass me the code that worked with your STM32WLE? I called you in the "message" field.

LCHAM.1
Visitor II
August 25, 2021

Glad to know it's working well on your Nucleo-WL55 and also with Seeeds Lora E5 module!

Good to have shared your setup with community.

Regards