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
1answer
80 views

How can I fix Atmel Studio 7 install which is stuck on “initializing environment”? [on hold]

Atmel Studio 7 Install Is Stuck I'm attempting to install Atmel Studio 7. I've tried both the online install and the download then install option and the installer becomes stuck (shown in the image)....
0
votes
0answers
26 views

Problem when programming Atmel ATmega16U4 using USB

I'm having a problem when I'm programming the ATmega16U4 through USB port. I designed the PCB, but I will assume the hardware connections are good. It is because when I connect the chip to the ...
0
votes
0answers
19 views

Atmel ICE SAM connector pinout does not reflect the real pinout

Maybe I am just too slow, but I can't understand exactly how do you connect an ATMEL-ICE (6 pin connector, not the 10 pin) to a chip. I am using a SAMD21G (http://www.atmel.com/Images/Atmel-42181-SAM-...
0
votes
1answer
78 views

Power consumption of Cortex-M7-based microcontrollers

I'm designing a USB-powered microcontroller board, and I'm considering choosing a Cortex-M7-based microcontroller for it (I want a double-precision FPU, along with other features M7 offers). Currently,...
0
votes
0answers
56 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
47 views

AT89S8253 and Keil ULINK2 debugger connection?

I'm trying to connect AT89S8253 with Keil ULINK2. But the documentation is nil about 8051 controllers. As per the web, the pin connection is this. ref: http://www2.keil.com/coresight/coresight-...
0
votes
0answers
30 views

Atmel SWD. Enabling normal GPIO function on the SWO pin

I'm trying to make a project using the ATSAM4LS2A microcontroller (Cortex M4), and i'm using the AtmelICE debugger. The thing is the pinout for the SWD mode also has, beside the SWCLK and SWDIO pins, ...
1
vote
3answers
146 views

Receive inaudible sound at ~20khz

I'm looking into receiving data to toggle a led. The data would have to come from a microphone that picks up sound at inaudible frequencies transmitted by standard speakers (TV, PC). I've looked at ...
2
votes
1answer
36 views

Howe to do a sam3x single channel ADC conversion

I have a Sam3x (Arduino Due hardware, but I don't use the Arduino IDE or libraries, and I don't use the Atmel libraries, just the register interface in sam.h). I have multiple pins configures as ADC ...
0
votes
0answers
31 views

Atmel ICE Debugger - Does it work with nRF52-DK

I bought the Full Kit Atmel ICE (2016) to allow me to debug AVR chips. The Atmel ICE debugger can program both AVR as well as SAM for ARM Cortex. I have an Nordic Semiconductors nRF52-DK board which ...
2
votes
2answers
97 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 ...
0
votes
1answer
61 views

Atmel SPI Serial EEPROM Writing Error - Page Write?

I'm using this EEPROM: Atmel AT25640B SPI EEPROM DATASHEET It seems pretty straight forward to operate and I've followed the datasheet closely when coding my driver. I seemed to have some success ...
0
votes
1answer
36 views

Flashing Hex File to AT89C51

I have a USB to Serial breakout which has CP2102 and MAX232 chips on it. I wrote a program in Keil and generated the Hex File. How do I flash this hex file onto the AT89C51 (which is also another ...
0
votes
1answer
48 views

Digispark Attiny85 dev-board - Program via USB or UART/serial converter?

How do I program those Chinese ATtiny85 Digispark clones? Are they programmable via USB or do I have to use a USB to serial converter to program them? For example, this unit.
0
votes
0answers
35 views

Facing Problem with ATMega 32A main circuit

Hello I am working with Micro controller ATMega 32A to show some value in 7 segment common anode display. The code is ok (checked with Simulation ). But in hardware implementation it's not working ...
0
votes
0answers
46 views

programming ateml sam d21 with mbed

As we know Atmel sam D series have "SERCOM" for (i2c , spi , usart). and we can configure SERCOM to be for any pins. what i mean we can configure and assign any GPIO for any SERCOM. Now i'm moving ...
1
vote
2answers
113 views

Atmels AtSAM3s gets a bit warm running a test code on my dev board. Is there a problem?

I have a dev board developed by myself. I was using At91SAM7S256 but now I'm migrating to it's successor ATSAM3S8B. The MCU on the dev board for SAM3S gets warm. I am searching for someone with ...
-1
votes
1answer
96 views

Heartrate measuring using capacitive touch sensor

I am new here, and I hope someone could help me. So I've read in the datasheet of the capacitive touch sensor ATMEL42QT1011 that we could use it as a heart rate sensor.But what I don't understand is ...
0
votes
0answers
20 views

Related TCn in ATmel SAMD20j18

i'm newbie in ARM based MCU.Ian working on Atmel ATSAMD20J18 mcu.I were reading TC (Timers and Counters) in datasheet of SAMD20J18. at Page 445 under the sub topic Prescaler Selection they have ...
0
votes
1answer
49 views

How to connect multiple ACM 7135 to one ATtiny? [closed]

One ACM 7135 provides 350mA. Nine can fully power Cree XM-L2 U3. But that's 10W. ACM7135 only have Vin, Vout and GND pins. People are using them with ATtiny (example), apparently without any other ...
2
votes
1answer
73 views

AVR PWM output delay before start

I'm using an ATtiny85 to generate a PWM output (using Timer0 in OCR mode), and this PWM output is being switched on and off at regular intervals. I am finding that when switching on the PWM output, ...
0
votes
2answers
79 views

Connect several RS-232 ports into one

I will have several devices with atmel microcontrollers which I'm going to connect to PC using RS-232. Is there any way to connect several devices into one RS-232 port? (Let's assume RS-232 can handle ...
3
votes
3answers
54 views

Finding maximum source impedance for A/D converter (SAM3X8E ARM Cortex-M3)

I would like to find out what is maximum recommended source impedance for A/D converter on Atmel SAM3X8E ARM Cortex-M3 microcontroller. I tried to follow the example of this excellent answer, which ...
1
vote
1answer
133 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
33 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
146 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). ...
0
votes
1answer
91 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
87 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
186 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
4answers
73 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
71 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 ...
1
vote
0answers
81 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
1answer
178 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
206 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
59 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
147 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: ...
1
vote
1answer
158 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
79 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 802.15....
2
votes
0answers
79 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 ...
0
votes
0answers
240 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
191 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
63 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 ...
1
vote
1answer
172 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
1answer
234 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
59 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
94 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
87 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
516 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
115 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
154 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 ...