Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?

Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?

Scheduled Pinned Locked Moved Hardware
26 Posts 8 Posters 4.2k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #1

    https://www.digikey.com/product-detail/en/microchip-technology/ATSAML10E16A-AU/ATSAML10E16A-AU-ND/9360530

    What the previous 32-bit chips didn't have was the ATMEGA328P's ultra slow sleep capability, but this one has <100na sleep plus everything else on my wish list, including an easy to solder package, more RAM, more flash, more IO, and an RTC.

    I'm not sure whether it can be programmed through the current Arduino IDE, or whether we have to wait for that to be developed. Anyone know?

    YveauxY 1 Reply Last reply
    0
    • NeverDieN NeverDie

      https://www.digikey.com/product-detail/en/microchip-technology/ATSAML10E16A-AU/ATSAML10E16A-AU-ND/9360530

      What the previous 32-bit chips didn't have was the ATMEGA328P's ultra slow sleep capability, but this one has <100na sleep plus everything else on my wish list, including an easy to solder package, more RAM, more flash, more IO, and an RTC.

      I'm not sure whether it can be programmed through the current Arduino IDE, or whether we have to wait for that to be developed. Anyone know?

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @neverdie "Sleepwalking peripherals" :rolling_on_the_floor_laughing:

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by NeverDie
        #3

        The marketing material calls the <100na mode "sleep", but I'm noticing now that the datasheet calls it "OFF". So, now I'm not sure that any of the memory is retained during that mode. I'm guessing now that memory isn't retained, and if so, then I'd regard it as less interesting than the nRF52 chips. :white_frowning_face:

        Oh well. Anything else on the horizon look interesting?

        Nca78N 1 Reply Last reply
        0
        • NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by
          #4

          Then again, for a lot of sensors, such as a TH sensor for example, losing memory between wake-ups isn't particularly consequential. So maybe the ATSAML10 actually is a ATMEGA328P killer in a lot of instances. For example: https://www.openhardware.io/view/609/Temperature-and-humidity-sensor-with-154-E-Paper-display , where an ATMEGA328P doesn't have enough memory to drive a nice display, whereas an ATSAML10 could do the job, and maybe (?) even consume less power doing it.

          1 Reply Last reply
          0
          • NeverDieN NeverDie

            The marketing material calls the <100na mode "sleep", but I'm noticing now that the datasheet calls it "OFF". So, now I'm not sure that any of the memory is retained during that mode. I'm guessing now that memory isn't retained, and if so, then I'd regard it as less interesting than the nRF52 chips. :white_frowning_face:

            Oh well. Anything else on the horizon look interesting?

            Nca78N Offline
            Nca78N Offline
            Nca78
            Hardware Contributor
            wrote on last edited by
            #5

            @neverdie said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:

            The marketing material calls the <100na mode "sleep", but I'm noticing now that the datasheet calls it "OFF". So, now I'm not sure that any of the memory is retained during that mode. I'm guessing now that memory isn't retained, and if so, then I'd regard it as less interesting than the nRF52 chips. :white_frowning_face:

            Oh well. Anything else on the horizon look interesting?

            But "Standby with Full SRAM Retention (0.5 μA) with 5.3 μs wake-up time" whic.h is still extremely low. It seems if you want to wake up with interrupt you need to keep the "switchable power domain" (PDSW) on, so power consumption is a bit over 1uA. Still pretty good.

            0_1535055747338_c040fedc-c6ec-4024-b926-cc045eda5db0-image.png

            1 Reply Last reply
            2
            • NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #6

              Thanks for pointing that out. :)

              Unfortunately, I see no indication of any Arduino support for it on github, so I guess it's largely moot. As near as I can tell, 32 bit Arduino(ish) options at present are just Arduino Zero, Arduino Due, nRF52, and I guess quite a large number of STM32 boards (https://github.com/stm32duino/Arduino_Core_STM32). Is there anything else, or is that the full set?

              Of the STM32 boards, the three STM32L0 boards would be the low power boards. For instance, the STM32L031K6 board has:

              Ultra-low-power platform
              1.65 V to 3.6 V power supply
              -40 to 125 °C temperature range
              0.25 μA Standby mode (2 wakeup pins)
              0.38 μA Stop mode (16 wakeup lines)
              0.68 μA Stop mode + RTC + 8 KB RAM retention
              Down to 76 μA/MHz in Run mode
              5 μs wakeup time (from Flash memory)
              41 μA 12-bit ADC conversion (at 10ksps)
              

              which actually sounds like it beats the ATSAML10, at least in terms of power consumption (https://www.st.com/en/microcontrollers/stm32l031k6.html).

              1 Reply Last reply
              0
              • MiKaM Offline
                MiKaM Offline
                MiKa
                wrote on last edited by
                #7

                SAMD21G18A is also option for next level of mysensors support ;)
                Check moteino M0 on lowpowerlab site

                1 Reply Last reply
                0
                • nagelcN Offline
                  nagelcN Offline
                  nagelc
                  wrote on last edited by
                  #8

                  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

                  NeverDieN F 3 Replies Last reply
                  0
                  • nagelcN nagelc

                    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

                    NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by NeverDie
                    #9

                    @nagelc Just how Arduino compatible are they? Is it fairly transparent, or do you end up studying the datasheet a lot to workaround incompatibilities?

                    nagelcN 1 Reply Last reply
                    0
                    • nagelcN nagelc

                      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

                      F Offline
                      F Offline
                      freynder
                      wrote on last edited by freynder
                      #10

                      @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.

                      nagelcN 1 Reply Last reply
                      1
                      • NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by NeverDie
                        #11

                        It looks as though the entire line-up of the STML0 series is ultra low power when it comes to standby current.

                        I think I'll be ordering the Discovery board: https://www.digikey.com/product-detail/en/STM32L0538-DISCO/497-14709-ND/4866483/?itemSeq=270107875 to get familiar with these chips.

                        [Edit: Well, maybe I'll try the nucleo board instead (https://www.digikey.com/product-detail/en/stmicroelectronics/NUCLEO-L053R8/497-14710-ND/4866484), since it is supported by the stm32duino library. ]

                        1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          @nagelc Just how Arduino compatible are they? Is it fairly transparent, or do you end up studying the datasheet a lot to workaround incompatibilities?

                          nagelcN Offline
                          nagelcN Offline
                          nagelc
                          wrote on last edited by
                          #12

                          @neverdie Found my STM32L1 chips -- L151C8T6R. Looks like the STM32duino folks have some support for the L152, but don't list the L151, so I'm out of luck with these for now. The L0 and L4 seem to be more supported.

                          1 Reply Last reply
                          0
                          • F freynder

                            @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.

                            nagelcN Offline
                            nagelcN Offline
                            nagelc
                            wrote on last edited by
                            #13

                            @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.

                            1 Reply Last reply
                            0
                            • nagelcN nagelc

                              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

                              F Offline
                              F Offline
                              freynder
                              wrote on last edited by
                              #14

                              @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.

                              YveauxY nagelcN 2 Replies Last reply
                              0
                              • F freynder

                                @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.

                                YveauxY Offline
                                YveauxY Offline
                                Yveaux
                                Mod
                                wrote on last edited by
                                #15

                                @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.

                                http://yveaux.blogspot.nl

                                F 1 Reply Last reply
                                0
                                • YveauxY Yveaux

                                  @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.

                                  F Offline
                                  F Offline
                                  freynder
                                  wrote on last edited by
                                  #16

                                  @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.

                                  F 1 Reply Last reply
                                  0
                                  • F freynder

                                    @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.

                                    nagelcN Offline
                                    nagelcN Offline
                                    nagelc
                                    wrote on last edited by
                                    #17

                                    @freynder Yes. I had a Blue Pill with RFM69 working from stm32duino, but it has been a while.

                                    1 Reply Last reply
                                    0
                                    • NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #18

                                      It seems that blue pills are now cheaper than pro mini's: https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-For-arduino-DIY-KIT-Sensing-Evaluation-for-Skiller/32839140960.html?spm=2114.search0604.3.21.5f1f5d6f9DVrT6&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_10151_10344_10068_10130_5724113_10342_10547_10343_5724713_10546_10340_10341_10548_315_10545_10696_5724013_10084_531_10083_10618_5724313_10307_5724213_10059_100031_10103_5725013_10624_10623_10622_10621_10620_5724913,searchweb201603_55,ppcSwitch_7&algo_expid=39b863cc-b9e0-40b1-b7ad-1e800e717f83-6&algo_pvid=39b863cc-b9e0-40b1-b7ad-1e800e717f83&priceBeautifyAB=0

                                      You can even put a USB bootloader onto them.

                                      gohanG F 2 Replies Last reply
                                      1
                                      • NeverDieN NeverDie

                                        It seems that blue pills are now cheaper than pro mini's: https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-For-arduino-DIY-KIT-Sensing-Evaluation-for-Skiller/32839140960.html?spm=2114.search0604.3.21.5f1f5d6f9DVrT6&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_10151_10344_10068_10130_5724113_10342_10547_10343_5724713_10546_10340_10341_10548_315_10545_10696_5724013_10084_531_10083_10618_5724313_10307_5724213_10059_100031_10103_5725013_10624_10623_10622_10621_10620_5724913,searchweb201603_55,ppcSwitch_7&algo_expid=39b863cc-b9e0-40b1-b7ad-1e800e717f83-6&algo_pvid=39b863cc-b9e0-40b1-b7ad-1e800e717f83&priceBeautifyAB=0

                                        You can even put a USB bootloader onto them.

                                        gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #19

                                        @neverdie so will it be able to run mysensors also in sleep mode? I got lost with all those chip codes

                                        1 Reply Last reply
                                        0
                                        • NeverDieN NeverDie

                                          It seems that blue pills are now cheaper than pro mini's: https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-For-arduino-DIY-KIT-Sensing-Evaluation-for-Skiller/32839140960.html?spm=2114.search0604.3.21.5f1f5d6f9DVrT6&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_10151_10344_10068_10130_5724113_10342_10547_10343_5724713_10546_10340_10341_10548_315_10545_10696_5724013_10084_531_10083_10618_5724313_10307_5724213_10059_100031_10103_5725013_10624_10623_10622_10621_10620_5724913,searchweb201603_55,ppcSwitch_7&algo_expid=39b863cc-b9e0-40b1-b7ad-1e800e717f83-6&algo_pvid=39b863cc-b9e0-40b1-b7ad-1e800e717f83&priceBeautifyAB=0

                                          You can even put a USB bootloader onto them.

                                          F Offline
                                          F Offline
                                          freynder
                                          wrote on last edited by freynder
                                          #20

                                          @neverdie said in Is the 32-bit ATSAML10 the ATMEGA328P killer that we've been waiting for?:

                                          You can even put a USB bootloader onto them.

                                          plus debug using Black Magic Probe or stlink + OpenOCD

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          6

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular