Type in the full discussion title or a part of it.
Discussion Title Created date
cannot unlock AVR128DA32 with pymcuprog
I have used pymcuprog to program flash, userrow and eeprom without any problem. Now, I tried to lock the device by writing to the lockbits. This works too, I can't access the cpu...
Wednesday, 13 October 2021 - 08:32
setting USERROW with pyupdi on AVR128DA
I want to program the USERROW section with pyupdi. I tried the following command to set USERROW0 to 0x03:   pyupdi -c /dev/ttyUPDI -d avr128da32 -fs 48:0x3   48 should...
Saturday, 2 October 2021 - 23:44
R/G Led with PWM on AVR128DA32
I have connected a R/G Led between two port pins (PD4,PD5) so that I choose between red/green color. Now, I'd like to extend that with pwm so that the leds can show yellow/orange...
Friday, 11 June 2021 - 22:54
Strange behaviour of DIRSET on AVR128DA32
I'm using the following code to set PORTD4 and PORTD5 as outputs:   VPORTD.DIR |= (1<<4); VPORTD.DIR |= (1<<5);This works as expected. When I change the code to...
Sunday, 20 September 2020 - 20:26
self programming on AVR128DA48
I tried self programming on the AVR128DA48. I have set BOOTSIZE=4, my program fits into the BOOT section (<2KB). The following code works:   while(NVMCTRL.STATUS...
Monday, 15 June 2020 - 22:26
self programming on ATmega4809
I tried to use self programming on the ATmega4809 (Nano Every). I have set BOOTEND to 1, and wrote a small program that fits into the BOOT section:   int main(void) {...
Wednesday, 29 April 2020 - 20:13
Mega4809 ADC and AC configuration
Hi,   I want to use the Analog Comparator as well as the ADC for the same input voltage. I tried to assign pin PD1 for the the ADC (AIN1) as well as the AC (P3). However,...
Friday, 24 April 2020 - 12:42
Analog Comparator output on ATMEGA328PB
Hi,   the ATMEGA328PB has an ACO output on Port PE0.   How can I activate this output? Is it sufficient to set ACD=0? I couldn't figure this out from the latest...
Wednesday, 18 March 2020 - 11:24
ADC Noise Canceller
Hi,   I want to use the ADC noise canceler on the ATMEGA328PB. If there is an other interrupt before the ADC conversion completes, the ADC conversion continues in active mode...
Tuesday, 15 October 2019 - 10:18
Strange fuse settings on ATmega324P
I have multiple boards with an ATMEGA324P20AU that is programmed on-board via SPI. The cpus are all marked as "ATMEGA324P20AU 1038G". When I tried to connect with avrdude there...
Thursday, 7 April 2016 - 17:49
power save mode on ATMEGA324P with async timer
I'm using timer 2 with a 32,768kHz crystal in async mode. I'm using the overflow interrupt in my software to run once every second. To keep the CPU in sleep mode, I have used the...
Monday, 1 June 2015 - 10:05
Cannot clear Compare Output on ATMEGA324PA
I'm using Timer2 on the ATMega324PA with an external 32.768kHz crystal on TOSC1/TOSC2. Timer2 is running in CTC mode, and I'd like to create an output pulse on either OC2A or OC2B...
Thursday, 12 March 2015 - 09:58

Pages