Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?
-
@nagelc Just how Arduino compatible are they? Is it fairly transparent, or do you end up studying the datasheet a lot to workaround incompatibilities?
-
@nagelc That would be interesting. Remember also that MySensors currently only supports STM32F1 without sleep mode. I'm running a modified version with sleep support, but since I could not make it generic enough, I never submitted it as an enhancement (can be found here: github, 2.2.0 only)
I still have a few prototype boards available but don't have enough time to progress much in the near future. If you would like a few boards (PCB only, not fully assembled) for experimenting and testing I can send you a few provided shipping costs permit it. I would love to see them better supported. Drop me a PM if interested.
@freynder I found MySensors after messing around with Moteino's, so I really like the idea of this board. The RFM69 let me cover my house without repeaters and just worked. Now, the NRF5 series is so amazing, but I admit my personal prejudice -- I keep wishing for something similar for the RFM world.
-
I have some STM32L1 chips in my basement which I got and promptly figured out the F1 had arduino support but not the L1. I see that the L1 is supported now. Gonna have to dig those back out.
It would be interesting to drop it onto this board:
https://www.openhardware.io/view/590/STM32-Sensor-V3@nagelc said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
I see that the L1 is supported now. Gonna have to dig those back out.
Are you referring to the official STM32 core provided by STM (github)?
AFAIK, MySensors currently only works with the unofficial one from Roger Clark (github) which is much more limited as far as supported mcu families go (good F1 support and limited F4).
A nice overview of cores can be found here.
-
@nagelc said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
I see that the L1 is supported now. Gonna have to dig those back out.
Are you referring to the official STM32 core provided by STM (github)?
AFAIK, MySensors currently only works with the unofficial one from Roger Clark (github) which is much more limited as far as supported mcu families go (good F1 support and limited F4).
A nice overview of cores can be found here.
@freynder said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
AFAIK, MySensors currently only works with the unofficial one from Roger Clark
I'm using Blue Pills with stm32duino (https://github.com/stm32duino/Arduino_Core_STM32) and MySensors without problems.
Stm32duino also supports a number of STM32L variants. -
@freynder said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
AFAIK, MySensors currently only works with the unofficial one from Roger Clark
I'm using Blue Pills with stm32duino (https://github.com/stm32duino/Arduino_Core_STM32) and MySensors without problems.
Stm32duino also supports a number of STM32L variants. -
@nagelc said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
I see that the L1 is supported now. Gonna have to dig those back out.
Are you referring to the official STM32 core provided by STM (github)?
AFAIK, MySensors currently only works with the unofficial one from Roger Clark (github) which is much more limited as far as supported mcu families go (good F1 support and limited F4).
A nice overview of cores can be found here.
-
You can even put a USB bootloader onto them.
-
You can even put a USB bootloader onto them.
-
You can even put a USB bootloader onto them.
-
@yveaux I stand corrected. I just tried compiling an example sketch and indeed no errors. Last time I tried I had compilation errors, but that may have been due to other factors then.
@freynder said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
@yveaux I stand corrected. I just tried compiling an example sketch and indeed no errors. Last time I tried I had compilation errors, but that may have been due to other factors then.
I'm revisiting this as I tried to compile a sketch today using the official STM32 core (https://github.com/stm32duino/Arduino_Core_STM32 v1.3)
I realize now I tested with the wrong core as it is a bit confusing in Arduino IDE. Please see the screenshot below which boards menu should be selected (highlighted the selected board).
image url)When I select this core, the sketch will not compile because the ARDUINO_ARCH_STM32F1 flag is not set.
@Yveaux and @nagelc : can you confirm you actually used this core? The core named "STM32 Boards (stm32duino.com)" is Roger Clarks core, not the official STM32 core one. Easily confused as the github user name for the official STM32 core is stm32duino.
-
@freynder said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
@yveaux I stand corrected. I just tried compiling an example sketch and indeed no errors. Last time I tried I had compilation errors, but that may have been due to other factors then.
I'm revisiting this as I tried to compile a sketch today using the official STM32 core (https://github.com/stm32duino/Arduino_Core_STM32 v1.3)
I realize now I tested with the wrong core as it is a bit confusing in Arduino IDE. Please see the screenshot below which boards menu should be selected (highlighted the selected board).
image url)When I select this core, the sketch will not compile because the ARDUINO_ARCH_STM32F1 flag is not set.
@Yveaux and @nagelc : can you confirm you actually used this core? The core named "STM32 Boards (stm32duino.com)" is Roger Clarks core, not the official STM32 core one. Easily confused as the github user name for the official STM32 core is stm32duino.
-
@freynder said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:
@yveaux I stand corrected. I just tried compiling an example sketch and indeed no errors. Last time I tried I had compilation errors, but that may have been due to other factors then.
I'm revisiting this as I tried to compile a sketch today using the official STM32 core (https://github.com/stm32duino/Arduino_Core_STM32 v1.3)
I realize now I tested with the wrong core as it is a bit confusing in Arduino IDE. Please see the screenshot below which boards menu should be selected (highlighted the selected board).
image url)When I select this core, the sketch will not compile because the ARDUINO_ARCH_STM32F1 flag is not set.
@Yveaux and @nagelc : can you confirm you actually used this core? The core named "STM32 Boards (stm32duino.com)" is Roger Clarks core, not the official STM32 core one. Easily confused as the github user name for the official STM32 core is stm32duino.
-
Do any of the STM32's have anything similar to the Nordic nRF52's PPI (Programmable Peripheral Interconnect)? I assumed they would, but I just now went looking for it in the datasheet and didn't find it. Maybe STM32's call it something else? Or do they just not have anything similar? I thought it was a rather cool feature of the nRF52.
-
Do any of the STM32's have anything similar to the Nordic nRF52's PPI (Programmable Peripheral Interconnect)? I assumed they would, but I just now went looking for it in the datasheet and didn't find it. Maybe STM32's call it something else? Or do they just not have anything similar? I thought it was a rather cool feature of the nRF52.

