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

0
votes
0answers
13 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
20 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
2answers
125 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
32 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
51 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
20 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
80 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
47 views

Understanding AVR assembler instruction

From here, I have the following example: ...
0
votes
0answers
65 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
95 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
1answer
64 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
51 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 ...
1
vote
1answer
89 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
444 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
69 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
177 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
272 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
85 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 ...
5
votes
0answers
244 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
144 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
348 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
149 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
62 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
199 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
108 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
262 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
155 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
109 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
284 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
91 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
176 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
75 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 ...
2
votes
2answers
121 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
255 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
222 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
74 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
241 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
149 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
790 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 ...
2
votes
3answers
310 views

Counter: pulse every 8 clocks

I have a square signal (fixed but can be between 12MHz and up to 48MHz) and I would like to create every 8 clocks a pulse as brief as possible, no more than 1/4 of the period. First, a couple of ...
-3
votes
1answer
43 views

Minimal Atmel ATSAM4LC4A parts requirement [closed]

I want to make myself a developmet board with that chip. http://www.atmel.co.il/devices/ATSAM4LC4A.aspx And I would like to get a schematic or anything that will help building a development board. ...
0
votes
1answer
50 views

Connecting Atmel AVRISP to JTAGICE header

I have an AVR board with 10-pin JTAGICE header and a 6-pin ISP. Can I somehow connect the ISP to program this board without having JTAG functionality?
3
votes
3answers
118 views

Is there any problems or issues with holding !RESET low on ATMEL ATMEGA328P till rest of board self checks?

I'd like keep an ATMEL ATMega328P in reset for about 4 sec while the rest of the board self checks on startup. Is this OK? Are there any issues that would make holding the RESET low for this extended ...
0
votes
0answers
99 views

Debug using avr-gdb from remote debug server in Proteus/ASIS

I am trying to debug an ATmega2560 using avr-gdb using an emulated application running in Proteus/ASIS. The idea is to emulate the JTAG from the microcontroller and create a target debug server from ...
1
vote
2answers
567 views

Arduino Uno R3: Controlling Tx and Rx LEDs

I am currently attempting to control the Arduino Uno's Tx and Rx LEDs. These are connected to digital pins 0 and 1 respectively, which are AFAIK, PD4 and PD5. They are held at +5V, so I assumed that ...
1
vote
0answers
51 views

SDRAM timing requirements

I am interfacing a Micron MT48H16M32LFCM-75 SDRAM with an Atmel AT91SAM9G20 and I need to verify on paper (as far as possible), that the timing specifications between those two devices are compatible. ...
2
votes
2answers
2k 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 ...
0
votes
1answer
165 views

What is the PIC equivalent to AVR's ICP?

On many AVR devices (afaik every one that includes at least one 16bit timer), there is an ICP (Input Capture Pin) that fires an edge-triggered interrupt. What's the equivalent on a PIC micro? Does ...