Post Created date
ATtiny1614 OTA bootloader
Glad you are enjoying the attiny1614, I like that chip because it's easy to hand-solder but not too big.   Hmm, I have a xplained nano 416 and it worked fine with Atmel...
Friday, 20 March 2020 - 08:42
ATTINY404 - Howto program/Software tools
I also recommend the xplained 416 nano, it's a very well priced (< $10) development board and has everything you need to start. It can connect over USB so you don't need to...
Tuesday, 10 March 2020 - 21:32
Generating servo pulses using TCD peripheral
@kabsan, thanks, I didn't realise the "synchronisation prescaler" would scale the counter. I shall use this if it works for me.
Tuesday, 10 March 2020 - 12:03
Generating servo pulses using TCD peripheral
kabasan wrote: The TCD has a prescaler and can generate 50Hz.   The prescaler maximum is 32x, but I want to run the CPU at 10mhz (faster than the default, 3.3mhz), so I can'...
Tuesday, 10 March 2020 - 10:28
Generating servo pulses using TCD peripheral
Thanks, curt, I think working from the end is the best way to do it, if I can tolerate an extra 10ms of latency, it's really going to make more sense.    
Tuesday, 10 March 2020 - 10:27
Generating servo pulses using TCD peripheral
Thanks for the reply.   The reason I don't do that, is that I want to drive *two* servos, and the cmpbclr sets the maximum count so I can't change that otherwise the period...
Monday, 9 March 2020 - 23:39
Generating servo pulses using TCD peripheral
Hi, it's a nice idea, but not the right answer,   my minimal test program has no ISRs at all, no interrupts are happening.    
Monday, 9 March 2020 - 20:40
Generating servo pulses using TCD peripheral
I can't actually generate a 20ms period signal using TCD, because it is only 12 bits and the clock rate is (at least) system clock/32 (one tick every 3.2us in my setup), so it...
Monday, 9 March 2020 - 18:47
ATtiny1616 maximum CLK_PER
It looks like section 27.3 on p553 gives the info (close to the one awneil said).   As far as I understand it, it depends on the supply voltage. On my current project I'm...
Friday, 21 February 2020 - 18:23
UPDI speed
I wrote a patch to pyupdi.py which significantly speeds it up by disabling acks for each block, mraardvark merged this patch last year. I assume you are using the latest version,...
Friday, 14 February 2020 - 13:30
Compiling ATtiny3217 (series 1) with avr-gcc
I don't know exactly what toolchain you're using, but I made my own script to build a toolchain, for Linux (but probably works on any other OS with the requirements)   https...
Thursday, 30 January 2020 - 13:29
longjmp() at the end of an ISR ? Or Goto+flag ?
Just going to chime in and say...   Even if it works, calling longjmp is probably a bad idea. Not because it won't work correctly, but because it makes it harder for the...
Wednesday, 15 May 2019 - 13:48

Pages