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
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 ...
3
votes
1answer
938 views

How to write a bootloader and drivers for ATtiny167

I am using an ATtiny167 Atmel chip on a custom PCB board I’ve designed. I prototyped the board with the sensors and a Digispark (Getting started, Upload Bootloader) as the ADC and serial connection. ...
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 ...
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 ...
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)...
6
votes
1answer
584 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 ...
1
vote
3answers
925 views

Resources to learn about the AVR/RISC architecture

I think I have used enough of the AVR series by atmel to say that I understand how to use it. I know somethings about how it actually works, but I would like to know more. Are there any good resources ...
1
vote
2answers
2k views

Determine input frequency of square wave w/ ICR in Atmega328p

I'm trying to obtain the input frequency of a square wave using the input capture register of an Atmega328p. So far, it works sporadically -- which is to say, when I input a 75 kHz square wave, the ...
1
vote
3answers
1k views

Increase memory of an ATmega32

I bought an ATmega32 IC recently, but now I found out the program I wrote in Atmel Studio reports an error due to an overflow of memory. It is 134.1% over the recommended memory of this chip. Are ...
2
votes
2answers
2k 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, ...
2
votes
2answers
773 views

ATMEL 24C02 EEPROM - Trouble understanding how the addressing works

I am currently writing a library for ATMEL's 24C series EEPROMs (not a programming question). The library works fine with a single EEPROM at the moment and I am trying to support multiple EEPROMs now, ...
2
votes
2answers
984 views

Why does the ATTiny84 have both an analog comparator and an ADC?

I have been reading through the datasheet for the ATTiny84A, and noticed that it has both an analog comparator and the ability to use its ADC in unipolar or bipolar differential mode. From what I can ...
1
vote
2answers
3k views

Pin as both input (for a switch) and output (for LED) with ATmega32U4?

There are several questions close to this topic already, but they are either for another µC family, or target reading analog voltages or other special cases. So here goes: I would like to read a ...
1
vote
0answers
262 views

Atmel ARM, USB, and an SD Card as a MSD?

I'm currently trying to run the SAM L21 as both a CDC and an MSD over USB. Thankfully there is example code here to get me started. I can move files into the on-board ram just like any other storage ...
1
vote
1answer
2k views

How to set ATmega88PA fuses in code or HEX file

I'm a Microchip guy, but I'm helping a customer out with an Atmel project using the ATmega88PA project they inherited from another division. I'm using AVR Studio 5 and I would like to compile the fuse ...
1
vote
1answer
1k views

Atmel Studio 7 Custom Build Tool Output

I've recently switched over to Atmel Studio 7 (AS7) for one of my AVR projects and after a bit of fiddling around have worked out how to get the "Custom Programming Tool" to correctly upload compiled ...
0
votes
2answers
112 views

Using switches installed across pins on AVR

I have the following layout, the switches are part of an existing hardware piece I'd like to reuse. I'd like to be able to detect button presses on the vol+ and vol- buttons. The plan was to actively ...
0
votes
1answer
1k views

ATSamd10 Atmel ARM programming via UART bootloader

I'm trying to collect info on how to program ATSAMD10 chip (Atmel Cortex-M0 ARM). E.g. with LPC111x from NXP I've used gnueabi gcc toolchain to create hex-files and then uploaded them via UART using ...
0
votes
2answers
367 views

Help find data sheet for micro-controller?

I found a packet of 10 micro-controller in my brother's electronics stuff. It reads "Atmel ATMEGA168A-PU". I looked at Atmel's website but could not find any such product. I need it's data sheet to ...
0
votes
1answer
578 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
904 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
3answers
2k views

Replacement for the MC14495-P1

I need to find a device I can use in place of the MC14495-P1 binary to hexadecimal LED driver. This part is sadly very scarce and very expensive these days. The device is a 16 pin DIP with +5V on ...
0
votes
1answer
4k views

8u2 programming with Flip 3.4.5

I'm attempting to update the firmware on my Arduino Mega 2560. I'm following this tutorial. However, when I try to use flip, whenever I try to find my device (from USB), it tells me that AtLibUsbDfu....