Tagged Questions

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
17 views

IC similar to U2538B for IR filtering 46kHz

For an infrared receiver I need to bandpass filter a signal with a carrier of about 46kHz. Normally one would buy an IR receiver with built in signal conditioning, but they don't seem to exsist for ...
1
vote
1answer
58 views

Tie Arduino - ATMEGA328P reset pin directly to +5V?

I would like to know if it's okay to tie the reset pin on an ATMEGA328P directly to +5V without using a resistor to avoid random resets and lower part count. If it's not okay, can you explain why it's ...
0
votes
2answers
25 views

Inverted PWM with ATTiny10

On a 10MHz ATTiny10, the following code generates the same 40kHz 50% duty PWM on both pins 0 and 1: ...
1
vote
1answer
34 views

What is the best way to interface ST7066 lcd controller with Atmel SAM4E

I am trying to interface ST7066 LCD controller with Atmel SAM4E MCU, but is quite confused about the best way(Least no. of pins used) to interface them together. Should I use GPIOs or Should I go for ...
0
votes
0answers
64 views

ATTiny85. How do I use the reset pin as an analog input or digital output?

According to this datasheet, the ATTiny85 has 6 I/O pins if we include the reset pin. I used five of them to charlieplex 18 LEDs and I need another one to use as analog input. Would it be possible to ...
1
vote
1answer
55 views

ATmega328A UART: everything working, but not as expected

I am trying to get UART working via the ATmega328A. I want to enter a character, and get that character to be printed out. However, when my code is run this is what happens: I enter one character, ...
0
votes
0answers
21 views

EVK1104 & Atmel Studio 6.2

I have an evaluation board EVK1104 for 32-bit Atmel Processors AT32UC3A. I have checked in AVR Studio and there are some example projects for EVK1104. Therefore I thought I can use AVR Studio 6 for ...
1
vote
1answer
53 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 ...
0
votes
1answer
33 views

Zigbit ATZB-24-A2 SMD to DIP socket

I'm looking for solution how to mount Zigbit ATZB to prototype board without making individual PCB with pin outputs. Do you know any socket adapter with pins spacing like this? Or any other solution ...
1
vote
1answer
56 views

Assembly XMEGA program creating a longer than expected pin toggle?

I'm trying to do the fastest pin toggle possible on an XMEGA32E5 running at 32MHz. My code is as follows: ...
6
votes
5answers
583 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
100 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
75 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
76 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
66 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
64 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
67 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
60 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
102 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
63 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
57 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
181 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
58 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
68 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
35 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.
0
votes
1answer
299 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
54 views

Understanding AVR assembler instruction

From here, I have the following example: ...
0
votes
0answers
92 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
300 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
160 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
70 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
107 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
913 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
100 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
49 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
223 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
308 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
111 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
382 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
213 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
463 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
185 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
70 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
410 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
134 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
362 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
183 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
116 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
351 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
108 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 ...