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

Options for debugging MCU that is freezing/crashing (AVR32)

Im currently trying to figure out why it seems like a MCU is crashing/freezing. I can recreate the crash/freezing almost everytime by doing the same procedure, and i have been looking through the code ...
1
vote
1answer
36 views

SAMD09 Debug port connection issue

I have recently built a board using an ATSAMD09D14A-MUT, today it came the time to test it, however problems arose in a strangely annoying manner, when trying to connect to the device i get error 4109 ...
-1
votes
0answers
27 views

Using USART Registers in Atmel SAM

I am trying to use two USART devices simultaneously on an Atmel SAM3X8E chip. I'm using Atmel Studio 7.0 as well as a SAM-ICE JTAG debugger. The USART registers are in Handshake mode (using RTS and ...
0
votes
0answers
10 views

Deploying program from Atmel Studio or Avr dude to Atmel “XMEGA-A3BU Xplained”

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on the LED based for an assignment. ...
4
votes
6answers
707 views

Can an EEPROM be one-time-programmable?

I'm confused, and I hope you can help me figuring out, what I misunderstood. I am not an electronics engineer, so bear with me :) I have a chip, from the engine control unit of a Toyota Yaris Verso ...
-1
votes
0answers
33 views

calculating NDVI with the TSL2561 and what is spectral response?

I need to get the NDVI of a plant locally from specific reflectance on a micro controlled based context. The formula for the NDVI is: $$ NDVI = \frac{NIR-RED}{NIR+RED} $$ Where NIR is the near ...
0
votes
1answer
37 views

ATmega stopped working after changing CKDIV8 fuse

I have ATmega32U4. I connected it via SPI programmer and in Atmel Studio I have read their signature properly. It was working. Then I cleared and programmed CKDIV8 fuse. Clock was set to internal RC. ...
0
votes
2answers
50 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
944 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
95 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
56 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
30 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
74 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
54 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
170 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
66 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
216 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
57 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
49 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
74 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
105 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
39 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
70 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
24 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
69 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
43 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
80 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
83 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
1answer
197 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
53 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 ...
1
vote
0answers
166 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
120 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
167 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
70 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
89 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
649 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
34 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
284 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
76 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
51 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
423 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
2answers
183 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 ...
1
vote
3answers
2k 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
342 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 ...
1
vote
3answers
571 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
2answers
73 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
74 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 ...