Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
37 views

Atmega88p with shift register 74hc595

I need to use a shift register to control multiple leds, but I need to control each one individually. The idea would be to send a buffer with the data, however I need to have several active leds and ...
1
vote
3answers
926 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
1answer
70 views

Atmel Chip not recognized as USB device. How to troubleshoot

I've soldered the AT90USB1286 Chip on a PCB like on this circuit: Imgur If I measure the pins, caps, resistors etc. with a multimeter, everything seems to be powered and fine. Reset button pulls to ...
0
votes
1answer
41 views

AT90USB162 not detected in windows

I have an AT90USB162, have it set up like this: I'm trying to program the chip using Atmel FLIP, but I can't because it's not detected. What could be the problem and how can I fix it?
0
votes
1answer
24 views

QT1070 inconsistent readings on touch pins

I recently transitioned my projects capacitive touch IC from using the MPR121 to the QT1070. I am getting irregular/inconsistent readings on one of the touch pins. In this particular situation, it ...
0
votes
1answer
71 views

AVR programming

This question might be asked somewhere, if so all references would be appreciated. Hello, I have programmed Atmel chip Atmega32U4 through USB. It is possible because it supports USB programming. I ...
0
votes
1answer
50 views

I2C write to Amis 30624 motor from Atsame54p20a in Atmel Studio

