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

How to select external crystal in atmega162

How to set AVR to select external crystal for clock? A _delay_ms(1000) is producing a quick beep however it should produce 1 sec beep if it is operating on 12Mhz. Could it be done programatically of ...
1
vote
2answers
38 views

Using Atmel Software Framework

http://www.atmel.com/tools/avrsoftwareframework.aspx?tab=overview In my company there is a project, depending on this library. However, it is used by copy-pasting some .c and .h files into the ...
3
votes
1answer
64 views

VHDL - address comparison yields wrong result

I am developing TS-CAN1 emulator on Atmel's ATF1508AS. One part of an application is an address decoder implemented as follows (only interesting parts are left): ...
0
votes
0answers
19 views

RFID interfacing with atmega162 problem

I have interfaced RFID and atmega162 as in picture , but I am getting garbage with blank spaces, hypens on lcd , please see my code and tell me whats could be the problem, Hoping for your help. ...
0
votes
0answers
12 views

RFId interfacing with atmega162

I am new to programming, I have created a schematic of my project I am not sure it would work or not. I have RFID 125khz - Model no RFID6300. Do this module require MAX232 to be used in between ...
2
votes
1answer
152 views

How can I design my PCB in a way I can debug the Atmel microcontroller on board?

We are designing a board around Atmel SAM4E microcontroller, and use Atmel-ICE for debugging/programming. To save space, we would like to avoid including the whole ICE connector. Which are the minimum ...
0
votes
1answer
25 views

Buzzer not working with delay avr atmega162

Hi I have got a problem that will be simple to you guys but i am newbie so its difficult for me to get things done correctly, I Have buzzer interfaced with PinC0 of atmega162 , with crystal 12MHz ...
0
votes
0answers
12 views

How are Arduino's OSH if Atmel AVR is proprietary? [migrated]

I keep reading how Arduinos are "open source", but my understanding of OSH is that all its components must be open source. Arduino uses an Atmel AVR CPU - but Googling this shows the Atmel is ...
0
votes
0answers
21 views

Atmel EDBG External ARM Target

I am looking to program one of Atmels 802.15.4/ARM Cortex-M0+ chips and would like to know if it is possible to do through Atmel Studio with the help of the EDBG on a Samr21 xplained board. I have ...
0
votes
0answers
15 views

What image sensors can I use with Atmel's ISI interface on a SAM9G25?

Atmel's SAM9G25 includes an "Image Sensor Interface" peripheral, which is nicely documented, and "...can be used to connect various image sensors". What I am struggling with is: 1) How do I find ...
1
vote
0answers
18 views

DAC via I2C: detect error conditions

We are using a MAX517 DAC-device as slave and an ATmega8535 controller as master. Communication errors can be readily detected by comparing (TWSR & 0xF8) with 0x08 for Start, 0x18 for address ...
0
votes
2answers
60 views

Wired communication from 1 atmel to many nodes

Right now i am looking for a better way to communicate to our wired nodes in a project that we are working on. Currently there is 1 main node that all other nodes talk to that in turn handles all ...
7
votes
3answers
354 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 ...
0
votes
1answer
49 views

Interacting with the host OS

I am wondering if an ATMEL micro controller such as an ATMEGA8 or ATTINY2313 has libraries to interact with a computer (windows OS) over USB? If so is there any premade libraries that does the bulk of ...
0
votes
0answers
40 views

AT32 UC3a3256 connnection problem

I've built a custom board containing an AVR AT32UC3a3256, I'd like to program it using the JTAG connector from the Atmal JTAGICE mk2. When I try to connect it I can't read the JTAG id, it always gives ...
5
votes
6answers
466 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 ...
0
votes
1answer
80 views

Understanding capacitor usage in the Sparkfun arduino [duplicate]

In the schematic for the Sparkfun Arduino mini pro 3.3v https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/Arduino-Pro-Mini-v14.pdf there's a 0.1uF capacitor (C3) just left of the atmega ground ...
0
votes
1answer
49 views

1-wire in ATMEGA1281 problem

Could someone help me with something like this? I wanted to add DS18N20 thermal sensor (http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf) via 1-wire interface and when I'm trying to connect it ...
0
votes
0answers
40 views

AT91SAM9260 Does not recognize 128 MBytes SDRAM

Recently began to use AT91SAM9260 processor on the Olimex board. From the data sheets of the processor, it seems to support up to 256 MBytes of SDRAM. So I replaced both of the old K4S561632C-TC/L75 ...
0
votes
1answer
62 views

Arduino - receive Ethernet W5100 signal to multiple arduinos

I'm after doing a device in which I'll use 4 AtMega328 chips; Since they'll all be mounted on the same PCB, and I need an ethernet connection for them, I was wondering if there's a way to share the ...
0
votes
1answer
82 views

Atmega328p Circuit Blinking Circuit

So I am trying to build a standalone circuit using the Atmega 328p. After uploading the code using Atmel Studio and AVRDude I get no response from the circuit; however, when I take the Atmega and put ...
0
votes
0answers
49 views

Using Atmel-ICE hardware debugger

A while ago we had a project and wanted to program Atmel microcontrollers. Since the project stalled after some time, we never did anything with it. So here it is, lying on my desk this sunday and ...
0
votes
1answer
43 views

The difference between Atmel ATmega16u2-MU and -MUR

What is the difference between ATMEGA16U2-MU and ATMEGA16U2-MUR? Atmel lists these 2 codes in the table on their product page but I could not find any explanation in the datasheet.
3
votes
1answer
112 views

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

I write 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 ARM ...
0
votes
1answer
140 views

ATMEL's ARM programming without ASF

I want to make an introduction to "arm programming" without using Atmel Software Framework. That is which i don't know, it's the definitions of chip's peripherals. For example: How can i refer to a ...
0
votes
1answer
47 views

Alternative to Atmel programmers [closed]

I am currently using the Dragon AVR to program ATMEGA88 chips on board using ISP I/F. My problem is that it seems somewhat flakey. Is there a reasonably cheap non-Atmel alternative? Ideally a more ...
2
votes
1answer
48 views

Atmel and coil close on a board - is interference an issue?

I'm going to build a circuit which uses AVR uC (probably ATmega8 or some ATtiny) and a coil with iron powder ring core. The coil has 330uH and will be working under current of approx. 6A. I'd like to ...
2
votes
2answers
61 views

Register Syntax question

I was reading some code to use an on an arduino ATMEGA328P and I can't figure out what this line of code does. ASSR &= ~(_BV(EXCLK) | _BV(AS2)); I know that ...
0
votes
0answers
34 views

IC similar to U2538B for IR filtering 46kHz [on hold]

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
2answers
144 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
48 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
66 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
185 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 ...
2
votes
1answer
81 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
36 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
84 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
39 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
91 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
699 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
117 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
184 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
151 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
104 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
71 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
138 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
64 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
232 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 ...
1
vote
1answer
147 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
106 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
441 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 ( ...