Skip to main content

Questions tagged [atxmega]

A range of 8/16-bit microcontrollers produced by Atmel Corporation.

2 votes
1 answer
295 views

Memory view is showing multiple bytes change after a single byte is assigned to a register. Why?

I am debugging an issue I have on a legacy codebase that is running on an atxmega32c4u chip. I am writing single bytes to registers in PORTC, but the memory view is showing multiple bytes change. The ...
daviegravee's user avatar
0 votes
1 answer
186 views

Does a firmware (flash memory) in atmel mcus change on runtime (to store variables for example)?

EDIT: I am purposely trying to corrupt my ATxmega32E5 flash memory. I am disabling my BOD level on my ATxmega32E5 and checking how it affects my MCU by switching the power on the mcu on and off with a ...
Christianidis Vasilis's user avatar
0 votes
1 answer
285 views

ATXMega ADC - What is bandgap reference and temperature?

On my ATXMega128A1U, I am using ADCA to measure an input voltage (roughly ~1.70V) and I plan to use a VREF of 2.5V. I was reading the XMEGA manual, specifically for the REFCTRL register where I would ...
Nubcake's user avatar
  • 134
0 votes
0 answers
303 views

Implementing UART driver with Interrupts and DMA - UART_RXC ISR is executed only first time a character is received

I am using ATxMega 32E5 and my current task is to rewrite existing RS485 driver and use DMA to save in my case valuable cycles (the speed is going to be multiplied by 8x going from 230k to 2M baudrate)...
Possible's user avatar
0 votes
1 answer
25 views

What is the minimum amplitude level of the input signal to trig the capture interrupt in xmega timer

Dears I have a collection of wires connected to xmega256, 8 for porta, 8 for port b where portb used to trig 8 ultrasonic sonsors and porta used to echo that sensors, I have implemented the measurment ...
Majd Kassem's user avatar
0 votes
1 answer
118 views

How to interface HCSR04 ultrasonic sensor with ATxmega256A3?

I have to interface HCSR04 with ATXMega256. I am using the TCC0 Timer in Capture mode with setting it to capture pulse width, using Event System Channel 0 source: ...
Majd Kassem's user avatar
1 vote
1 answer
192 views

Atmel Studio Does not fire accurate timer interrupt

i have atxmega256A3u with external 16Mhz crystal, i set the system clock to use that oscillator source as ...
Majd Kassem's user avatar
0 votes
1 answer
170 views

Triggering event from timer compare channel on ATXmega when timer is set to single-slope PWM mode

I am writing firmware for an ATXmega. I have a timer configured in single-slope mode to output a PWM signal. I need one of the xmega's event channels to trigger in the middle of that signal. I thought ...
Smyther's user avatar
  • 111
0 votes
1 answer
94 views

how to implement Atxmega256 Port external interrupt

i have Xmega25, i have to use port interrupt for eight ultrasonic echo signals, i am using ISR to start and stop the timer0 and read the timer value to determine the echo pulse width, i have to do ...
Majd Kassem's user avatar
0 votes
1 answer
116 views

XMega External Real Time Oscillator Capacitor Values

In application note AVR1012 (XMEGA A Schematic Checklist) Atmel states the following: The Low-frequency Crystal Oscillator provides an internal load capacitance of typical 8.0 pF. Crystals with ...
lulle2007200's user avatar
2 votes
1 answer
744 views

How can you read out the serial number of an XMEGA chip in a batch file during programming?

Each time I download the firmware into an XMEGA I would also like to save the chip's serial number to a batch file so I can keep track of which chips got which version of the firmware. Is there an ...
bigjosh's user avatar
  • 10.2k
1 vote
1 answer
516 views

How do you reprogram an XMEGA after you have disabled the `RESET` pin using the `RSTDISBL` fuse?

With chips like the ATMEGA and ATTINY you can use high voltage programming even after the RESET pin has been disabled using the ...
bigjosh's user avatar
  • 10.2k
0 votes
2 answers
87 views

Bluetooth programmer

Someone know if there is a way to program uC via bluetooth? I'm referring to a device that receives an hex/elf file from another BT device (smartphone or PC) and sends it to a uC (xmega in this case) ...
Maicol's user avatar
  • 83
1 vote
2 answers
105 views

Meaning of the different ports in the XMEGA PR.PRPA and PR.PRPB power reduction registers?

What is the difference between the two power reduction registers PR.PRPA and PR.PRPB on the XMEGA B family chips? They share a ...
bigjosh's user avatar
  • 10.2k
2 votes
1 answer
223 views

Do I have to use a MAX485 chip in front of an ATXMega microcontroller?

I'm doing a project which involves receiving DMX 512 information on an ATXmegaA3u microcontroller. I've successfully implemented the protocol using the onboard USART of the microcontroller. Basically, ...
Kévin Isabelle's user avatar

15 30 50 per page