Post Created date
Getting started ATtiny 1 & 0 series / Application Notes
Thanks - the appnote is most helpful as it mostly confirms what I found last night, though the order in which you write to registers seems to be important as well but isn't...
Tuesday, 26 February 2019 - 09:59
Getting started ATtiny 1 & 0 series / Application Notes
Well I never got TCB waking up from sleep mode working properly yet
Monday, 25 February 2019 - 23:30
Getting started ATtiny 1 & 0 series / Application Notes
I've tried everything to get TXdata onto the RxD pin as per the datasheet and nothing works.   It also looks like the line needs a pullup resistor as the waveform is anything...
Monday, 25 February 2019 - 23:23
Getting started ATtiny 1 & 0 series / Application Notes
From the datasheet : When the USART is set in one-wire mode, the transmitter and receiver share the same RxD I/O pin From the app-note : When the USART is set in one-wire mode,...
Monday, 25 February 2019 - 22:08
ATTINY414 - Routing PWM outputs from timer TCA to ports
Indeed it looks like Errata 33.1.2.6 TCB is my problem.  Thanks for pointing it out.    Alsor 33.1.2.4 RTC explains why I was getting nowhere there so I'll go back...
Monday, 25 February 2019 - 15:10
ATTINY414 - Routing PWM outputs from timer TCA to ports
Yes it can - but TCB is only 16 bits and would generate an interrupt about few millisecond at the slowest rate it could manage.  I'm thinking it's a bit of a red herring...
Monday, 25 February 2019 - 15:05
ATTINY414 - Routing PWM outputs from timer TCA to ports
Code below.  The app note writes to MCLKCTRLB first which means my processor running at 2.8v gets a burst of 16MHz and seems to lose itself.  Swapped them round now. ISR...
Monday, 25 February 2019 - 14:52
ATTINY414 - Routing PWM outputs from timer TCA to ports
Just to keep you updated, RTC isn't really a one-shot solution so gone back to TCB and hit some a new problem   "There are three steps in the configuration process: 1....
Monday, 25 February 2019 - 14:31
ATTINY414 - Routing PWM outputs from timer TCA to ports
Yes that's line 1 of the interrupt routine :-)
Monday, 25 February 2019 - 12:51
ATTINY414 - Routing PWM outputs from timer TCA to ports
Yes.  You can set that to 32kHz but the processor prescaler is after the tap to TCB so you can't divide it down further.   Trying to use the RTC instead so maybe...
Monday, 25 February 2019 - 12:43
ATTINY414 - Routing PWM outputs from timer TCA to ports
Yes doesn't need to be accurate - just needs to go to sleep to maintain battery life until dawn when a solar panel will rechange it.
Monday, 25 February 2019 - 12:37
ATTINY414 - Routing PWM outputs from timer TCA to ports
Hehe - that's exactly what I'm doing as plan B.  I've just noticed there is a 32kHz divided by 64 mentioned in the text so maybe able to get up to 1 minute wakeups
Monday, 25 February 2019 - 12:36

Pages