Type in the full discussion title or a part of it.
Discussion Title Created date
Ways to debug a mega32u4
Guys, I'm not sure if I understood it correctly.   I'm looking for a way to debug a mega32u4. I have an Atmel ICE and a board with the ISP connection (not JTAG). I was going...
Tuesday, 31 May 2022 - 07:16
USB errors using avrdude with Atmel ICE
Ubuntu 22.04:   $ uname -a Linux femtolap 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Atmel ICE:   $ lsusb | grep Atmel...
Monday, 30 May 2022 - 13:34
eeprom_write_block hangs
I'm using an xmega128a1u and for the first time I have an issue with the eeprom. This is my code:   eeprom_busy_wait(); WDT_Disable(); eeprom_write_block(params,...
Monday, 29 March 2021 - 09:48
Sync two TC0 timers to control full-bridges
I built a board that has to control 3 different full-bridges for DC motors. Think as 3 different axis. The MCU is an `xmega128A1u`. Due to the other peripheral constraints I...
Sunday, 28 March 2021 - 14:18
Are the xmega still supported from Microchip?
Even I'm aware they released some "new" xmega, they don't appear in the 8-bit family as new neither popular:   https://www.microchip.com/paramC...   You have to...
Wednesday, 20 May 2020 - 04:35
Removing 0x04 Extended Linear Address records
When I import a project from AtmelStudio to MPLAB IDE X I notice the same project leads to different HEX output files. In particular MPLAB IDE X uses the Record Type 0x04:...
Tuesday, 10 March 2020 - 13:02
Reset when saving block to EEPROM with undocumented bit flag
On a xmega128A1U I'm trying to save a block of data into the EEPROM:   typedef struct { int8_t currFocus; int8_t currText; bool isEditing; bool isVisible; bool...
Sunday, 5 May 2019 - 06:35
Definitive way to acquire 8 ADC input with DMA
I read this very old thread, and I'm reading the A4U datasheet, the AVR1300 and AVR1304 app notes. Still I'm not sure how to do a very simple thing: reading all PORTA 8 ADC inputs...
Monday, 5 November 2018 - 15:51
Debug reset cause... without a debugger
I'm working on a project with an xmega64A3U that runs in an inaccessible place. I have a serial line and I can program the MCU with the bootloader. The board ran fine for months....
Sunday, 8 July 2018 - 07:32
Improve SPI speed
I'm using an xmega32A4U to control an AD5592 DAC. My goal is to write all 8 outputs with a frequency of 20 kHz. To update a single output I need two bytes. The MCU is running at...
Friday, 8 June 2018 - 13:33
Prepend some bytes to an array (i2c)
Hi guys, I need to improve a bit some functions I'm using to reduce the amount of RAM. I'm working on xmega (yes, I know I can switch to a bigger one, but I want to learn how to...
Tuesday, 29 May 2018 - 05:54
DDS: first steps
In a recent post I received a suggestion about the use of DDS: https://www.avrfreaks.net/commen... It's the first time I'm approaching this technique so I read something in...
Wednesday, 9 May 2018 - 18:16

Pages