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
2answers
42 views

Is UART necessary to send AT-commands to Bluetooth module?

I'm looking to alert a connected device over Bluetooth when an accelerometer detects motion. I'm thinking of using the HM-10 Bluetooth module and an ATtiny for controlling the accelerometer. The doc ...
0
votes
1answer
38 views

Atmel SAM E70 SPI Chip-Select (SPCS) lines

I deliberate the datasheet of Atmel's SAM E70 Cortex-M7 and i have a confusion about SPI. When SPI is in master mode, it uses NPCS lines for Chip Select (Slave Select). But i can't find a report which ...
0
votes
1answer
41 views

DDS with AD9833 and Microcontroller

I'm working on a two channel DDS function generator for a project. I have done some research and I want to use the AD9833 IC controlled with a Microcontroller, an Atmel chip if possible since I have ...
1
vote
2answers
65 views

How do I program an Atmel SAM in the field?

We have designed some Atmel SAM based boards that we want to make upgradable in the field. We do not have a bootloader yet (planned in the near future) but we need to make sure they are ...
5
votes
1answer
67 views

Why do some microcontrollers have such huge synchronization delays?

On the Atmel SAM-D21 series microcontrollers, many peripherals use a clock which is asynchronous to the main CPU clock, and accesses to these peripherals must go through synchronization logic; on ...
0
votes
0answers
21 views

Read voltage is outside of operating range

I wanted to program my AtXMega16A4U with an Atmel ICE Basic, using Atmel Studio, but even if the supply voltage on the µC is at the perfect range (3.3 V) I get the error "Read voltage is outside of ...
0
votes
2answers
94 views

How to safely power on evaluation board?

I just got an Atmel XMEGA-A1 Xplained evaluation board and I'm trying to get started, but the documentation is a bit confusing to me. Page 6 Section 4 has this warning. Do not power the board ...
0
votes
0answers
20 views

IAR IDE for Atmel transceiver

I have an STM32F407 discovery board and intend to use IAR EWARM as the IDE for programming the Discovery board. I would like to know whether using the Atmel's AT86RF233 with the Discovery board would ...
1
vote
1answer
89 views

ATTiny 841 PWM at 450kHz

I have managed to output 500kHz PWM at 50% duty cycle on PA2 TOCC1 of ATTiny841. ...
0
votes
1answer
25 views

ATtiny861A: ADC reference voltage should be 1 Volt under AVcc?

I just faced with that ATtiny861A datasheet forcing me to use analog reference voltage to be at least 1 Volt under analog supply voltage: Let me doubt this datasheet statement for two reasons: ...
1
vote
3answers
109 views

Breaking a 16-bit long int to write into eeprom?

I am writing data to eeprom AT24C16 using PIC microcontroller pic18f4520. Every address of this eeprom can hold 8-bits while I am using long int's to store data that are 16-bit in size. How to break ...
-1
votes
1answer
151 views

Using GPIO pins as software I2C pins and finding analog value of those pins

I am using AT32UC3C microcontroller which has 64 pins. I am using gpio pin PB01 as SCK and gpio pin PA04 as SDA and ticking then manually high and low. These pins are configured as GPIO_OPEN_DRAIN and ...
0
votes
0answers
23 views

Unable to access clock while interfacing AT32UC3C2512C with Flash Atmel Studio

I'm trying to interface the controller (AT32UC3C2512C) with flash using SPI protocol. The IDE that I'm using was Atmel Studio. I have written a simple code in which I'm trying to read the manufacturer ...
0
votes
2answers
128 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 ...
0
votes
3answers
245 views

AVR/Arduino: Output 2 pwm waveforms with 90 degree phase shift

So far, I was able to get two outputs at the correct resolution (35kHz-75kHz at a resolution no worse than 0.7 kHz) using the code below. I'm wondering, now, how I can get a phase shift between the ...
0
votes
3answers
93 views

ATMEL AVR ATmega168P 8 mhz

Hello I will use this circuit to put lights in a model car: Now the question is if you can see is required one ATMEL AVR ATmega168P with CPU clock frequency to 8 mhz and I can´t find in any place ...
0
votes
1answer
40 views

Why would my ATSAM4E not reset even if I power cycle?

I am using an Atmel SAM4E_EK board with SAM4E16E microcontroller. Recently the board started with the following quirk: When I upload a program using Atmel-ICE over SWD, the chip resets and runs my ...
0
votes
2answers
196 views

Why does my DIY Barebones Arduino Due with SAM3x8E overheat on RESET press?

I made my own diy "bare bones" Arduino Due in an embedded application. Basically I was making a portable Bluetooth headphone amplifier for a school project. The point of the MCU was to display battery ...
1
vote
1answer
317 views

Software Serial alternative with AVR (Two Serial/UART ports in atmega328p)

Arduino pins can be used as UART using the library SoftwareSerial.h Is there any alternative ...
-1
votes
1answer
100 views

Xmega128C3 TWI read error

I'm interfaceing an Xmega128C3 with MMA8451Q acceleration sensor via i2c. I was able to initialize the accelerometer, I checked every transmission on oscilloscope, it was done properly. The problem ...
0
votes
0answers
28 views

Adding Atmel QTouch to an existing project for an AVR that isn't supoprted by Qtouch Composer

