Post Created date
Attiny824 1.5uA Thermostat Demo
Temperature sensor is low cost MCP9701 I would check out the internal temp sensor. I have a tiny3217, along with another mcu within 2 feet that is getting temp from a TMP117 and...
Friday, 24 June 2022 - 08:52
ATmega4809 - Switching to external crystal oscillator in code or FUSE-bits
After several attempts I tried to set the FUSE-bits. You only have 2 choices for fuse bits with regards to intial clock- 20MHz or 16MHz, either will have the clock prescaler set...
Friday, 24 June 2022 - 08:32
Atmega4809 calibration of the 20 MHz oscillator
The datasheet talks only about UART, can i use it for adjusting the CLKCTRL_OSC20MCALIBA? The factory loaded sigrow error values (read-only) are what the remaining error is after...
Tuesday, 21 June 2022 - 07:22
4809 PORTE for software interrupt
Yes I'm only using this code to verify one event: triggering the desired ISR. Then maybe start simple and verify the pin irq is working without all the extra code.   This...
Monday, 20 June 2022 - 18:01
4809 PORTE for software interrupt
Without reading the whole thing- 'dim' is set but never cleared.
Monday, 20 June 2022 - 16:55
Strange Problem on Placement of code before int main
It seems as if you think the f var is a function that 'computes' its value at runtime. A var is not a function, so your init value/calculation of f happens at compile time just as...
Saturday, 18 June 2022 - 20:35
Compiler warnings when using atomic
Dealing with atomic in C++ is much nicer, as a simple class can let the the compiler handles it via constructor/destructor, and you just have to realize they take place in the...
Wednesday, 15 June 2022 - 18:51
Frustrated by ATmega4809 documentation
This example can again show the disadvantage of using a high-level language Everyone is in the same boat regardless of language. No sane asm programmer is going to use raw...
Tuesday, 14 June 2022 - 09:37
AVR assembler problems with GCC and MPLAB
You are seeing word addresses in the case of the program memory view (notice the address contains a word value, 2 bytes), where all gcc tools deals with byte addresses.   Go...
Friday, 3 June 2022 - 04:10
AVR assembler problems with GCC and MPLAB
Now I can't work out how to switch on LSS You spelled out post #16 in detail, and in that post you will also find where to turn on lss listings although with a little poking...
Thursday, 2 June 2022 - 18:32
AVR assembler problems with GCC and MPLAB
.org works, but is relative to the section you are in- .text in this case, which happens to start at address 0 as specified in the linker file (which can be changed). You are...
Wednesday, 1 June 2022 - 17:41
Cannot change SPI pin positions on ATTiny Curiosity Nano to PORTC pins
I've tried changing this line but the issue still persists You may want to check if the code configurator is overwriting your changes. You will need that portmux bit set to use...
Tuesday, 31 May 2022 - 20:02

Pages