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

1
vote
0answers
12 views

Poblems with flashing samd21 xplained pro board

I'm trying to flash the samd21j18a microchip from Linux but I'am unable to do so. I've compiled toggle Led example from Atmel Framework. I tried to flash it using bossac tool and I received the ...
0
votes
1answer
30 views

Atmel UC3A0512 microcontroller documentation

I started using this microcontroller but I am dealing with the lack of documentation. First of all this is the datasheet. It describes registers and their usage but not a workflow. Which one to set ...
0
votes
2answers
83 views

Design Consideration: Cortex M0 vs Cortex M4 for IoT Applications [closed]

I'm designing an IoT Device with many sensors which are going to be integrated using serial interfaces like UART, SPI, I2C and so on. For communication capabilities, I plan to use Wi-Fi (IEEE 802.11). ...
1
vote
0answers
39 views

Atmel SAM MCU (on Arduino Due) only boots after second power up

I am using an Arduino Due as a prototyping board for a microcontroller project. The due has the chip Atmel ATSAM3X8E, with an ARM Cortex-M3 core. I am programming the flash directly using Atmel Studio ...
0
votes
1answer
75 views

Analog pinouts of the ATTiny85?

I'm looking to buy a ATTiny85 for a school project. We require 4 analog inputs for our LEDs which we're using as makeshift light sensors (this part of the project is sorted). I've read the the pin ...
2
votes
2answers
67 views

Open collector with Atmega48

After looking at this, I think I already know the answer, but I just wanted some clarification. Open collector microcontroller output I have a part that is going to drive my mosfet at 15V. I have ...
0
votes
1answer
60 views

Programming Atmel SAM MCU using SAM-BA

I'm completely new to Atmel ARM microcontrollers and beyond a single class a couple of years ago and some arduino tinkering, new to "proper" mcu's in general. So therefore I am having trouble with ...
0
votes
0answers
26 views

Issues programming Atmel ATmega256rfr2 using JTAGICE3

I've built a custom board using ATmega256rfr2 and I use Atmel JTAGICE3. I use Atmel Studio 6.2 IDE. Lately I've been having issues programming my board using JTAGICE3. I get the following errors. Each ...
0
votes
0answers
84 views

Unable to implement TWI with Atmega8

My goal is to interface an IC AT24C16 with Atmega8 through TWI. I tried every solution possible from online forums but I see no meaningful signal in the oscilloscope. This is my code. Can some one ...
0
votes
4answers
41 views

ATmega48 maximum AREF voltage

The application that I want to use it for is 5V. However it could potentially have a future iteration where the reference voltage could be as high as 15V. The plan is to run the ATmega48 at 3.3V. I ...
0
votes
0answers
29 views

Atmel SAM D10 i2c slave unknown error

I have stumbled across a problem when trying to get a SAM D10 to communicate with a nordic nrf51422 with the nrf as an i2c master, D10 as slave. The nrf has proven working i2c code, even if it is bit ...
0
votes
0answers
31 views

Using IC Test Clip to do In Circuit Programming/Debug

I was thinking of using a Test Clip like this: Digikey: 3M Test Clip to do in circuit debug/programming of an Atmel SAMD9 because I'm really trying to reduce board space, and for a production run I ...
1
vote
0answers
36 views

Flashing MCU using JTAG ICE 3 / Avrdude / Beagle Bone Black

I am in need of flashing ATmega1284P using Beagle Bone Black. I have JTAG ICE 3 connected via USB cable to Beagle Bone Black with Debian GNU/Linux 7 (wheezy). I have compiled version of Avrdude 6.1 ...
0
votes
0answers
44 views

ATMEGA128A programming problems

It's my first experience with Atmega programming. I supplied my board from computer's USB, placed 500nf(1uf-1uf) capacitor between GND and Vcc, and 4.7kom pull-up resistor to Reset. But whenever I try ...
0
votes
1answer
37 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
1answer
98 views

automatic plant watering system using microcontroller

I am trying to build an automatic plant watering system using ATmega16. We are using moisture sensor YL69 for our project. The following is the image of the moisture sensor we have used. The ...
0
votes
1answer
56 views

Atmel AVR - Integrated programmer onboard

I'm pretty new in microcontroller programming. But i wounder, I'm designing a circuit with Atmel ATUC256L3U, the cicuit is going to be used to home automation. The microcontroller is going to be ...
0
votes
1answer
79 views

How to generate 1Hz to 40Hz Waveform by ATMEGA32U4 (Arduino Board)

I am using ATMEGA32U4 (Arduino board ). I am facing problem with TIMER. I want to generate 1 Hz to 40 Hz signal in two pins and change PWM signal with certain period of time. Example: ...
0
votes
0answers
31 views

External interrupt channel on Atmel SAM D

I try to configure some external interrupt that fires when there's high level on a pin. I've read the Atmel application note for the EXTINT driver, but I still don't get, what interrupt channel I ...
1
vote
1answer
60 views