I have been trying to write to the amis 30624 stepper motor (http://www.onsemi.com/pub/Collateral/AMIS-30624-D.PDF) using I2C protocol but for some reason its giving me Receive ...
1
vote
2answers
40 views

atmel studio for mac

Is Atmel Studio compatible with Mac or Linux? It seems like there is only Windows support from the downlaods here: http://www.microchip.com/mplab/avr-support/atmel-studio-7.
-2
votes
1answer
61 views

What command is sent from AVRDUDE to an AVR programmer for programming ATmega8

I have implemented an IoT ATMEL AVR Programmer based on protocol stk500, and I successfully connect with it wirelessly and program any ATMEL AVR Programmer through Arduino IDE, My Question is: I need ...
2
votes
2answers
127 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, ...
0
votes
1answer
56 views

What is the difference between these two attiny44a parts?

I bought two Chirp plant watering alarms and I noticed that the attiny44a used are marked differently: atmel1722 and atmel1619. What is the meaning of the numbers? I cannot find this information in ...
0
votes
2answers
47 views

How to view the output of this microcontroller/FPGA?

I am using a motor controller board from an Asian company. It has an Atmel AT91 and Cyclone II chips on it. While I have basic experience in using some microcontrollers (PIC, Arduino) and know the ...
0
votes
3answers
66 views

I2C/TWI in ATMEGA - where is voltage source?

While reading about I2C/TWI protocol, i recognized as important part the ability to pull the signal down by any member of the communication. Thus pull-up resistors being very important here. There ...
0
votes
0answers
42 views

Atmega48A PD6 no output

I am having troubles with outputting a digital high on PD6 on the Atmega48A. When ever I try to set it high, it will just stay low without doing anything. Even though the led will blink and other pins ...
0
votes
0answers
68 views

Atmel ice Connection Issue with “device signature”

I have recently got a atmel ice and am having trouble programming it. I have been trying to connect it a attiny2313-PU. I am confident that I have wired it up correctly. The problem is when I look for ...
0
votes
0answers
29 views

Data upload LED on SPI MOSI line

I'm attempting to make my own ISP programmer for an Atmega168-20PU. For the sake of learning I want to have an LED flash as bits are being flashed to the chip. If I use an SMD LED 0603 size, in series ...
2
votes
1answer
64 views

AT42QT2160 capacitive touch controller inverted Cs voltage - no touch detected

I'm trying to make my own development board for the AT42QT2160 Touch controller, since the original one was discontinued. I've designed the PCB with 8 buttons and a slider consisting of 8 sections. It'...
0
votes
0answers
22 views

Atmel QTouch Project Builder Doesn't have TWI QDebug Interface

I am working on a project, which uses Atmel SAMC20 Micro-controller, and I have Atmel SAMC21 Xplained Pro board, which I will use for Analysing the QTouch parameters. In my PCB board, I just have two ...
-1
votes
2answers
67 views

Problem With Power Supply of ATMEGA328P and USART Peripheral

I am learning Atmega328p USART peripheral. I wrote a simple code to send and receive data from a computer through a FTDI chip. In my code I actually use two led for indication of working. 1st LED ...
0
votes
0answers
42 views

Atmel AT90USBKEY2 delay wrong before dropping power

When I program my AT90USBKEY2 with dfu-programmer, the delays are wrong until I restart the board by unplugging it. ...
4
votes
1answer
78 views

When power is lost on an AVR chip (4313 and 8535) why does the mcu run slower?

I have an AVR circuit for which I have connected its clock-out pin some other circuits external clock and the other pins operate various other things. By using an oscilloscope, I have found that the ...
1
vote
1answer
60 views

How to enable abbreviated port names in Atmel Studio?

Good day! I have been working with Atmel Studio lately and am a bit confused about notation. Thus far, when I reference a pin, I usually just use the PORTxn notation (example: PORD0). However, I ...
3
votes
2answers
157 views

SPI clock - slow frequency but fast rise time issue with waveforms

Background on the issue: I currently have an SPI bus between an Atmel ATSAM3X8E and a Spansion FL164K flash memory chip. SPI has always been super reliable for me in past projects, but this design ...
1
vote
1answer
49 views

Barebone ATSAMD11D14 not responding

I wire up this schematic on my breadboard. I've verified that the 3V3 LDO is working. Atmel Studio on my Windows machine can see the Atmel ICE. The simple blink compiles fine too. However, I cannot ...
0
votes
0answers
119 views

Samd21g18a Bootloader upload with ST link V2

I was wondering if anyone had any success with uploading a bootloader with an ST Link V2 to a Samd21 chip using OpenOCD or any relevant IDE and was willing to send me in the right direction. I have ...
0
votes
0answers
41 views

Weird analog comparator behaviour on atmega2560

I am encountering a weird behaviour with my atmega2560' comparator. Here's simple source:my source: ...
1
vote
2answers
112 views

Estimating the frequency at which your microcontroller is running

I have recently started programming an ATtiny85 microcontroller, which as per the datasheet runs at 10Mhz given 3v3 supply. So, to experiment, I have created a small program, as shown below. ...
0
votes
1answer
125 views

What is Positive and Negative Mux input in ADC

I am trying to understand the use of Positive and Negative Mux input in ADC, I have recenlty bought Atsamd21-Xplained board from Atmel and trying to get multiple pins ADC using ASF4 and with Atmel ...
-1
votes
2answers
66 views

delay_ms() not working in Atmega 16A PU 1703

I am using a Atmega 16A PU 1703 to blink a LED. I am using CV AVR IDE to write and compile code into hex and using progisp to load the hex file onto the microcontroller. The problem is LED does not ...
0
votes
2answers
80 views

Powering 5V IC with 3.8V

I'm trying to power a ESP8266 and ATMega128 from a LiPo battery via the TP4056 charging module. I get 3.8V out of the charging module. According to the ATMega128 Datasheet it is possible to power the ...
-1
votes
4answers
101 views

How to sense the pull on a metal wire

I'm building a small interactive exhibition display for a museum. The showcased artifacts are protected against theft with a metal security recoiler like this: If a visitor picks up one of the ...
0
votes
4answers
482 views

How to lock ATMEGA328p-au to disable sketch read

How to lock ATMEGA328p-au to disable sketch read from Arduino IDE? Is there a hardware way too? What are the chances it can go wrong? What will happen if it goes wrong? Notice: I am a computer ...
0
votes
0answers
33 views

Atmel ICE causes Oscillation of VCC

I have a custom board that uses the ATSAMD21. I have a cortex header in order to program the chip using the Atmel ICE debugger (via SWD). The circuit receives a 3.3V power supply from a USB. I am ...
0
votes
2answers
202 views

First schematic - Critique my ATMEGA-328P design

I'm a software engineer looking to dabble in making electronics, and want to design my own board. I thought that an Arduino would be a good place to start, so I created this with an ATMEGA-328P. ...
0
votes
0answers
68 views

How to get HID over GATT working on IOS with Atmels SAMD21 Xplained and ATBTLC1000-ZR

I am looking for an example to get HID over GATT working on IOS with Atmels SAMD21 Xplained dev board and ATBTLC1000-ZR daughter board setup. I am successfully able to get it working with android ...
0
votes
0answers
49 views

QT600 Under Atmel Studio 7

Using the QT600 development kit under Studio 7 in order to develop a touch interface, I can not get the kit to show up when not in programmer mode. I've managed to write the example HEX onto the ...
1
vote
2answers
332 views

Is RTS/CTS needed for UART with FT232R USB-UART chip?

I am trying to use the FT232R chip in order to allow for Serial communication between a board based on the ATMEL SAMD21 chip and a PC. I need this in order to obtain input from the user, and display ...
1
vote
0answers
59 views

AT32UC3C GPIO Interrupt using INTC or EIC?

The AT32UC3C has Interrupt Controller (INTC) and External Interrupt Controller (EIC), and Figure 23-1 below suggests that GPIO interrupts are connected to the Interrupt Controller. However, to my ...
1
vote
2answers
172 views

AT32UC3C Negative ADC Input Voltage

The AT32UC3C ADC can be set up using either internal or external references as seen in Table 36-8. For any type of voltage reference used, the datasheet suggests that the ADC is capable of converting ...
0
votes
3answers
1k views

How to configure Atmel SAM D20 for internal 48MHz clock source?

I try to run a Atmel SAM D20 MCU at 48MHz using the internal oscillator (OCM8M) and the digital frequency locked loop (DFLL48M). All I achieve is a deadlock of the processor, even I use a simple "...
1
vote
1answer
300 views

Bootloader for the 8051 MCU

First things first,I am a total newbie to the 8051 MCU. I want to get started with 8051 MCU (At89s52). I've got the compiler and all (sdcc),now all I need is a bootloader.However I can't find one,Do I ...
0
votes
0answers
114 views

Programming and debugging a custom atmega328 board with atmel ice

I have designed a custom board with an Atmega328 chip on it. I have been programming the chip on an UNO and then moving it over to the custome board. I recently purchased an Atmel ICE. If if followed ...
0
votes
3answers
474 views

Do I need a crystal to for the Atmel SAM D20 MCU to Run at 48 MHz?

I am working on a very small device and would like to use the Atmel SAM D20 as MCU (this variant ATSAMD20E16). Reading the data sheet, there is only one point I do not find clearly spelled out: Do I ...
0
votes
0answers
41 views

Getting started with AVR programming: what does -ND mean? [duplicate]

I'm looking into buying some ATMEL chips to play with my arduino, but I can't seem to find what the -ND means. For example, I have the option of buying an ATTINY85-20PU-ND, or ATTINY85-20PU.
0
votes
2answers
72 views

Atmel UART - use interrupts or cyclic implementation?

I want to write a program that intercepts serial communication between two microprocessors. Therefore I chose the Atmega 162 featuring two UARTS. Now I want to decide if I write the code using ...
1
vote
2answers
65 views

AT90USBxxxx, LUFA driver for Mac OS x?

I need to design a project that it will conects to usb port, to send a digital output from the computer to other device. I need it work in windows and mac without complex host side driver or just ...
2
votes
0answers
39 views

Does ATMEL SAMA5 SPI rely on NSS for byte alignment when configured as slave?

I am using the Atmel SAMA5D2 SPI interface configured as slave to communicate with an external device that insists on being master. I'm uncertain of the role of the NSS signal in this case. In a ...
0
votes
1answer
90 views

USB problems with AT90USB646

I have tried implementing a design involving AT90usb646 about four times but in each case the board gets connected and immediately disconnects . lsusb outputs that an Atmel Corp device has been ...
5
votes
1answer
313 views

Internal RC clock on Atmega329 accuracy

I'm working on a project that uses a Atmega329 with a 2 digit lcd 7 segment display. It needs to keep track of days, using a small coin cell battery. I originally planned on using the on board clock,...
0
votes
2answers
215 views

USB C atmel chip interface

I am working on a project which requires the main usb interface to an atmel chip (32u4) to be USB-C. In this case If I only connected the traditional usb 2 pins (D+, D-, +V, GND) to the atmel usb ...