Stack Exchange Network

Stack Exchange network consists of 175 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
19 views

Atmel debugger: erase bootloader?

I have an ARM-M0+ (SAMD21G18). I have a project that has a bootloader and another with application. When I try to go to debugging I suspect the following: the ROM is erased application flashed ...
0
votes
0answers
37 views

ATTiny84 is not working and freezes [closed]

I have uploaded the program for several ATTiny84, some of them working perfectly and the rest are not sending any signals. I checked the Fuse sitting, it is right because I compared with the other ...
0
votes
0answers
19 views

Proteus Atmel EEPROM Simulation

Can somebody confirm me if Labcenter Proteus can simulate the EEPROM registers for the Arduino Atmel megaAVR ATmega328P, for the standard instructions EEPROM.put ...
0
votes
0answers
30 views

Custom Arduino Due Random Lock up [migrated]

I have built my own Arduino Due Circuit board. I am having issues with it randomly locking up. I have researched the libraries and have ruled out any issues with them such as the Wire library. I am ...
0
votes
1answer
21 views

Atmel SAM C21 stuck in Reset_Handler

I was trying to implement the watchdog functionality using ASF in an SAMC21 xplained pro and after flashing the code the device started behaving oddly. If I try to run any code it looks like it is not ...
0
votes
2answers
25 views

Which pins should i use to connect watch crystal for powering Low Frequency Crystal Oscillator in ATmega328p?

If i want use a watch crystal(32KHz) with Low Frequency Crystal Oscillator of ATmega328p,Which pin should i connect the crystal to? Should i connect the crystal to XTAL1,XTAL2 pins of ATmega328p or ...
0
votes
1answer
25 views

Is 128KHz oscillator in ATmega same as Watch Dog Oscillator?

Where is the 128KHz oscillator located in ATmega328p? I am unable to find it on the ATmel data sheet ,Is it same as watch dog timer Oscillator? I am attaching the clock section from the ATmel ...
0
votes
0answers
47 views

SD card reader using SPI with Atmel SAM G55J

I have a custom board using an Atmel SAM G55J (ATSAMG55J19A-AU) and I'm trying to get the SD card reader to work - which is connected to SPI0. I'm using the SD/MMC ...
3
votes
1answer
53 views

Atmega168 USART RX Interrupt does not trigger

I have been trying to get the USART RX interrupt trigger working on my ATmega168A using the tutorial here (updating my registers as per the datasheet): Tutorials I have setup the system to use a ...
0
votes
0answers
44 views

I have tried serial communication code.İt is working in arduino ide but it doesn't working in atmel studio

I have found code of serial communication for attiny84.https://electronut.in/serial-communications-with-the-attiny84/ If I compile this code in Arduino Ide then this code is running.I see hello world ...
0
votes
1answer
58 views

Avrisp mkii not recognizing atmega 328p chips

I have three different sets of chips, the attiny85, 328p, 328p-au. Initially, the avrisp mkii, was programming the atmega328p, however now it is not recognizing this chip (i.e. 328p) or the 328p-au. ...
1
vote
1answer
68 views

SAM Timer counter / atmel ASF

I'm trying to implement function call after having timeroverflow or comparison of counter registers. Chip: SAM4E ...
1
vote
0answers
55 views

USB CDC device send response of first for second data

I'm working using atmel studio 7.0, the code which i'm using is USB Communication Device Class (CDC) for ATSAMD21. My application is to read the command from the host to the device and perform the ...
2
votes
1answer
93 views

ATSAMR21 sleep high current draw

I have an ATSAMR21B18-MZ210PA, which is an ATSAMR21E18 packaged with MX25L2006E flash. The SAMR21 is itself a SAMD21 paired with an AT86RF233 wireless module. So that's a SAMD21 + low power wireless + ...
0
votes
1answer
71 views

difference between CMSIS and ASF

im trying to make c++ project using atmel asf. the compiler have: ...
0
votes
2answers
132 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
439 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
40 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
23 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
vote
1answer
47 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
35 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
68 views

ATmega328p PIN reading

...
0
votes
1answer
45 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
50 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 ...
4
votes
6answers
793 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
55 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
84 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
1k 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
242 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
114 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
50 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
87 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
70 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 ...
2
votes
2answers
2k 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
84 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
422 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
70 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
57 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
79 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
47 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
182 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
63 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
84 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'...
-1
votes
2answers
73 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
47 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
88 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
133 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
317 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
67 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
2answers
137 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. ...