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
1 answer

AVR ATMega 2560 USB driver error

I have an issue while installing drivers for the ATMega 2560. I downloaded the drivers from the ATMEL website, no issues during installation, but once small window pops up it gives me an error that the drivers are not compatible with x64 operating…
Vladislav Bogdanov
  • 1,891
  • 3
  • 14
  • 10
0
votes
0 answers

Performing double press on button with code (8051)

With 8051 Microcontroller, button that connected to P3_2. when I do: if(P3_2==1){ //One pressed button //** Some LCD functions**// } all good! My thing is I want to get some others function when I 'Double Press' the button, But I don't…
0
votes
1 answer

I need to know how to read frequency

I got port that is on electronic card (Atmel card with 8051 micro controller) . This port named p3_0. The port get '1' or '0' logic. 1 0 1 0 ''''''' '''''''' ' ' ' ' ' ''''''' '''''' And so…
0
votes
2 answers

Relocating U-Boot from internal ROM to SRAM on AT91RM9200

I'm trying to understand relocation of u-boot from internal ROM to SRAM. The below code shows that u-boot is copied from ROM to SRAM and then pc is jumped to _start_armboot. However I'm unable to figure out where the memory remap operation is…
Manx
  • 23
  • 5
0
votes
0 answers

UART on SAM4SxPLAINED

UART on SAM4SxPLAINED Hello, I have a program which (almost) works ! The characters are transmitted but they are not still the ones hoped. Who can correct? Thank you for everything. Greetings. Voici le code : #include "sam.h" // Fréquence…
Joss
  • 1
0
votes
2 answers

Atmel microprocessor and rotary encoder controlling speed of 7 segment display

I am trying to get a rotary encoder to control the speed of a 7 segment display counting from 0-9 with the Atmel (ATmega328P Xplained mini) microprocessor. My problem is that whenever I run the program the display just counts faster and faster until…
0
votes
2 answers

AVR Instruction to turn Atmel Atmega completely off

Is there an instruction or fuse setting accessible form the running program which can turn off a Atmel Atmega completely? My program measures via ADC the powering battery's level and then goes back to sleep mode woken up only by external interrupts…
lorenzli
  • 620
  • 1
  • 10
  • 31
0
votes
2 answers

Clock on Atmega8

I am trying to do a clock on Atmega8. I have 8Mhz quartz. I use timer0 interrupt for clock timeticks: /* Settings */ #define TMR_RELOAD 80 - 5 /* 8 kHz / 80 = 100 Hz */ #define TMR_CNT_MAX 100 /* 1Hz internal counter */ /* internal…
vitperov
  • 1,347
  • 17
  • 20
0
votes
1 answer

Referencing variables in a structure

I've recently been getting into programming AVR microcontrollers as a way to improve my C programming abilities. Right now I'm trying to check the state of two buttons, which I am doing at the beginning of my main.c file. I placed these into a…
0
votes
1 answer

atmel simulating UART comm

I am working on a project with the UART controls. I am attempting to simulate the sending and receiving of messages through the UART. The UART will be connected to a RS-485 transceiver in the real world but I will be providing the input/output…
user3826668
  • 145
  • 1
  • 2
  • 8
0
votes
0 answers

Why is value getting overwritten?

First, sorry, I know this is long and people might not read it all, but I think it needs a very detailed explanation. I'm trying to get long file names working on Chan Fat File on a Cortex M4 with FreeRTOS. I've got a weird thing going on where, for…
DiBosco
  • 838
  • 8
  • 21
0
votes
1 answer

alsa on embedded system CORE9G25

I have a CORE9G25-CON (256MBRAM) (http://armdevs.com/core9g25.html) device with embedded linux installed on it. The version of linux is: # uname -or 3.6.9 GNU/Linux # cat…
Ferrari
  • 75
  • 1
  • 11
0
votes
0 answers

Receiving strings through uart interrupts

I'm trying to send some strings to my board (Atmel SAM3U). I'm doing it through the uart using interrupts. The issue is that it doesn't receive the whole string, but only the last character. This is my code: void UART_Handler(void){ uint32_t…
andrecap
  • 9
  • 2
0
votes
2 answers

Atmel ASF on SAM - pio_configure_pin wrong described?

I am biting my lips off from trying my first steps with the ASF provided by Atmel. It seems like the ASF is written inefficient in many places and on top the documentation seems to be inaccurate or I am already too burned out to think straight. …
John
  • 7,507
  • 3
  • 52
  • 52
0
votes
1 answer

Incomplete detection of pressed buttons

I wrote a short function which detects a pressed button at matrix keyboard and write his id (48 buttons, so ID are 0 - 47). The problem is, that it is only detecting ButtonID 0 right, others are detected very ugly, like ButtonID 1 lays on place for…
user3674256
  • 5
  • 1
  • 5