March 19, 2026, 10:02:48 AM

Recent posts

#41
ST / Re: BB-STM32WL and Platformio/...
Last post by winfried - February 19, 2026, 11:02:19 AM
ad LoRa versus LoRaWAN

Yes you are right, thanks.

I misread the help at the "modem.joinABP(...)", where it states is does not need for data exchange the connection with the gateway, but it seems it needs a gateway for join process, so it does not configure the device same channels etc...

I hoped I can use the middleware interface of STM32LoRaWan lib from STM for P2P, but this is not documented enough without a ton of read and the AI pointed me in the wrong direction confusing LoRa and LoRaWan libs ;-).

But I found the RadioLib which supports STM32WLx. I will try to make P2P example working and post it here.
#42
ST / Re: BB-STM32WL and Platformio/...
Last post by winfried - February 19, 2026, 10:52:50 AM
Thank you for the hints,

ad serial monitor for debugging:

; -DSERIAL_UART_INSTANCE=1
This was used to get get the Serial output to cmis-dap using Devkit, since it registers also a /dev/ttyACM0 and didn't work, but maybe it switches to PA9 and PA10.

I want to avoid the approach in Code, since I want the same source code for "cmis-dap" and "serial programming", but it is a solution if others fails.

Also for "STM32flash" there are options to handle boot and reset, with "dtr" and "dtc" pins with your ESP-PROG, (so I can make a dev connector on my board):

  ...
 -i GPIO_string  GPIO sequence to enter/exit bootloader mode
            GPIO_string=[entry_seq][:[exit_seq]]
            sequence=[-]n[,sequence]
 -R      Reset device at exit.
 ...

I will try this and report back here on this post.
#43
ST / Re: BB-STM32WL and Platformio/...
Last post by LubOlimex - February 19, 2026, 09:03:39 AM
Oh.

About getting the serial over PA9/PA10 instead of PA2/PA3 it should be purely software effort to also use them as output. In PlatformIO it should be as simple as switching from Serial to Serial1 I guess. Looking into your platformio.ini first make sure to comment out line 30 (it forces the usage of the CDC pins):

-DUSBD_USE_CDC

and uncomment this line 34:

;-DSERIAL_UART_INSTANCE=1

Maybe do some minimal test:

void setup()
{
    Serial1.begin(115200);
}

void loop()
{
    Serial1.println("USART1 on PA9/PA10 working");
    delay(1000);
}

if that doesn't work, maybe Serial1 is not defined at all, add it and force it:

HardwareSerial SerialPort(PA10, PA9); // RX, TX

void setup()
{
    SerialPort.begin(115200);
}

void loop()
{
    SerialPort.println("Forced USART1 mapping");
    delay(1000);
}

It should be possible to connect devices peer-to-peer but it won't be LoRaWan, just LoRa peer-to-peer... After manufacturing we test these devices in a similar way - we connect two devices that send some PING-PONG data between each other.

The json was provided by a customer, who struggled to find PlatformIO config, he also wrote "Bear in mind that I tested it only with the arduino framework (see frameworks section, not cmsis nor stm32cube)".
#44
FPGA / Re: Problem getting simplest o...
Last post by LubOlimex - February 19, 2026, 08:16:30 AM
Thank you both for reporting this issue and helping in debugging and fixing it!
#45
FPGA / Re: Problem getting simplest o...
Last post by PaulUK_DE - February 18, 2026, 10:34:00 PM
Thanks to @Stokpan reporting the issue, the author of openFPGALoader did find an issue with the current Windows version and was quick to correct it.  The board is now working with Windows once again.  Thank you.
#46
ESP32 / Re: What board should I use?
Last post by LubOlimex - February 18, 2026, 04:59:09 PM
ESP32-POE-ISO, not sure about MOD-IO, maybe consider MOD-IO2, maybe consider lightning with own controller that can be controlled by digital 3.3V digital IO.

Also for sensor consider MOD-BME280 or even better MOD-ENV (it also has CS811 to measure air quality, which is pretty important I guess).

