Questions tagged [atmel]

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

Filter by
Sorted by
Tagged with
22
votes
3answers
13k views

What are Atmel Fuses?

What are Fuses in Atmel microprocessors and when I should or need to change the default settings?
14
votes
8answers
3k views

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 ...
14
votes
3answers
5k views

Switching from PIC to AVR [closed]

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 ...
12
votes
2answers
1k views

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 ...
11
votes
5answers
10k views

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 ...
11
votes
2answers
5k views

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 ...
11
votes
1answer
969 views

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 ...
9
votes
4answers
11k views

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)...
9
votes
3answers
5k views

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 ( ...
9
votes
2answers
24k views

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 ...
9
votes
4answers
8k views

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? ...
8
votes
3answers
2k views

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 ...
8
votes
1answer
7k views

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 ...
7
votes
5answers
2k views

EEPROM endurance in energy meter?

I am designing an energy meter for electricity billing purposes by converting an analogue energy meter and counting the number of pulses given by the analogue meter's LED. Since power may be cut off ...
7
votes
3answers
772 views

Microprocessors for multiple (~40) SPI devices?

I'm looking at building a product that combines over 40 LCD pushbutton switches (example here that communicate via SPI). I've been looking at microprocessors to handle this, but I am running into ...
7
votes
2answers
17k views

How different is the Arduino language than Atmel Studio language? [closed]

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 ...
7
votes
2answers
2k views

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 ...
6
votes
6answers
2k views

WLCSP MCU's - what hardware is needed for programming these tiny chips?

I just received my DigiKey order of some Atmel ATTiny4 MCU's from DigiKey. I wanted to tinker with one of the smallest MCU's I could find, and this was one of them. It is, in fact, so small because ...
6
votes
6answers
2k views

What is the behavior of an unprogrammed MicroController?

Problem: I get Errors when trying to connect to the MicroController using the PDI interface. How does a MicroController behave when it hasn't been programmed? Is there a pin that will toggle to show ...
6
votes
3answers
2k views

What is the state of XMEGA programming from Linux?

What are the hardware and software options for programming an XMEGA from Linux?
6
votes
1answer
578 views

Moving to ARM from 8 bit AVR - how to take the 1st step?

I've written code for AVRs for several years now and it seems like my needs are calling for a more powerful processor. Since Atmel Studio is the IDE I'm already using and my debugger also works with ...
6
votes
5answers
8k views

DSC Keybus Protocol

I'm plan to interface a atmel avr with my alarm system in home but the issue is DSC has a propriatary protocol between the keypad and the base. So has anyone messed with this before or can give me a ...
6
votes
1answer
288 views

Any disadvantages to single-supply mode?

I am using the ATMEL ARM SAM4S MCU for a project. It supports a single-supply mode where an internal voltage regulator provides the 1.08-1.32V necessary for VDDCORE and we need only provide 1.62-3.6V ...
6
votes
1answer
496 views

Arduino with atmel tools

Hi I've done some dev using AVR's. I'd really like to use the arduino but continue using atmel tools. Is this straightforward? Is there a converter that I can use my 910 programmer with? I think ...
5
votes
1answer
2k views

What does the 'A' trailing letter in Atmel's ATtiny devices mean?

I have both on stock: ATtiny861A-SU and ATtiny861-20SU. But I can not find out any difference between them except 'In-System Programmable via SPI Port' available for 'A' version. Could anyone tell ...
5
votes
1answer
2k views

Atmel AVR assembly language multiplying by 2

I'm trying to multiply a 32-bit unsigned number by 2 across registers r18, 19, 20 and ...
5
votes
4answers
442 views

What is Arduino?

What is this Arduino concept that I keep hearing about? Is it a microcontroller family, or a demoboard? Please include pictures in your answer, and if there are multiple possible items known as ...
5
votes
1answer
375 views

Internal RC clock on Atmega329 accuracy

I'm working on a project that uses a Atmega329 with a 2 digit lcd 7 segment display. It needs to keep track of days, using a small coin cell battery. I originally planned on using the on board clock,...
5
votes
2answers
1k views

How to test if it is a non-multiplexed (static) LCD?

I got some static LCD's from an old cheap clock, calculator and the like and now I would like to use them for displaying simple things like temperature. They are connected with those pink with grey ...
5
votes
3answers
11k views

Finding the source of a Hard Fault using extended HardFault_Handler

I have been hitting some hard-faults on the firmware I have created with FreeRTOS on a SAMD21 (ARM Cortex-M0) MCU. So I took a further action to find out the cause and eventually bumped into this ...
5
votes
2answers
7k views

atmel studio for mac

Is Atmel Studio compatible with Mac or Linux? It seems like there is only Windows support from the downlaods here: http://www.microchip.com/mplab/avr-support/atmel-studio-7.
5
votes
2answers
4k views

Is is feasible to build an audio recorder with SD card storage using ATmega 16 or 32?

Is is feasible to build an audio recorder with SD card storage using ATmega 16 or 32 running at say 16 MHz? If yes, what would it need in components? I don't expect you to make a device for me, but ...
5
votes
2answers
9k views

What is the difference between Atmel ICE, Atmel SAM-ICE and Atmel JTAGICE mkII?

What is the difference between Atmel ICE, Atmel SAM-ICE and Atmel JTAGICE mkII? From what I understand, Atmel ICE is cheaper and better in every way, support more families, thus why would one buy the ...
5
votes
2answers
862 views

Can a wrong crystal oscilator capacitor burn the MCU?

Short story: I am using an Atmel AT32UC3C2512C MCU and I selected a 20MHz crystal oscillator for it and two NP0 10pF capacitors. I was in doubt between 10pF, 15pF or 22pF, so I decided to start with ...
5
votes
1answer
3k views

Atmel Xmega PWM problem

I am trying to get the pwm working on the Atmel Xmega256A3BU. I am not getting the desired PWM on the port pin. Here's my initialization for the PWM generation in the code. ...
4
votes
2answers
1k views

Atmel SAM E70 (ATSAME70Q21, Cortex-M7) battery backup

I'm building a USB-powered demo board with the Atmel SAM E70 controller, and a single hurdle I'm facing is the battery-powered operation. I intend to use a simple 3V coin cell battery as a backup ...
4
votes
6answers
1k views

Can an EEPROM be one-time-programmable?

I'm confused, and I hope you can help me figuring out, what I misunderstood. I am not an electronics engineer, so bear with me :) I have a chip, from the engine control unit of a Toyota Yaris Verso ...
4
votes
2answers
4k views

Are there Atmel and PIC libraries for Eagle?

I am using CadSoft's Eagle library with added libraries from Adafruit. However, I still see an overwhelming lack of modern Atmel products in the component list. I'm relatively new to Eagle so I haven'...
4
votes
2answers
5k views

ATMEL's ARM programming without ASF

I want to make an introduction to "ARM programming" without using Atmel Software Framework (ASF). That is what I don't know: the definitions of the chip peripherals. For example: How can I refer to a ...
4
votes
3answers
5k views

Why IAR Compiler?

I just saw an Application Note from Atmel about how to compile some code in IAR and I wonder, why would anyone use an external compiler if Atmel already provides the Atmel Studio, with a Visual Studio ...
4
votes
4answers
682 views

Does anyone have any sample code or suggestions to help me to interface my 100 pin uc3a1512to a device via RS-485?

I am attempting to connect and control a device which only accepts RS-485 input. I wish to communicate to this device via my existing UC3A1512. Does anyone have any existing source code or examples ...
4
votes
2answers
8k views

What's the difference between ATMega1284 and ATMega1284p?

I want to buy an Atmega1284p, doing a research on my local hardware seller (RS), I've found two models, the Atmega1284p-pu and the Atmega1284-pu. Reading the specs I don't see any difference (maybe I ...
4
votes
1answer
7k views

Using AVR Dragon with Atmel Studio 6

I have an Xmega Xplained 128A1 kit along with an AVR Dragon. Can anyone help me with the steps to be followed for programming Xmega using Dragon using Atmel Studio 6? I have downloaded the material ...
4
votes
1answer
960 views

Solder mask for 0.5mm pitch TQFP

I'm using Atmel SAM chips and the data sheets don't have any mention of solder mask clearance for their TQFP packages. What would be a nominal pad/solder mask opening/cream size for a 0.5mm pitch ...
4
votes
5answers
1k views

New to embedded systems: help selecting the right chip for 8051 project?

We are to create an 8051 microcontroller based system as a university project. We have the specs, which says we need an Atmel 89C51 chip. But Atmel recommends that we use AT89S51 instead of AT89C51. ...
4
votes
2answers
7k views

Driving LEDs directly from microcontroller pins

In the circuit I'm designing, I'm using an at91sam7s128 which is a micro-controller with an ARM7 core. Its PIO0 to PIO31 provide 8mA max which is low to handle direct driving of LEDs like this: ...
4
votes
1answer
86 views

Storing info bytes in ATmega169PA that remain after reprogramming

Does anyone know if there is a way that I can store 2 bytes of data into an ATmega169PA that will survive re-programming of the device? I would like to store a unique ID into an ATmega169PA that will ...
4
votes
1answer
2k views

measuring low-value capacitors with Arduino/Atmel

I recently bought a kit at Sparkfun to measure capacitors. (Which is actually this.) It works well and accurately measures very tiny capacitors, but the firmware is not open source and I would like to ...
4
votes
1answer
1k views

Transmission (TX) halts using FTDI 232RL with ATmega328-PU

FTDI seems to be a popular forum topic, but I can't seem to find an answer to a confounding issue I have. I'll try to give as many details as I can, since I can't seem to narrow down the issue. I am ...
4
votes
2answers
2k views

Accessing data past 64k boundary on atmega1280

I need to be able to store and refer to constant data arrays which must be placed after the 64k boundary in the atmega1280. How do I create the correct data structure, and then access it for the ...

1
2 3 4 5
9