New Attiny1614 /3224 /3226 Support?
-
Dear all,
i hopes you are doing well.
Thoses new attiny have similar hardware of the atmega328.
Have you ever seen any subject about their compatibility with mysensors Library?
Thank you for your help.@Mr_nanick It appears there is full Arduino support for those via the megaTinyCore.
They also seem to have plenty of flash.
I don't see why it wouldn't work.
-
Trying to adapt MyS to tiny3227.
- selfmade devbrd done.
- pickit4 as a programmer (UPDI) works from newest Arduino 1.8.16 with megaTinyCore added to board manager
- churning datasheets for HAL part adaptation.
It is still quite amount of work to be done, even before first successful compilation...
-
Some advances made.
Library is compilable @ 3227, but stripped from IRQ functionality.
DevEnv: Microchip Studio & vMicro w/ Arduino 1.8.16
Tests ongoing...
-
Ok.
Some progress.
I've ATtiny 3227, so tested on it, with RFM69, works in IRQ mode ok.How to use:
- download library from github & replace in-place in arduino user lib folder
- use SpenceKonde megaTinyCore for newest ATtiny support
- required define (non-standard) goes into main sketch file (.ino) before
<include "MySensors.h>:
#define MY_RFM69_IRQ_PIN PIN_PA5 #ifdef MY_RFM69_IRQ_PIN #define MY_RFM69_IRQ_PORT_vect PORTA_PORT_vect #endif -
Main problem (already "quickfix" solved) is completely new and incompatibile interrupt system implemented in new (post-2016) ATtinys. More flexible, but also coming with some problems when using Arduino-like code and few libraries. Other than that, due to completely new power management these features I don't tested yet, may not work properly...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login