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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

Clone ATtiny13A flash memory using USB ASP programmer

I hope you are having a great day. May I kindly ask for a word of advice from the veterans in this field of Atmel micro-controllers? I am a novice getting into knowing things by hands on training ... ...
user avatar
0 votes
0 answers
31 views

How do I enable the divided clock output on an AT89LP51RC2?

When using External Clock Source A on an AT89LP51RC2, the datasheet says: XTAL2A may be left unconnected, used as general purpose I/O P4.7, or configured to output a divided version of the system ...
user avatar
1 vote
1 answer
40 views

When does a USART 'buffer ready' bit turn on?

I have an Atmel328P mini Xplained. The datasheet specifies UCSR0A (1 << UDRE0) as a 'buffer ready' signal. This reads 1 if the receive or transmit buffer is ...
user avatar
2 votes
2 answers
105 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 ...
user avatar
  • 875
2 votes
2 answers
58 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 ...
user avatar
  • 161
0 votes
0 answers
56 views

How do I flash a bootloader onto a Cortex-M0 with hobby-priced hardware?

I was working on a schematic based around the ATmega32U4, but those are on backorder until 2023!! I was looking for alternatives and saw that a lot of Adafruit's hobby kits have switched from AVR to ...
user avatar
1 vote
0 answers
28 views

I'm looking for the Windows-10 driver for the Atmel bootloader used in the Atmel UC3-A3 Xplained evaluation kit

I have a couple of Atmel boards called Atmel UC3-A3 Xplained evaluation kit, and am trying to use them in a project. I want to use the bootloader, which is apparently pre-installed on the AVR32 chip, ...
user avatar
  • 11
1 vote
0 answers
29 views

Is ATSAM4S4A supported by ATMEL ICE debugger?

I have a huge confusion on whether or not this MCU(ATSAM4s4AA-AU) is supported by the ATMEL ICE debugger. First, I checked the official website for ATSAM4S4A and when I got to the "Emulators and ...
user avatar
1 vote
1 answer
77 views

ATSAMD21E18A - Atmel ICE programming error

