Questions tagged [atmel]

Atmel is the creator of microcontrollers like the AVR line (ATmega and ATtiny) and SAM devices. Many Arduino microcontroller boards use Atmel's AVR line of devices.

Atmel was acquired by Microchip Technology Inc. (Nasdaq: MCHP) in 2016.

Popular for its 8- and 32-bit line of and microcontrollers, Atmel products are widely used by hobbyists and industry professionals alike. The AVR chips are the basis of the popular line of prototyping platform boards. Atmel/Microchip also offers a line of 32-bit ARM-based microcontrollers called "SMART Atmel microcontroller" or SAM. Some common Atmel/Microchip boards and platforms include the AVRISP-mkII, the STK500 and STK600, the AVR Dragon, and the SAM [E70/V71] Xplained.

The Atmel Studio IDE (and, in previous years, AVR Studio), is based on Microsoft's Visual Studio. It is a code development, upload, and debugging tool for AVR and SAM microcontrollers. Atmel Studio can be downloaded from the Microchip website.

Related tags:

498 questions
26
votes
3 answers

What are Atmel Fuses?

What are Fuses in Atmel microprocessors and when I should or need to change the default settings?
tuupola
  • 1,657
  • 2
  • 17
  • 21
14
votes
8 answers

RnD on an EEG, Help required, what op-amp?

this is my first post, and I need some help/advice finding the right integrated circuits. I'll start by describing the project background a bit. I've received a fellowship to develop an open source electroencephalograph, the finished hardware will…
Jim
  • 3,325
  • 2
  • 28
  • 39
14
votes
3 answers

Switching from PIC to AVR

I have worked with PIC16 and PIC18s for over three years now and would like to get to know AVR as well. I have no specific project in mind, but would like to try around with the different architectures. I'd like to get a compatibility report on PIC…
user17592
12
votes
1 answer

Why do some microcontrollers have such huge synchronization delays?

On the Atmel SAM-D21 series microcontrollers, many peripherals use a clock which is asynchronous to the main CPU clock, and accesses to these peripherals must go through synchronization logic; on peripherals whose clock is slow relative to the CPU…
supercat
  • 45,939
  • 2
  • 84
  • 143
12
votes
2 answers

How do you determine if a new microcontroller is defective?

I've never dealt with parts being defective strait from digikey, but 3 new Atmel ATmega164A's that I've received have been exhibiting extremely odd behaviour. I narrowed it down to something to do with the clock and it turned out that the resulting…
Jon L
  • 4,258
  • 1
  • 22
  • 33
12
votes
2 answers

Unable to get bootloader working on custom PCB with AT32UC3L

I have designed a PCB for a client recently, everything is fine with the hardware and software (application is working as it is supposed to). Now we are facing the need to update the program inside the microcontroller, but since these PCBs are…
Alexandre Lavoie
  • 243
  • 1
  • 11
11
votes
5 answers

Monitor clock cycles for code on arduino/AVR?

Is it possible to monitor a block of code and determine the number of processor clock cycles that code took on an Arduino and/or AVR atmel processor? or, should I rather monitor microseconds passed before and after code run? Note: I'm not concerned…
cyphunk
  • 602
  • 1
  • 6
  • 12
10
votes
3 answers

Find first pin of a LQFP chip

I have bought some ATSAM4E8C chips in LQFP 100 package. The datasheet shows that the IC should have a dot indicating the first pin, but mine have two dots. One larger in the corner, and a smaller white dot diagonally. The upper left side of the name…
user17152
  • 327
  • 1
  • 7
10
votes
4 answers

Is it OK to attach an LED directly to a 5V Attiny?

From the datasheet, I though the AT90S1200 had current-limited pins and when running at 5V would sink the proper amount of current through a green LED attached to + (0 turns on the LED, 1 turns it off) without any external resistors. Unfortunately…
joeforker
  • 5,596
  • 10
  • 38
  • 59
9
votes
2 answers

Determining which pin triggered a PCINTn interrupt?

Am I correct in thinking that if you have two pins causing the same AVR PCINT interrupt, (e.g. PCINT0 vector caused by either PCINT0 or PCINT1 pins -- I think the naming overlap of vectors and pins is confusing) the only way to determine which…
Tom Davies
  • 306
  • 1
  • 2
  • 10
9
votes
4 answers

Best IDE for 32-bit microcontroller on Linux

I'm choosing a 32-bit microcontroller to implement a Kalman filter. I am very attracted to the Atmel Studio 6 IDE. However, it only appears to run on Windows. Could anyone suggest a good Linux IDE? Otherwise, I think I'll go with Atmel Studio 6 IDE…
Eamorr
  • 477
  • 1
  • 7
  • 11
9
votes
3 answers

ATtiny85 power consumption double expected

I'm trying to get an ATTiny85 to run off a battery. I have it clocked from a 16.384 MHz crystal, with the divide-by-8 fuse set. Vcc is 3.3 volts. Figure 22-7 in the datasheet says that at idle ( set_sleep_mode(SLEEP_MODE_IDLE); sleep_mode(); ), it…
nsayer
  • 1,543
  • 1
  • 18
  • 35
8
votes
1 answer

PWM Modes: Center Aligned and Left Aligned

I am using the Atmel AT32UC3C2512C and looking into the datasheet there are two kinds of PWM modes: Center Aligned and Left Aligned. I would like to know when one is supposed to use each one of these modes, and pros and cons of them.
mFeinstein
  • 4,293
  • 11
  • 45
  • 84
7
votes
2 answers

How different is the Arduino language than Atmel Studio language?

I see that on the official Arduino website, the reference page contains the functions and vales you would use specified to the Arduino compiler. http://arduino.cc/en/Reference/HomePage What would you use instead, if you are working with Atmel…
Aleatory
  • 497
  • 2
  • 5
  • 12
7
votes
2 answers

Generating servo signal in atmega2560

I'm new to AtmelStudio. I need to know how to generate a servo control signal using timer modules of atmega2560. I'm using an Arduino Mega board. (please refer the last paragraphs of this page for more info about servo control signals). I'm not…
Anubis
  • 1,490
  • 3
  • 20
  • 32
1
2 3
33 34