Page 4 of 7

Re: STM32WLxx port

Posted: Thu Apr 15, 2021 12:54 pm
by vrollei
About ftl files.
I use compatible L4 ftl files:
tools/ftl/processors/boards/stm32l4xx/templates

Do we need dedicated ftl files for STM32WL line?

Re: STM32WLxx port

Posted: Thu Apr 15, 2021 1:05 pm
by FXCoder
Hi Vitaly,
All good.
Updated hal_lld.c applied.

Yes the implementations should have ftl per family - (ftl/processors/boards/templates & ftl/processors/conf & processors.xml)
So that is to be done some time...

BTW many thanks for all the work in putting the WL55 implementation together!
--
Bob

Re: STM32WLxx port

Posted: Thu Apr 15, 2021 1:22 pm
by vrollei
Bob,

not at all, my pleasure!

Shall we discuss next steps?

There are a lot of things to do with this STM32 line.

Re: STM32WLxx port

Posted: Thu Apr 15, 2021 3:00 pm
by FXCoder
Definitely there is plenty to do...

I'll first run up my own multi-radio project code base on the NUCLEO WL55.
This code base runs on a variety of STM32 platforms already so adding another is not big effort.
(I have a multi-build and config for all the different STM targets)
First up that will be using a si4463 external module for a radio just to check that everything works.
Then I have to add the semtech stack and get LoRa running with just the M4.
That may take a little time.
The RP2040 is also work in progress and has quite a bit to do yet.

At the same time I have a work project using WL55 (which may also involve WB55).
BTW I have a first draft IPCCv1 driver (very simple) that is necessary for the WB55 but not immediately needed for the WL55.

What have you in mind to do with the WL55?
--
Bob

Re: STM32WLxx port

Posted: Thu Apr 15, 2021 5:46 pm
by vrollei
Good plan!

I did already porting Semtech stack to ChibiOS for SX1272 with ChibiOS PWR Driver for Low Power support and RTC based ST (STM32L1, L4),
so it can be easily used for SX1276 and WLxx, but new Radio driver over SUBGHZ-SPI should be added.

I am plaining to do drivers for WLxx:
- SUBGHZ Radio driver
- PWR driver
- RTC based ST if needed for Lora timing.

to run Semtech stack on ChibiOS WLxx port.

So I can contribute...

Re: STM32WLxx port

Posted: Fri Apr 16, 2021 3:10 am
by FXCoder
FYI I took the flash size in the STM32WLxxC.ld down to 128K.
This allows openocd 11.0 (with the extra script for nucleo added) to load/run from Eclipse.
Anyway that helps for the Eclipse crowd.
As for VS I'll leave that to you to test when you have a WL55 NUCLEO to hand.
--
Bob

Re: STM32WLxx port

Posted: Fri Apr 16, 2021 9:19 am
by vrollei
Hi Bob,

I can run test on my own designed STM32WLxx board, but not sure what VS means.

Port update is attached, ftls added (ETH, USB and HSEBYPASS parts removed), STM32WLxxxX.ld changed according common FLASH/RAM size, demos and board files updated to fit changes.

Re: STM32WLxx port

Posted: Fri Apr 16, 2021 12:58 pm
by vrollei
Forgot to change ftl file in board.chcfg,
correct version is attached.

Re: STM32WLxx port

Posted: Fri Apr 16, 2021 1:08 pm
by FXCoder
Thanks.
VS is just my shorthand for vscode.
--
Bob

Re: STM32WLxx port

Posted: Fri Apr 16, 2021 2:14 pm
by Giovanni
When this port has become stable we need to add an mcuconf.h generator or demos will bit rot after a while.

Giovanni