Recently I have designed my custom PCB board, which includes a SAMD21E18A. Unfortunately, I am having trouble with programming. I am enclosing the schematic (please ignore the quality of the schematic,...
user avatar
0 votes
0 answers
77 views

ATSAMD21 (arduino) is pulling ports low when calling wire.onRequest()

The intent: Using the controller and I2C for turning a port high and low and querying for data from an agent. The setup: Two Adafruit Itsybitsy M0 Express (ATSAMD21) connected via I2C, 4k7 pullups on ...
user avatar
  • 196
1 vote
0 answers
69 views

ATTiny406 | Unexpected PWM (Pulse Width Modulation) Output

We are experiencing strange PWM (analogWrite) behavior on pin PA3 of our ATTiny406 when our supply voltage exceeds ~11VDC. This pin is driving a MOSFET which controls the ground signal to the LED ...
user avatar
  • 29
1 vote
2 answers
68 views

SAM3x8e can't program over serial

UPDATE: Jan 2022. I put together a new pcb. This one has the JTAG header and I have an ATMEL-ICE. Otherwise the processor and support layout is mostly the same. I stripped the program down to simply ...
user avatar
0 votes
0 answers
122 views

Program for LED blink

I am newbie in programming the microcontroller. I would like to test the micro by blinking the LED in a pin. The micro is SAMR35J18B and I am using ATMEL ICE programmer and ATMEL studio software for ...
user avatar
1 vote
0 answers
68 views

How do I restart the program again when the MCU crash occurs.[microchip ATSAMG55J19 ]

I am designing a custom PCB based on the ATSAMG55J19 microcontroller. I am using the SWD interface with Atmel ICE. My MCU crashes and stops running code sometimes. Even if I modified the code and ...
user avatar
0 votes
0 answers
56 views

Any glaring mistakes in I2C touch & OLED PCB design?

Would greatly appreciate any expertise/suggestions on solving this problem! In particular have I done anything glaringly stupid when it comes to my PCB design?? I'm trying to get touch control ...
user avatar
1 vote
1 answer
47 views

How many timers can one utilize from ATSAM4s2A?

I am getting introduced to Atmel ARM MCUs and I have several dilemmas regarding their documentation. According to the official Farnell documentation of ATSAM4S2A. the MCU supports only three timers: ...
user avatar
0 votes
0 answers
317 views

How to get ATMEGA328P (28 pin) in Proteus?

I am newbie in Proteus, when I searched for Atmel ATMEGA328P, I found only 32 pin part available, when I used "component search engine" I found the 28 pin part but could not import it (I got ...
user avatar
0 votes
0 answers
88 views

How to program and then flash an ARM SAMD21 baremetal?

I want to make a simple program for a custom board with a SAMD21 core, without using any previously existing framework, like the arduino framework. The code to start with is just a simple main() with ...
user avatar
1 vote
1 answer
77 views

Atmel-ICE got burned. Need identification of IC marked: BYJ 42J P5D0

I managed to burn my ATMEL-ICE by connecting 24V to GND on my PCB, while the ICE was connected to it. Now, I found that this IC (P5D0) gets really hot as soon as I connect the USB to the ICE: But I ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
78 views

Debugging with ATMEL-ICE in Ubuntu using cutecom

I have an Atmel-ICE-C that I've been using successfully within Ubuntu 18 to program a custom board based on the attiny85 using the terminal and the necessary libraries. I can use a command like this ...
user avatar
  • 323
2 votes
1 answer
64 views

How are the new AVR8X processors supposed to be used within their safe operating area?

The new generation of ATmega and ATtiny (for example, the ATmega3208) now supports an internal 16/20 MHz oscillator. However, looking at the safe operating area and the provided BOD levels, I'm ...
user avatar
  • 2,484
-1 votes
1 answer
76 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 ...
user avatar
0 votes
0 answers
72 views

Programming ATMEGA1284p on internal 8MHz without caps

I'm trying to burn a bootloader on a standalone ATMEGA1284P without using caps or an external 16MHz crystal, just with a 100nF cap between GND and 3.3V VCC. I am using this bootloader from maniacbug. ...
user avatar
0 votes
1 answer
90 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: ...
user avatar
0 votes
0 answers
161 views

ATMEGA1284p and RFM95 sleep current around 35µA: can it be reduced further?

In my project, I am using an ATMEGA1284p processor in the TQFP-44_10.0x10.0x0.8P package as well as a RFM95 LoRa module. For the low-power mode, I'm using the rocket scream low-power library: https://...
user avatar
0 votes
2 answers
62 views

Confirmation on how to check microcontroller memory capacity with Atmel Studio

When compiling code in Atmel Studio, I get the following output showing the percentage of usage for the program and data memory: Does this output represent the total data usage in the microcontroller?...
user avatar
  • 547
0 votes
1 answer
97 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 ...
user avatar
0 votes
2 answers
183 views

Is there any flaws with this Attiny 85 schematic?

I was wondering if there is anything I am missing in this Attiny85 schematic. It will be first burned with the Arduino bootloader through the pins. I am making something similar to the DigiSpark ...
user avatar
0 votes
0 answers
37 views

Atmel SAM3X8E (cortex M3) MPU confusion

The SAM3X8E has a MPU, what I am confused about is how to combine both SRAM and FLASH into the same protected memory region since they live at different contiguous region addresses. Is this possible? ...
user avatar
1 vote
0 answers
71 views

Using Data Visualizer with Atmle-ice with SPI Physical interface

I am trying to output some debug strings from an AtMega328P to a terminal window on AtmelStudio using the DGI. I would like to use the 6-pin 100-mil connector of my Atmel-ICE Basic Kit, which I ...
user avatar
  • 157
0 votes
1 answer
31 views

SAMC21 FAT slow on samc21

I'm working on a samc21 and using the fat libraries provided in ASF. I have a program that takes from serial information and has to write to an SD card. The amount of bytes its around 50KB. I'm using ...
user avatar
0 votes
0 answers
67 views

ATmega168 TQFP vs. 28DIP - different behavior after programming

I have developed a program for ATmega168 using Atmel Studio 7.0 and Atmel-ICE as debugging interface. The development was done on a 28DIP package, since it's easy to work with it on a breadboard. ...
user avatar
  • 1
1 vote
1 answer
83 views

ATSAME70Q21 at 1.8V -- cannot program flash memory

A recent revision of a board based on the ATSAME70Q21 (a Cortex-M7) is exhibiting problems. The previous revision of the board had been working for quite a while. [EDIT] The exact part number as it ...
user avatar
  • 1,846
1 vote
0 answers
333 views

Problem SAMD21 : ASF4 USB CDC Echo example cdcdf_acm_write() doesn't allow to send data to usb port

I'm using the USB_CDC Echo Example for Atmel start, for ATSAMD21G18A. the code example runs Ok, but when I try to modify the code in order to send data "Hello World" in the infinity while ...
user avatar
  • 11
0 votes
1 answer
473 views

Ethernet Communication with Microcontroller

I am trying to make Ethernet communication with MCU. To make this happen, I need MCU(in this case AT89C2051), Ethernet Controller ( ENC28J60), and a RJ45. However the microcontroller that I selected ...
user avatar
2 votes
2 answers
577 views

Method to find out if Microcontroller IC is counterfeit

To practice my SMD soldering skills and to try out stuff (self taught hobbyist level) I purchased various ATMega uC chips from Aliexpress. I know you never know what you get that way (usually what you ...
user avatar
  • 37
0 votes
1 answer
202 views

External clock input for Atmel SAMD21

Is it possible to use a 32.768kHz square wave, such as the output from the DS3231 RTC, as an input for something like the SAMD21 microcontroller? I would rather not have to add a crystal to my design ...
user avatar
1 vote
1 answer
362 views

Considering trying Atmel SAM and have some questions

I've been designing boards with STM32 chips for the last couple of years and my curiosity keeps saying that I should try something in the Atmel SAM line of chips. Most of the time, when someone asks ...
user avatar
1 vote
2 answers
133 views

First SMD Design Comments / Input before Manufacture

Just designed my first "real" PCB that I plan to send out for manufacture in the next day or so. I've milled out a few on a 3018 CNC. I wanted to do this one that way as well, but realized ...
user avatar
1 vote
0 answers
90 views

What is this chip? Labeled "Atmel MC3G-04KI78-5"

I am unable to find any detail nor a datasheet about this component... Any idea? Cheers
user avatar
  • 11
0 votes
1 answer
149 views

ATMEGA328P development board

I'm planning to make an ATMEGA328P development board. I'm new to electronics. Schematic is shown in the image. Please let me know it is correct or not, and please let me know if any changes or ...
user avatar
1 vote
1 answer
206 views

Programming Arduino AVR MCU with Atmel ICE

I have a question about programming Arduino with Atmel ICE. I am aware that the Arduino UNO has a ISP connection for ISP programming. If i'm not mistaken I should be able to plug in the ICE and ...
user avatar
  • 87
0 votes
2 answers
118 views

Potentiometer or momentary switch, how to better recognise what was connected?

I have a working circuit and I'm looking for cues on how to improve it. I'm building a device with a user controlled small stepper motor. Speed of the motor can be controlled by a pedal connected via ...
user avatar
  • 1
0 votes
0 answers
52 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 ...
user avatar
0 votes
0 answers
81 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 ...
user avatar
0 votes
0 answers
95 views

Generating PWM at pin PD5 of ATmega328P

I am beginner to ATmega328P programming for PWM generation. I am trying to generate a PWM wave at PD5 pin the datasheet says PD5(OC0B/T1/PCINT21). When I generate the PWM with help of timer0 overflow ...
user avatar
1 vote
1 answer
56 views

ATtiny USB data interrupt

I'm trying to use an ATtiny88 to detect data on a USB line. I have an USB data connection going to a hub and a secondary system and I want to use the ATtiny to detect if any peripheral hardware has ...
user avatar
0 votes
0 answers
62 views

Mega2560 in circuit high voltage serial programming

Following my other question on a bricked Mega2560 I discovered that I probably locked-out myself with improper fuses values, and that high voltage programming could be the way to recover a working ...
user avatar
  • 101
0 votes
0 answers
88 views

Bricked Mega2560 - avrdude gets only zeroes

On a Creality CR-X 3D printer (mainboard based on Atmel Mega2560-16u), an upgrade of the firmware had first failed before end when uploaded by Cura slicer via USB. After the fail, the printer became ...
user avatar
  • 101

1
2 3 4 5
10