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
99 views

Software needed for ATMEL ATMEGA8A-PU microcontroller in Ubuntu 18.04? [duplicate]

A few days ago I discovered a ATMEL ATMEGA8A-PU microcontroller and I wanted to write code on it . But I don't know what software to use in Ubuntu 18.04 for the microcontroller. Can I use the Arduino ...
2
votes
1answer
428 views

What's missing in this development board? [closed]

I came across an old development board with an ATMEL ATMEGA8A-PU . I am not an expert but I want to use this board. But something is missing in this board as seen in this photo:
0
votes
0answers
20 views

Problem with using Timer Counter interrupt on Atmel ARM

I'm using an ATSAM4E16C microcontroller and i need to get a 1 millisecond tick. I want to implement this using the timer counter module to trigger an interrupt. The clock frequency is 96 MHz, so using ...
0
votes
0answers
15 views

Nucleo F446RE - No SPI response while transmit is working as intended

I'm trying to read some registers of an Atmel AT86RF233 transceiver via SPI with a Nucleo F446RE development board. As stated on the title, whenever I send anything through MOSI, the transceiver doesn'...
-1
votes
0answers
38 views

SAM4S Xplained Pro - Is there a way to restart USART clock to have no drift?

I'm working with the SAM4S Xplained Pro board (target is SAM4SD32C). In my project, Tx send each 3 ms few bytes to Rx through a USART, with a baudrate of 19200 sym/s. I also programmed a Timeout ...
1
vote
1answer
41 views

Optoisolator Not Switching

I’m working on a university project that involves switching a relay using an ILD213T optoisolator. The optoisolator is driven directly by an ATmega328p. I had calculated the required current limiting ...
0
votes
1answer
24 views

ADC startup time in AT91SAM7 - what is it?

I'm working with ADC in AT91SAM7S micro-controller. Apart from parameters like ADC clock frequency prescaler and 'sample and hold time' (that I'm familiar with), there is a parameter called 'Startup ...
1
vote
1answer
63 views

ATmega328p PIN reading

...
0
votes
1answer
41 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
44 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 ...
0
votes
0answers
22 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
727 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 ...
0
votes
1answer
41 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
60 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
964 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
123 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
67 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
33 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
80 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
57 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
449 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
278 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, ...
1
vote
1answer
63 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
51 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
75 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
44 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
126 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
44 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
79 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
25 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
71 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
46 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
83 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
96 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
234 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
56 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
197 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
124 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
211 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
74 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
91 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
105 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
817 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
37 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
344 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
53 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
490 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
214 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 ...