Code Monkey home page Code Monkey logo

Comments (10)

MarkuBu avatar MarkuBu commented on July 23, 2024 1

Thanks, I'm ordering a Nucleo L053R8 and an Adafruit feather board with ATSAMD21G18 to make some tests. I'll let you know the results

from keyberon.

TeXitoi avatar TeXitoi commented on July 23, 2024

STM32 MCUs have good USB support in rust. AVR has not yet USB support in rust, and is less mature.

Firmware is about 22k here, so better 32k or more. I didn't optimized for size, so it should be possible to work a bit to make it fit on 16k.

There is not really eeprom needed.

M0 is enough. I use it on a STM32F072CBT6 without any problem, so 48MHz is enough, maybe less is possible.

from keyberon.

MarkuBu avatar MarkuBu commented on July 23, 2024

I'm planning to use a STM32L0xx, LQFP32 package. I think EEPROM might become interesting to store some settings

from keyberon.

TeXitoi avatar TeXitoi commented on July 23, 2024

You'll need a 0x2 or 0x3 to have USB

Not sure for 8k of ram, so I'll opt for a stm32l072kb

from keyberon.

MarkuBu avatar MarkuBu commented on July 23, 2024

Does it really need so much RAM?

Any experience with ATSAM?

from keyberon.

TeXitoi avatar TeXitoi commented on July 23, 2024

I don't know, never tested with less than 20k.

from keyberon.

TeXitoi avatar TeXitoi commented on July 23, 2024

There is https://github.com/atsamd-rs/atsamd/tree/master/hal/src/samd21/usb and https://github.com/atsamd-rs/atsamd/tree/master/hal/src/common/thumbv7em/usb for USB, didn't tested it personally.

from keyberon.

MarkuBu avatar MarkuBu commented on July 23, 2024

It seems I can't use the L053. It has USB, but no USB DFU bootloader. The L053 only supports USART bootloader

I think the most simple way to flash a controller is DFU because it is built in

from keyberon.

TeXitoi avatar TeXitoi commented on July 23, 2024

While a hardware DFU bootloader is a plus, you can always flash using a debugger probe as a ST-Link, that is most of the time included in the nucleo boards.

from keyberon.

MarkuBu avatar MarkuBu commented on July 23, 2024

While a hardware DFU bootloader is a plus, you can always flash using a debugger probe as a ST-Link, that is most of the time included in the nucleo boards.

I have a ST-Link, but if someone else wants to build a keyboard it should be possible to program the board without an external programmer.

The problem with the Nucleo boards is that you can't use USB from the main controller. You have to wire a connector yourself.

from keyberon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.