A company that makes microcontrollers and other chips, most popularly the AVR line of ATMega and ATtiny. These chips are the basis of the popular Arduino line of prototyping platform boards.

learn more… | top users | synonyms

6
votes
5answers
482 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 ...
1
vote
1answer
92 views

AVR Input not reading correct value

I feel like this is a true beginners problem, but I fail to see what I am doing wrong here: I have a SIP switch connected to port A of an Atmega32 and I cannot read correct values from the port. Here ...
0
votes
0answers
42 views

How to read write an SD card in SD mode on SAM4S HSMCI

I have managed to initialize the HSMCI and SD card in SD mode on SAM4SD32C. I can now check the relative card address, card capacity and have enabled the full speed and 4bit bus width for the ...
0
votes
1answer
34 views

Does the Atmel-ICE Debugger work on ATtiny MCUs?

I've looked on the interwebtubes and could not find out if the Atmel-ICE debugger works with ATtiny MCUs. In theory, since the debugger supports debugWire and SPI modes, it should, but the official ...
1
vote
1answer
49 views

how to clear an UART interrupt flag manually?

I'm using an ATmega32. I have ISR(USART_RXC_vect) as follows ...
0
votes
2answers
58 views

ADC 10-bit false results

I'm using atmega32 ┬Ác with the internal 10-bit ADC. I connected my potentiometer to the ADC 1 and I'm using 5 V Voltage Reference. using the following code, I did the ADC-config ...
1
vote
1answer
41 views

Use Atmel-ICE programmer for other JTAG debugging

I'm new to electronics and come from the software side of things. Now we are working on a project and we need to program a MCU. Since it's an Atmel MCU we had to get a programmer. It is the Atmel-ICE ...
2
votes
1answer
57 views

Signal values peaks and noise reduction

I have a stream of signal values (e.g. 10, 12, 13, 11, 15, 12,500, 10, 23, 25, 30, 200). As you see, some noise like the values 500 and 200 exist on the stream. How can I eliminate this noise or ...
1
vote
0answers
35 views

Atmega32 can't verify after setting correct fuses for external crystal. HELP

I am having trouble with some Atmega32A's purchased off from eBay. The MCU's does not seem to be fake as they are functioning properly. I am experiencig the following problem: I want to use external ...
0
votes
0answers
28 views

AtmelStudio 6.2 changes the ISP clock when I try to run a program

I'm having a strange problem with AtmelStudio. I took a few screenshots: Here, atmel studio is open and I check the project settings. ISP Clock is set to 125kHz. This is good. I also check the ...
0
votes
1answer
30 views

Need Atmel 89C5131 microcontroler library for Altium designer v14.3.9

