All Questions
126
questions
0
votes
0
answers
29
views
Problems with OCR1B on Atmega328p
Trying to control 4 servos (SG90) using 4 pots on an arduino nano and the one connected to OC1B keeps having problems, with bits of jittering and it just not moving correctly (occasionally spinning), ...
1
vote
1
answer
94
views
ATMega328p wakes immediately after sleep
I'm having issues with my current AVR-C project that runs on an ATMega328p. After issuing the sleep command the chip wakes up again immediately.
I want to wakeup with an external interrupt, but while ...
1
vote
2
answers
478
views
Assembly: AVR Studio alternatives for Linux [closed]
I had been using using AVR Studio on Windows to write assembly code for my MCUs (mainly for atmega8515) for a couple years. However, recently I transitioned to Linux and turns out there aren't any ...
2
votes
3
answers
707
views
AVR code - where is Z register pointing to?
I am disassembling AVR code from a bit of hardware. The processor is an Atmel-8.
On restart, after setting the stack pointer, the program calls a subroutine that starts with:
...
0
votes
0
answers
63
views
AT90USB1286 bricks after disabling clock divider
I have an AT90USB1286 which is connected to a 16MHz external crystal oscillator. It is my understanding that by default from the factory the CKDIV fuse is enabled which makes the chip run at an ...
0
votes
0
answers
52
views
AT90USB1286 as a potential storage device for a few kilobytes of data
I have a few trays of AT90USB1286 microcontrollers leftover from a previous project that I would like to make use of.
Is it possible to make this chip act as a block device when connected to a PC? I ...
0
votes
2
answers
362
views
Atmel Studio: Compiler error when adding external SRAM
I have board wired up to use ATMega1281's Eternal Memory Interface with a BSI, BS62LV4006STIP55, 512Kx8 SDRAM connected. I am trying to do something similar to this (ATMega128), except my memory is ...
2
votes
2
answers
364
views
ATmega32U4 without USB: how to handle usuned pins
On the ATmega32U4 MCU there are several pins related to USB:
VBUS
D+
D-
UCAP
UGND
UVCC
In the datasheet and in almost all reference schematics I find on the Internet, it's explained how to connect ...
2
votes
2
answers
137
views
Are there any ramifications of leaving an AVR in debugWIRE mode?
I have a product with an external connector with the intentions of using this for applying updates to an ATMEGA328P later on down the road. There are limited pins available, so I can't use SPI for ...
0
votes
1
answer
82
views
Where does ATXMEGA32E5 epad connects to?
About the ATXMEGA32E5-MUR (32-VFQFN Exposed Pad) Package:
I do not know where the Central PAD connects to, since the datasheet does not mention it.
So I guess it is NC (No connect)? And it does not ...
-1
votes
1
answer
127
views
Serial AVR programming and doubts
I currently have Attiny85 , attiny45 , atmega328 , 8051 MCU .
I want to program them in a chipless method ( which doesn't use any intermediate chips to burn program or bootloader ) - this is like a ...
0
votes
1
answer
537
views
AVR Atmel MCUs with 12bit ADC and ArduinoIDE support [closed]
I am searching for more powerful MCUs than the ATMEGA1284p that I am currently using, in particular I want to have better ADCs and switch from 10 to 12bit resolution. My constraints are the following:
...
0
votes
1
answer
186
views
Does a firmware (flash memory) in atmel mcus change on runtime (to store variables for example)?
EDIT: I am purposely trying to corrupt my ATxmega32E5 flash memory.
I am disabling my BOD level on my ATxmega32E5 and checking how it affects my MCU by switching the power on the mcu on and off with a ...
0
votes
0
answers
94
views
EEPROM chip always toggling bit when reading
I have a parallel EEPROM, the AT29C020 (doc: http://pdf.datasheetcatalog.com/datasheet/atmel/DOC0291.PDF)
In order to read it I'm using an ATMega8535 as it has enough pins.
At first I thought reading ...
0
votes
0
answers
212
views
Atmega16U4 (Hardware USB) does not show up as DFU device on device manager
I am trying to get the Atmega16U4 to show up in windows device manager. Right now, when I connect the atmega16U4 through USB to the computer it does not do anything (does not even play the USB ...