July 07, 2025, 06:17:45 AM

Recent posts

#81
ESP32 / POE powered relays
Last post by Stipulate2010 - June 03, 2025, 10:27:57 PM
I am trying to put together a device that is POE powered with Relays. I was looking at the ESP32-POE and the MOD-IO2. My desire is to use it with ESPhome. I am not clear though that there is enough power to trigger the relays. If anyone has knowledge of this or a different combination of products I would appreciate it.

Thanks.
#82
ST / Re: LoRa-STM32WL-DevKIT: After...
Last post by LubOlimex - June 03, 2025, 03:37:34 PM
Well, it is sad that it turned out this way, but comparison and evaluation of similar products is part of the engineering process. We do the same when selecting components or parts.
#83
ST / Re: LoRa-STM32WL-DevKIT: After...
Last post by Volker - June 03, 2025, 02:06:50 PM
Thank you for your advice.
Anyway, we put a lot of effort into this project. We found out that neither the onboard debugger does work properly nor that the provided sample software is tested properly.
According to your advice we shall now adapt the sample software by ST from ST sample boards to the Olimex board.

No, we don't. We give up with this board and put it to scrap. We look for a board from another vender with better support. Good bye Olimex.
 
#84
ST / Re: LoRa-STM32WL-DevKIT: After...
Last post by LubOlimex - June 03, 2025, 10:58:22 AM
Also if I remember correct the demo at the web was some ping-pong demo between two LoRa-STM32WL-DevKIT boards would communicate over LoRa and print some data over the serial (if I remember one says PING and the other PONG).

I don't think this specific demo was tested in the TTN network, mainly because the TTN networks in our town don't reach our location. So we made some demo went to the center of the city tested the boards confirmed them working and all future tests were done between two boards.
#85
ST / Re: LoRa-STM32WL-DevKIT: After...
Last post by LubOlimex - June 03, 2025, 09:55:16 AM
What does these lines even do:

bool loraBusy1 = LmHandlerIsBusy();
...
bool loraBusy2 = LmHandlerIsBusy();

The software at our GitHub is old and maybe it doesn't work properly with all functions from the guide:

https://www.st.com/resource/en/application_note/an5406-how-to-build-a-lora-application-with-stm32cubewl-stmicroelectronics.pdf

Maybe try to update the project, using this:

https://github.com/STMicroelectronics/STM32CubeWL/tree/main

There was this Helium project that a customer posted, while Helium is different network than TTN maybe it can give you idea about the settings.

https://olimex.wordpress.com/2024/07/10/helium-meteo-project-uses-bb-stm32wl-ant-and-mod-bme280-to-measure-and-transmit-temperature-humidity-and-pressure-via-helium-lorawan/

https://docs.nordicsemi.com/bundle/ncs-2.9.2/page/zephyr/boards/olimex/lora_stm32wl_devkit/doc/olimex_lora_stm32wl_devkit.html
#86
ST / LoRa-STM32WL-DevKIT: After joi...
Last post by Volker - June 02, 2025, 06:02:47 PM
We use the LoRa-STM32WL-DevKIT-main.zip from github.

We provided se_identity.h with our values for LORAWAN_DEVICE_EUI, LORAWAN_JOIN_EUI, LORAWAN_APP_KEY, LORAWAN_NWK_KEY, LORAWAN_NWK_S_KEY, LORAWAN_APP_S_KEY.

The modul does successfully connect/join to TTN by call of 
MX_LoRaWAN_Init() in main.c
We see the join acknowledge message on TTN website.
But after MX_LoRaWAN_Init() no further communication takes place with the TTN.
We inserted commands before and after MX_LoRaWAN_Init(); in main.c:
 
  uint32_t loraDevAddrVor;
  LmHandlerErrorStatus_t lmHandlerErrStatVor = LmHandlerGetDevAddr(&loraDevAddrVor);
  HAL_Delay(1000);
  MX_LoRaWAN_Init();  //<<<<<<<<<<<<<<<<<<<
  HAL_Delay(1000);
  uint32_t loraDevAddrNach1, loraDevAddrNach2;
  LmHandlerErrorStatus_t lmHandlerErrStatNach = LmHandlerGetDevAddr(&loraDevAddrNach1);
  bool loraBusy1 = LmHandlerIsBusy();
  LmHandlerFlagStatus_t loraFlagStat = LmHandlerJoinStatus();
  LmHandlerErrorStatus_t mmHandlerErrStatNach2 = LmHandlerGetDevAddr(&loraDevAddrNach2);
  bool loraBusy2 = LmHandlerIsBusy();

The Status messages indicate success. But LmHandlerIsBusy() returns that the LoRaWAN connection is busy all the time.

Perhaps the join acknowledge message from the TTN is not received or not utilized for setting the proper buys status?

Any idea what we do wrong or how to solve the problem?

#87
ST / Re: Debugging the Lora-STM32WL...
Last post by Volker - June 02, 2025, 05:24:07 PM
Forget the onboard debugger interface. Use ST-Link/V2.

Connection to ST-Link/V2:
Remove the pins 1 and 2 of CON2 of the Modul BB-STM32WL sitting on the LoRa-STM32WL-DevKit. This disconnects the signals swclk and swdio from the base board.
Connect:
pin1 (swclk) with pin 9 (TCK_SWCLK) of ST-Link/V2
pin2 (swdio) with pin 7 (TMS_SWDIO) of ST-Link/V2
pin7 (+3.3V) with pin 1 (+3.3V in)  of ST-Link/V2
pin6 (NRST)  with pin 15 (NRST)    of ST-Link/V2
GND on baseboard with pin 20 (GND)  of ST-Link/V2

Debugger: Select AUtostart local GDB server, localhost, port 61234
Debug probe: ST-Link (ST-Link GDB server)
Select SWD
Frequency: Auto
Access port: 0-Cortex-M4
Connect under Reset
Verify flash download
Enable live expressions

ST-Link/V2 works very reliable.
#88
Neo6502 / Re: Can USB-NeoHub be used as ...
Last post by LubOlimex - June 02, 2025, 08:40:30 AM
The difference is the chip used inside and their compatibility with the TinyUSB software that Neohub uses. But this doesn't matter for general-purpose usage.

If you are looking for general-purpose hub, the USB-HUB is just fine.

If you are looking for USB hub specifically for Neo6502, then it is recommended to use USB-NeoHub.

Also refer to this to see why USB-NeoHub was designed:

https://neo6502.com/welcome/before/

#89
New Product Ideas / STM32U5 dev board
Last post by tdziki76 - May 30, 2025, 08:06:50 PM
Hello,

are you considering introducing STM32U5 family development boards to your offer ?

These are very interesting chips with a large amount of Flash memory (4Mb) and RAM (3Mb) with a built-in 2.5D graphics coprocessor (NechromVG) supporting most LCD interfaces including MIPI DSI.

A development board with a high-resolution MIPI DSI LCD would be a sales hit!

Tomasz
#90
New Products release / Re: MIPI DSI LCD 2.8 inch with...
Last post by s00999 - May 30, 2025, 07:17:34 PM
Hello,
I have ordered the ESP32-P4 as well as this display. Nevertheless, could you please provide (prior to shipment) the documentation, datasheet, source code, and possibly the schematic? I am planning to use another display based on the same ST7701S driver in the future.
Thank you.