I want to design a small electronic circuit using Altium designer v14.3.9, and I need the microcontroller Atmel's 89C5131 (the symbol, not for PCB), but couldn't find it in any of my libraries. Does ...
5
votes
3answers
160 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 ( ...
0
votes
1answer
45 views

PF10 in atmel ATxmegaxxxA1U

Atmel AVR1916: USB DFU Boot Loader for XMEGA application note reports that for the ATxmegaxxxA1U the pin for starting the programming is PF10, but the devices has no such pin, as shown in the ...
1
vote
0answers
53 views

Debug 2-Wire Serial Interface

How can I debug I2C in Atmel Studio (latest)? I have enabled it as shown inside the I/0 View with TWEN and ...
0
votes
1answer
25 views

How to check the source of reset in ATMEGA644p

I am trying to find the source of reset for ATMEGA644p, but I couldn't find the way to do it! MCUCSR gives error in atmel studio as not declared and the datasheet also doesn't have it.
-1
votes
1answer
126 views

How can I program Mega2560 with Atmel Studio 6.2

I have got the SainSmart Mega2560. The problem is now: how can I program it with Atmel Studio 6.2? I can find no way to upload code, because the controller is not in listed and with ISP I can not do ...
0
votes
1answer
49 views

Understanding AVR assembler instruction

From here, I have the following example: ...
0
votes
0answers
75 views

USB Audio Stream to Codec

I have been trying to design a USB Audio Interface with an Atmel SAM3U microcontroller and I think I have hit a wall in my thinking process. As a sidenote, I'm relatively new to the world of ...
2
votes
2answers
150 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 ...
0
votes
2answers
98 views

How to program ATmega2560 chip

This is ATmega2560 http://www.atmel.com/devices/atmega2560.aspx How can you program this? Using Arduino as ISP? USBasp? Also, since this chip in a QFN (I think this is what it's called), then how do ...
0
votes
1answer
57 views

AVR- state change of a pin to generate an interrupt [closed]

I need to produce external interrupt whenever there is a change in state of a pin. When the pin goes from high impedance state to ground or from ground to high impedance state, an interrupt must be ...
2
votes
1answer
104 views

Problems building project with .c and .s

I'm using Atmel Studio to program my board I have a solution open with 2 projects as ".c" I have created the proper dependencies for the projects but one of the include files is a ".h" and uses a ...
2
votes
1answer
610 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 ...
1
vote
1answer
79 views

Different JTAG debug options for ATmega1281

Background: I've inherited my first ATMEL project. It's using an ATmega128A, coded in AVR Studio 4, with the Olimex AVR-JTAG-USB debugger. I've learned how to use these tools, although I'm still ...
0
votes
2answers
48 views

How to find the value on a chart scaled in decibels

I have the following chart The blue line is the one I am interested in. The question is how can I determine the value in LUX if I have the output voltage? The problem is that I don't have any ...
0
votes
2answers
186 views

A Beginner's Question: 32 bit vs 8 Bit [closed]

I am in the process of getting started with electronics, and I have come to a crossroads. Being a complete beginner, should I start with 32 bit microcontrollers (specifically Atmel's UC3 series), or 8 ...
3
votes
1answer
280 views

What does the 'A' 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 ...
0
votes
1answer
96 views

ATmega dual pin function JTAG and analog input

I need measure temperature to adjust ticks as temperature changes. I suppose thermistor nearby crystal (10ppm) as low cost solution. I'm using AT90USBxxx but I have allocated PF0-3 for more important ...
6
votes
0answers
284 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 ...
2
votes
1answer
165 views

ATmega2560 assembly pin read and compare logic problem

I apologize if my question was vague. Program: Atmel Studio 6 I am trying to make a program that enters an loop which it will only break out of when a pin goes low. ...
2
votes
2answers
398 views

How many servos can I run on an ATtiny85?

This is my first time asking a question on this website, so please correct me if I'm doing something wrong... I have been working on a small project which runs three Servo motors on an ATtiny85, ...
0
votes
2answers
159 views

VGA repeater/extender circuit

Apparently noone ever needed anything like this on the internet because I was not able to find any example, so I hope this will become the reference question. I need to repeat a vga 800x600 signal up ...
0
votes
0answers
65 views

AVR: check controller health?

I'm very new to programming controllers and while reading a book I've been building a circuit that looks like has killed my controller. Thats the output from avrdude and MKII clone programmer: ...
1
vote
1answer
244 views

arduino burning bootloader. avrdude issues

When I try to burn a bootloader to my atmega328 the arduino IDE gives me an error: avrdude: usbdev_open(): did not find any USB device "usb" When I burn a ...
0
votes
1answer
121 views

Can Atmel Single Wire Interface (SWI) Support more than one device on the bus?

I'm interested in using multiple ATSHA204's on a bus. UART or I2C if we have to use more than one pin, but my question is if we use Atmel's bit-banged SWI protocol, will it support more than once ...
-1
votes
2answers
296 views

How to program Atmel ATtiny88 (not 45 or 85)? [closed]

There are lots of tutorials for programming the ATtiny45 and 85 with a breadboard and Arduino, but how would I program the ATtiny88? It's an 8 bit AVR microcontroller, but it can not be mounted on a ...
1
vote
2answers
165 views

68 series CPU vs 80 series CPU

I'm reading a lot of LCD driver data sheets at the moment and they often have multiple interfaces (serial, 8-bit, 16-bit, etc...). They are also often also split into two sections "80 series CPU" and ...
4
votes
1answer
112 views

Why are some AVRs marked with 'atmega' and some marked with 'mega'?

I'm working on hacking the MCU in my MLP4DSM radio for an RC helicopter. The model number on the MCU is scratched out, but I can clearly read MEGA without an ...
1
vote
1answer
312 views

AT89c51RE2 replaced with AT89LP51RD2, ISP programming

have a question I can't seem to figure out the answer to. We have existing boards running off the AT89c51RE2 processor. Works great because it supports In-System-Programming. This means we can use ...
1
vote
0answers
96 views

Atmel Studio JTAG Debugger Behaviour

The qeustion: I would like to know what is different about the way JTAG treats the "step over" and "step into" commands. Background: I am trying to set a GPNVM bit on a SAM3N (ARM Cortex M3) chip ...
0
votes
2answers
1k views

Updating Arduino Uno R3 ATMega16u2 firmware [closed]

Regarding another big problem I have with some of my arduino's boards I start to suspect the ATMega16U2 chip to be corrupted and would like to be sure that he's working fine. So I've download Atmel ...
0
votes
1answer
179 views

Seeking 4x3 keypad for Atmel UC3 microprocessor

I was doing a combined project with a friend, with me on s/w and him on h/w. After a year of coding on my part & not much activity on his, he announced that he is "too busy" to continue. That ...
0
votes
1answer
80 views

AVR Dragon: Debug Frequency?

I think of buying an AVR Dragon or an AVR JTAG ICE MKIII. But before I do this, I need to know what side effects the reduced debug frequency has on an ATMEGA328P while debugging. I make heavy use of ...
3
votes
2answers
131 views

AVR Reset pin for a long time

I just have a little Question, if I drive a reset pin to low (reset active) of an Atmel AVR for a long time (1 week for example, in fact it'll be really variable depending on the use) can it cause ...
1
vote
0answers
275 views

MAX7219 interfaced with ATmega128 producing strange results on 7 segment display

I have built a circuit using an ATmega128 interfacing a MAX7219 decoder to control a 7-segment display. I would appreciate if anyone could help me figure out a problem I'm having with my setup. I am ...
5
votes
2answers
230 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 ...
1
vote
1answer
77 views

AVR32 Drive Strength

The UC3C Datasheet doesn't provide a clear explanation about "drive strength", how it behaves and the side effects in projects. After fabricating my board I realized I placed a LED on a x1 strength ...
1
vote
0answers
259 views

ATXmega: DMA and USART communication

I am working on an application on an ATXmega256A3 for measuring data. Ideally, the application would be able to communicate cleanly via UART with hardware handshake measure just in time even if ...
2
votes
1answer
160 views

Atmel AT86RF233 read phase measurement

I've started working with the AT86RF233 a few weeks ago and found the Ranging Toolbox (RTB) package quite impressive. It's the first time I'm using wireless modules, so I wanted to see if I could use ...
1
vote
3answers
904 views

RxD TxD equivalent pins in USB

I want to build a USB Programmer currently for AT89C51. I am stuck on how to make it communicate with PC. In RS232, the RxD TxD pins are straight forward, we just need to use Logic Level Converter to ...