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...
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,...
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....
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...
Well I never got TCB waking up from sleep mode working properly yet
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...
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,...
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...
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...
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...
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....
Yes that's line 1 of the interrupt routine :-)
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...
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.
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
Pages