https://github.com/OLIMEX/ESP32-POE/tree/master/SOFTWARE/ARDUINO/ESP32-BME280-WEB

https://github.com/OLIMEX/ESP32-POE2/blob/main/SOFTWARE/ARDUINO/MOD-ENV-ESP32/MOD-ENV-ESP32.ino
#47
FPGA / Re: Problem getting simplest o...
Last post by PaulUK_DE - February 18, 2026, 02:48:02 PM
Quote from: Stokpan on February 17, 2026, 10:07:53 PMThat confirms my own experience as well. The openFPGALoader.exe build from the legacy cc-toolchain-win works, the new one from OSS CAD Suite doesn't.

I've filed a bug report: https://github.com/trabucayre/openFPGALoader/issues/628

@Stokpan, Thanks for doing that, I will keep an eye on the report thread, I see there have been some replies.

In the meantime, I installed the OSS-CAD on a Raspberry Pi 5, and after changing the USB permissions and setting the Path, I was able to upload the simple Blinky test that LubOlimex posted above.  I'm glad that the board is working with Linux and the legacy software, but it appears there is still an issue with the current windows openFPGALoader. 

I hope that the author can find what the issue is, that would be greatly appreciated.
#48
ST / Re: BB-STM32WL and Platformio/...
Last post by winfried - February 18, 2026, 12:11:25 PM
Thanks for answering and sorry for the misunderstanding, I am the author of pfb-bees and use STM32LoRaWAN from author STMicroelectronics.

Since LoRa arduino Lib does not support the STM32WL5xx, I choose the one from STMicroelectronics, which supports it. Any other suggestion is welcome.

Maybe with this community we can get a working example, for this educational project, here the questions:

Not being a LoRaWan expert:

Is it possible to make a local Network between all devices without a LoRaWan gateway ?

Are additional settings are needed for the Olimex Board BB-STM32WL with the board configuration `olimex_wle5.json` recommended by Olimex for platformio ?
#49
ESP32 / What board should I use?
Last post by fredy - February 18, 2026, 11:32:13 AM
Good morning, everyone.

I'm thinking about a home automation project using Olimex boards, and I have a lot of questions about which board would be best to use. Here's what I have in mind:

The idea would be to go through rooms/spaces where I would put a board with an ESP32, and these would connect or communicate with another Olimex board that would have a central server. Each room would be programmed individually and autonomously, without depending on each other. If one goes down, it would not affect the rest. If the central server goes down, the automations would continue to function locally. The communication protocol between each ESP in each room and the server would be mqtt.

What I would like to automate in each room is the following:

  • Lighting and its switches. Essential
  • Motion/presence sensor. Essential
  • Temperature and humidity sensor. Secondary, to be added in the future
  • Power outlets. Secondary, to be added in the future

As you can see, I need a few inputs and outputs. I have the following questions about which boards to use:

  • I would like everything to be wired, i.e., not using Wi-Fi, or as little as possible.
  • In each room, I would put the board either in the power box or in the communications box and try to run an Ethernet cable. I don't know which would be the best place.

I can think of several scenarios:
  • Put the board in the electrical box: I would have power for the boards and the cables for the switches and lighting close at hand. I could also run an Ethernet cable here.
  • If I have power cables nearby, I guess it wouldn't be necessary to use POE boards.

With all this in mind, I can see several boards that could work:
  • ESP32-POE-ISO: it doesn't have IO, so I would have to use a MOD-IO board
  • ESP32-POE2: It doesn't have IO, so I would have to use a MOD-IO board
  • ESP32-EVB: It doesn't have digital inputs, and few relays, so I would have to use a MOD-IO board
  • ESP32-C6-EVB: This board seems to be the most complete for my purpose, but it lacks an Ethernet port. I could try to do everything with Wi-Fi or add an Ethernet port if it's easy.

Which board do you think would be best to use so that everything is modular and independent?

Thank you very much in advance.
Best regards
#50
ST / Re: BB-STM32WL and Platformio/...
Last post by LubOlimex - February 18, 2026, 08:27:27 AM
It might be better to directly contact the author of the project.