Questions tagged [atmel]

DO NOT USE THIS TAG. Instead use the relevant product tag, such as AVR, SAM etc tags. Besides, Atmel merged into Microchip in 2016, so still referring to your parts as "Atmel" is not very meaningful. Atmel Corporation (Nasdaq: ATML) was a leader in the design and manufacture of microcontrollers, capacitive touch solutions, advanced logic, mixed-signal, nonvolatile memory and radio frequency (RF) components.

DO NOT USE THIS TAG. Instead use the relevant product tag, such as AVR, SAM etc tags. Besides, Atmel merged into Microchip in 2016, so still referring to your parts as "Atmel" is not very meaningful.

Atmel Corporation (Nasdaq: ATML) was a leader in the design and manufacture of microcontrollers, capacitive touch solutions, advanced logic, mixed-signal, nonvolatile memory and radio frequency (RF) components. Atmel was acquired by Microchip Technology Inc. (Nasdaq: MCHP) in 2016.

621 questions
1
vote
1 answer

Atmel Studio: Make project device serial-number agnostic

My colleagues and I are using AtmelStudio v7.0.1645 to develop software for the Atmel SAM V71 Xplained Ultra (ATSAMV71Q21). We have a shared repository for code. We have several of these boards and as a result we run into an issue when programming…
1
vote
1 answer

Configuring RTC in Atmel SAM L21 Xplained Pro with ULPOSC32K - frequency error

I'm trying to configure the RTC in count mode in the SAM L21 Xplained Pro B with the ultra low power clock OSCULP32K, usign ASF. In order to test it, I followed the Quick start RTC count polled example, which toggles LED0 every 2000 ms by comparing…
Alvaro Muro
  • 57
  • 2
  • 11
1
vote
2 answers

Ethernet PHY difficulties

I'm working on a design based on the Microchip(Atmel)SAM3X8C. The ethernet part of the design is pretty much copied from the ATSAM3S-EK2-ND board (which I don't have, but the drawings were the basis of the layout which was made). I have been in…
Steven Burck
  • 67
  • 1
  • 6
1
vote
2 answers

State machine program design in FreeRTOS - vTaskStartScheduler in a switch statement

I have a program design question in FreeRTOS: I have a state machine with 4 states, and 6 tasks. In each state, different tasks must be executed, excepting Task1, which is always active: State 1: Task1, Task2, Task3 State 2: Task1, Task2, Task3,…
1
vote
2 answers

Atmel Email Verification URL is broken

Does someone have in email history the Atmel URL base path for Email-Address verification? They send me a broken URL, just the part after "?". So I can not complete registration nor download plugins for Atmel Studio. Thanks!
Andreas
  • 523
  • 5
  • 15
1
vote
0 answers

Uno R3 wouldn't enter DFU mode

I recently bought an uno r3 from sintron. The board features an Atmel Mega16u2 serial interface but when I plug it to the usb port of my laptop, it's not listed as an usb device in the device manager. The L-LED is blinking with ~1Hz (maybe the…
1
vote
1 answer

What is the USART digital logic in AVR microcontrollers?

Just reading about USART connection in AVR microcontrollers and i faced this question: What is the digital logic used in USART(RXC, TXC and other internals) of the AVR microcontrollers? I've found the answer to this question in the datasheet of…
hexpheus
  • 741
  • 10
  • 22
1
vote
2 answers

AVR UART - FE, DOR, RXB8 bit buffering

I was reading the datasheet for the Atmel ATmega16 microcontroller and i came to this phrase in the USART section: The two Buffer Registers operate as a circular FIFO buffer. Therefore the UDR must only be read once for each incoming data! More …
hexpheus
  • 741
  • 10
  • 22
1
vote
1 answer

C++ access member of a struct inside a union

I'm trying to write a C++ program for an Atmel Microcontroller. I need to use some of the functions that were already written in the ASF library, and I'm doing this by copying some of the code into C++ functions. I get this error on compilation:…
user3808318
  • 827
  • 1
  • 8
  • 15
1
vote
1 answer

Atmel SAME70 USART Receive Timeout not triggered

Can anyone help me get the Atmel ATSAME70 ARM M7 USART receive timeout to work? My USART is sending and receiving correctly, at 115200 baud. I'm using the ASF library, and set the Rx Timeout as follows: #define TBUS_RX_TIMEOUT_MS…
David
  • 41
  • 6
1
vote
3 answers

ATMEL Studio adding own library

I tried to add my USART library to my project but I am still failing to properly add it so it will be recognized. I created an USART.c and USART.h file, which I want to add. This is what I tried: 1) Right Click on the Solution / Properties /…
sesc360
  • 3,155
  • 10
  • 44
  • 86
1
vote
0 answers

Wrong Execution of Timer 0 isr in ATMEGA128L

I have a development board of atmega128L. I have configured its timer1 in CTC mode and Timer 0 in overflow mode with the interrupts of both the timers enabled. My CPU clock frequency is 8Mhz. I am using two counter variables for both the timers…
Prasanna
  • 47
  • 2
1
vote
3 answers

SPI on atmega328 not working

We're trying to use SPI to communicate with another IC using an atmel atmega328 MCU. The target IC takes a command (the header in the code) and then feeds us back the information stored in the requested register (or writes to it if the command is a…
Sebastian
  • 11
  • 1
  • 6
1
vote
3 answers

How to do analogRead() in AVR assembly language?

If I need to be specific: I'm asking about ATmega328P chip. The analog pins are under PortC on this chip. I have learnt that digitalWrite can be done using out, and digitalRead using in. But how can I do analogRead ?? Please explain. I'm new to…
AneesAhmed777
  • 2,475
  • 2
  • 13
  • 18
1
vote
1 answer

Android BLE Reading characrteristics

I am currently working on an Android App to read the temperature from a remote device. At the remote device I have a server which is running a device Information Service and a Health Thermometer service. My Android App can scan through and detect…
Embed_Programmer
  • 35
  • 1
  • 1
  • 7