Port I2C code from Arduino to Sercom

I'm having a MPU-6050 (gyro / accelerometer), it's connected to Arduino over I2C (via Wiring.h) and everything works well. Now I'm trying to port this code to an Atmel SAMD20 (Cortex M0+), which is ...
-1
votes
1answer
52 views

Install Contiki OS in Microcontroller

I am just starting my IoT project. I want to implement a recent low-power wireless standards (6lowpan, RPL and CoAP) in my project. I found a radio from Microchip (MRF24j40) that support IEEE ...
0
votes
0answers
25 views

Atmel SAMD21 DMA Abort issue

Due to some design requirement, I need to change DMA descriptor at runtime. To achieve this, I am following below steps: 1.Abort DMA channel. DMA hardware will then save currently executing ...
2
votes
0answers
45 views

Atmel Studio: redefine weak function

I want to write my own implementation of SERCOM3_Handler. I put its definition in my main.c, try to compile it and get "multiple definition of SERCOM3_Handler" error. Why is this happening? The ...
1
vote
0answers
115 views

Atmel studio 7 - Problem in building code

I am new to Atmel Studio AVR programming. So, i tried a very simple code and build it. For some reason, it shows an error something in concern with the make file. The error is as follows: ...
1
vote
1answer
90 views

Sharing ARM SWD pins with normal pin function (on Atmel SAM D09 D10 D11)

The Atmel SAM D09 (an ARM Cortex M0+ MCU) can enable normal pin functions on the pins that are normally used for programming (SWD). But in doing so I presume that debugging will become impossible ...
1
vote
1answer
40 views

Grounding of a PCB that communicates with a PC via USB or RS232

I have a PCB with an atmega8, communicating with a PC. The signal from TX and RX pins is level-shifted through a MAX232 to standard serial port level, then converted via serial-to-USB commercial ...
0
votes
1answer
84 views

Atmel's SAM C21 not available? [closed]

I was looking for a nice MCU for my next project and stumbled over the Atmel SAM C21 (ATSAMC21E18A-AUT). Unfortunately it seems to be not available, although there is a C21 evaluation board on sale. ...
0
votes
0answers
41 views

Atmel SAM D20 I2C: packet collision error

I'm trying to connect Atmel SAM D20 to LTC3880 via I2C. I have following code: ...
0
votes
1answer
91 views

Recieve data via USART on Atmel SAMD20

I'm trying to recieve some data via USART on Atmel SAMD20. I use usart_read_wait() and usart_read_buffer_wait() but they return ...
-1
votes
1answer
48 views

How do I read digital input on atmega series and use it in such code?

if (pin1 of port c high) {preform a task considering that pin 5 and 6 are connected to an rtc via i2c and pin 0-3 is an input from lm35 (which I was able to write a code for) :p using atmega8 I've ...
0
votes
2answers
58 views

Atmel D20 garbage in USART output

I have an Atmel SAM D20J18 uC. I'm trying to print something via USART. The first few symbols are ok, but after 8-9th symbol there is garbage. However, if I run the code line-by-line in debug mode ...
2
votes
0answers
60 views

Atmel ARM Boot from MicroSD card

I studying the Atmel's ATSAME70Q19 Datasheet and i'm a little confused about boot operation mode from HSMCI. In Page 892, "38.11 HSMCI Boot Operation Mode" there's a reference which says: In ...
0
votes
1answer
266 views

How do I fetch data from the internet with a GSM module using GPRS? [closed]

Recently I have built a device using Quectel (GSM/GPRS module) interfaced with Atmel MCU. It will control another device using SMS received by that GSM module. Now I am trying to connect it to the ...
0
votes
2answers
82 views

Interfacing Atmel Processor with i2s codec

I would like to interface an ATSAMS70 with a CS42L51 but this is my first time doing so. The connection would be this: MCLK - PCK2 SCLK - TK LRCK - TF SDIN - TD SDOUT - RD The thing is about the ...
-2
votes
2answers
129 views

Which microcontroller pins should i use with this project?

I have some knowledge about Arduino, but it's my first time using solo microcontrollers and this sort of thing, i have no idea of what i should do in this case. I'm following a guide that users ...
-1
votes
2answers
60 views

ATSAM3N Cortex-M3 RAM Bit Banding

If i do not use Bit Banding feature on ATSAM3N, this region, it will used by the compiler for the program? Or it will stay unused? What if my program, randomly (by itself) should need to assign and ...
1
vote
0answers
23 views

AT91SAM7A3 not in kit list in Atmel Studio 6.2

I am trying to use Atmel Studio 6.2 and Atmel ICE to program AT91SAM7A3, but I could not find AT91SAM7A3 in the kit list of Atmel Studio 6.2. What should I do next if I want to load my code in ...
0
votes
2answers
99 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
93 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
99 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
102 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 ...
6
votes
1answer
107 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
1answer
48 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
102 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 ...
1
vote
1answer
208 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
39 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
294 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
222 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
34 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
321 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 ...