cross-posted from: https://lemmy.world/post/766830

STM32C0 is a new line of Cortex M0+ Microcontrollers this year. Low-end STM32 chips have been trying to dethrone the 8-bit crowd by offering a 32-bit ARM Cortex M0+ for some time, and I welcome this competition. STM32C0 is cost-optimized with 8-pin to 48-pin form factors, and targeting very low end with 6kB SRAM and 48 MHz clock speed.

SPI, UART, I2C, 4+ MHz XTAL and 32kHz XTAL support, multiple timers for PWM, 12-bit ADC with best case 2.5 Megasamples / second.

Not bad for 61-cents (quantity 1k) at Digikey, ehh?


I think the 8-bitters still seem to have more I/O features, but this is a pretty competitive 32-bit chip on the low end. ST-micro is selling this chip as “entry-level 32-bit”, saying that you can keep code-compatibility as you scale up your projects. After all, ARM is ARM, be it a tiny Cortex M0+ or a higher end M33, M4 or M7 chip.

For people hoping to scale designs up and down, adding STM32C0 line chips is probably welcome to the STM32 hobbyists.

  • MapleEngineerM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have you tried one of the SOT23-6 microcontrollers? I have a few ATTINY 9s and 10s.

    • dragontamer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I do wanna design my own boards eventually, but I’m sticking with premade boards and at smallest, DIP-8 packages for easy breadboarding or prototype boards.

      AVR DD comes in DIP28 and under $2, with the latest and greatest updates from Microchip.

      STM32C0 is surface mount only so it’s probably not something I’m actually gonna play with. But I do gaze upon it with awe.

      • MapleEngineerM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It comes in what look like SOIC-8 and QFP packages. They have gull wing pins. Those are straight forward to solder using a small chisel to soldering iron and dead simple with a GW tip. I can show you how to do it if you like. Check out the banner picture at [email protected]. I soldered that chip with a simple pencil iron and a 2 mm chisel tip.

        • dragontamer@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          I actually do have a hot-air gun, a pancake-griddle, and a soldering iron + some lab experience from college a few years ago :-) (Heat from below + Hot-air heat from above leads to more consistency. A real life hot-plate is much more expensive than $20 pancake griddles though. You can’t get around the hot-air gun though for a lot of these parts)

          I’m not against soldering. Its the designing of the PCB board that trips me up.

          When its DIP-8, I can just buy proto-boards / breadboards and a few wires and everything hooks up quite well. I do have a few SOIC8 to DIP8 boards when I need to use an SOIC-8 or other SMT board though… but its an extra step that’s kinda annoying.


          My knowledge gap is KiCAD. So sticking with PDIP8 and anything that has a SMT->DIP conversion board is my preference.

          I guess your point is that there’s plenty of conversion boards for SOT-6 to DIP or whatever? Which is true, but… I really should just start taking advantage of Digikey Red + KiCAD and start making proper boards. Those converter boards are more expensive than a custom USA-made Digikey-Red 2-layer board in practice. Its just a knowledge gap of KiCAD that’s stopping me from doing this…