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
38 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
18 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
22 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
10 views

Initialization of Hitachi-based LCD, using AVRISPMKII, atmel32 micro controller

I am confused by the following, Osc frequency of atmega32, programming frequency of programmer AVRISPMKII and internal frequency of Hitachi LCD. I have used Hitachi Datasheet to determine duration of ...
0
votes
0answers
29 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
110 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
76 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
15 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
39 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
61 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
66 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
46 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
0answers
91 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
32 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
120 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
86 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
76 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
135 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
92 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
94 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
61 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
55 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
67 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
121 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
166 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
58 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
132 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
58 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
122 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
65 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 ...
2
votes
0answers
60 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
210 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
149 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
53 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
133 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
59 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
171 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
56 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
84 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
73 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
419 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
100 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
144 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
75 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
28 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
120 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
126 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
120 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
145 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 ...