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
0
votes
2 answers

Using Eclipse with AVRDude

I am trying to program my Arduino through Eclipse (because Eclipse is the easiest IDE for beginners), but apparently, when I go to update my programmer in Eclipse for AVRDude, it shows that the configuration file is not found. Additionally, it also…
Elias Wu
  • 71
  • 7
0
votes
1 answer

Explanation for Assembly

Could someone explain me what the following snippet of assembly code does? I'm not really sure what the last line really does. .def main = r16 .equ O = 5 .equ P = 6 ldi main, 0 ldi r16, (1<
DescX
  • 334
  • 1
  • 5
  • 19
-1
votes
2 answers

Would it be okay if I use an uint64_t type number in the millis function?

I am using attiny microcontroller and atmel studio. And I am using the millis function in my project. Code related to the millis function: And I am using this classic code: starttimex = millis(); endtimex = starttimex; while ((endtimex -…
-1
votes
3 answers

dereferencing pointer to incomplete type error using strcmp

I try to use strcmp. In Win32 C project all work, byt when I try compile this code in Eclipse Mars Atmel Avr Toolchain, then fail compile. compile error in use of strcmp: dereferencing pointer to incomplete type struct Command{ char*…
lgabryel
  • 109
  • 1
  • 9
-1
votes
1 answer

Write an assembly code that sorts the following numbers on the stack memory: 2, 34, 3, 12, 8

EDIT: Initially, I was under the impression I was using x86, but I am not. I do not know what version of assembly (if that's actually what it's called) I am using. Just that when I open atmel my professor has us select ATMega328p. This is a question…
-1
votes
4 answers

How to terminate the nested loop

Here I want to break out of a nested loop. I am using break statements to do so. The code is breaking out of the for loops but can't get out of the infinite while loop. I want to go to another function called resetClock() when the condition is true.…
vaibhav sharma
  • 170
  • 1
  • 12
-1
votes
1 answer

Find left over flash memory size in Atmel SAMD21J18A microcontroller?

I am working on an IOT project where I am using Atmel SAMD21J18A chip to send data to a remote server. I want to include a functionality where I can send the used flash memory and left over flash memory size at run time. Is there a register that…
-1
votes
1 answer

arduino Usart1 Interrupt

I am working in aurdino mega2560 at atmel studio 7 with arduino bootloader at first I used uart 0 (tx0 and rx0 ) with interrupt and it's work well but, when I used uart1 with interrupt of u1_rx does not work #include #include…
-1
votes
1 answer

How to store constants in ROM (Atmel)

Good Day, I am writing firmware for an ATMega645A using AtmelStudio 7. I am starting a localization project and need to display messages on a 16x2 character display in 3 different languages. The existing (English messages) are stored in SRAM, but…
Jeff G
  • 83
  • 1
  • 6
-1
votes
1 answer

Add FreeRTOS Kernel to an existing project in AtmelStudio

I want add FreeRTOS Kernel to an existing project, the references I consult shows that this can be done using ASF Wizard. However in the ASF 3.30.1 (the version i have in my PC) I cannot find FreeRTOS module I am not sure I undrestand why the…
fedi
  • 368
  • 3
  • 7
  • 18
-1
votes
1 answer

ATMEL SAMB11/BTLC1000 simple GAP/GATT example

I hope someone could give me a quick example how to configure the BTLE-Device correctly without the huge BLE-Manager library. Simply a litte GAP Authetication and one GATT-Service would be enough to start. I've managed to create my own GATT-Service…
DK999
  • 33
  • 1
  • 7
-1
votes
3 answers

Connect several COM ports into one

I will have several devices with atmel microcontrollers which Im going to connect to PC using COM. Is there any way to connect several devices into one COM? (Let's assume COM can handle amounts of data I need to transmit and I can choose the way of…
user3237732
  • 1,976
  • 2
  • 21
  • 28
-1
votes
1 answer

Looping timer function in avr?

I recently had to make an Arduino project using avr library and without delay lib. In that i had to create an implementation of the delay function. After searching on the internet i found this particular code in many many places. And the only…
darth
  • 169
  • 1
  • 16
-1
votes
1 answer

UCAP connection in atmega 32u4

What connection does UCAP have in atmega 32u4? I heard that a capacitor should be connected. Could someone give me more details?
user5054569
-1
votes
1 answer

How to transfer data A1A2A3A4.. from internal memory of ATxmega128A1 via SPI master to slave form into two seperate DAC converters?

I want to transfer data A1A2A3A4. From internal memory of ATxmega128A1 via SPI master to slave form into two seperate DAC converters such that DAC1 should have A1A3 and DAC2 with A2A4. How can I write a code in AVR // Transfer data from internal…
Sijo John
  • 1
  • 4