The QTouch Library supports many devices http://www.atmel.com/Images/QTouch_Library_Selection_Guide.xls QTouch Composer, part of Atmel Studio, however, supports only a small subset of those. I've ...
0
votes
2answers
110 views

74HCT244 UART level translator, how would the circuit look?

I am building a UART 3.3V to 5V Level translator between a Raspberry Pi and a ATMega328. The 74HCT244 is my choice of translator but I can't find a good example of of hooking it up. Am I right that ...
0
votes
2answers
75 views

AtTiny45 read lag?

I have set up 2 AtTiny45 setup like this (The left one is also connected to power): from which one (the left one) is generating a signal which is (when measured) looking like this: The second one ...
1
vote
1answer
54 views

UART: two transmitters, single slave

simulate this circuit – Schematic created using CircuitLab My circuit is shown above - where I have the TXD pin of an ATMEGA connected to the RXD pin of a BT slave. Both devices operate ...
0
votes
1answer
65 views

What is the real ADC Sample rate for Xmega256A3BU or similar xmega controllers

Based on the datasheet of XMEGA controllers, it has sample rate up to 2Msps (2MHz sampling speed). But it is also written that the conversion time for 12-bit need 3.5µs which gives ca. 300 KHz real ...
1
vote
1answer
191 views

ATMEL AT89S52 programmer help finding suitable software for flashing over LPT

I have this old ATMEL programmer and I'm hoping to start learning about micro controllers on a lower level before I move to Arduino. Unfortunately the floppy disk that came with it is lost, and the ...
0
votes
0answers
37 views

Is it practical to develop for Atmel Cortex-M0+ with gnuarmeclipse?

Is it practical to develop for Atmel's Cortex-M0+ microcontrollers using gnuarmeclipse and openocd instead of Atmel's IDE?
0
votes
0answers
29 views

Windows 8 does not recognize AT90USB647 and does not find drivers for it

Basically my problem is that Windows 8 does not recognize the microcontroller (AT90USB647) and cannot find drivers for it. As a result, I cannot burn a hex file into the microcontroller (using Flip). ...
0
votes
0answers
41 views

What is the purpose of the statistics register present in the EMAC of the DMA in ATMELSAM3x8e controller?

At present, I am working on interfacing the EMAC module with my SAM3x - Taiji Uino board for high speed communication. When I was scanning through the internal structure of the EMAC,I came across this ...
0
votes
1answer
150 views

How to configure the SPI pins(MOSI,MISO,sclk and SS) for ATMEL ATSAM3X8E?

I am using ATMEL studio 6 for programming and novice in embedded systems.At present, I have read the theory working of SPI. I understand that I have to set particular bits to one in the control ...
0
votes
0answers
48 views

Programming multiple ATmega32U4 devices at once without USB

I have a bunch of Atmel controllers which are identical and run the same program. While developing i need to mass program all controllers somehow. The only way they are connected is via I2C. And ...
0
votes
1answer
59 views

5V I/O Chip Which Works Like An Atmel µC Port? [closed]

I'm working on a project with a 5V vintage 8-bit microprocessor, which I would like to hook some I/O to. I'd like to find a nice little package that could help me with this. I'm happy if it is a ...
0
votes
2answers
88 views

Shut down Atmel µCs

I was wondering if it is possible to shut an atmel microcontroller down with a software command? I want to shut my controller down either via a remote command via USART or if an internal error happens ...
0
votes
1answer
78 views

Programming an Atxmega for using UART

I started to write a program for an ATXMega. This program should read a command via USART, and then execute this command (i.e. either sending data via SPI or sending data back via USART). But the µC ...
0
votes
0answers
48 views

BMA150 acceleration sensor for SAMD20 SPI connection

I'm trying to get BMA150 acceleration sensor working with my user board which has SAMD20J16 connected to the correct pins. (I'm sure, I've quadruple-checked) I've been stuck for several days trying ...
1
vote
1answer
152 views

Atmel printf formatting doesn't work, no formatting does work

We are running an Atmel AVR32 chip on our board, and recently discovered that printf with format/conversion specifiers doesn't work. A regular ...
1
vote
1answer
68 views

How to use the simulation in atmel-studio properly?

I wanted to start a bit µC development with the Atmel Studio 6.2, and therefore my first step was to compile a small program for simply switching a pin from HIGH to LOW and back all the time. I took ...
0
votes
1answer
82 views

Atmega32 LCD program not working

i have recently been into atmega world after i heard it is much better than pic and it is my second tutorial about writing to LCD i wrote this program in atmel studio but it doesnt work i double ...
0
votes
1answer
43 views

ATSAM functionality

I checked the datasheets and the overview pages on Atmel's site for these ARM cores, and I think they are amazing. Especially looking at the ATSAMA5D41, this would go well with a project I am working ...
-4
votes
1answer
138 views

How to program enc28j60??

I read enc28j60 is unprogrammable directly from the computer but it has registers that I can program so how can I excactly do this.. is it programmed from the mcu connected to it through spi or is ...
1
vote
2answers
117 views

Use or remove reset capacitor?

I am currently connecting an AVR ATXmega 16A4U in my circuit. According to AVR (http://www.atmel.com/Images/doc8278.pdf, p6) the external reset circuit should look like simulate this circuit ...
0
votes
1answer
45 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
76 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
78 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
57 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
87 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
205 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
98 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
102 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
111 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 ...