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

How to program enc28j60 chip?

I recently got the enc28j60 module and I am stuck knowing nothing to do with it I read it is unprogrammable but when I looked in the datasheet it was just like any other mcu with registers and stuff and this clkout pin sth.. it has a prescaler that…
ilouy
  • 1
  • 1
  • 8
-1
votes
2 answers

How to interface a large existing code (some simulator) to the AVR Studio 6 Simulator?

Context I am working on a brushless DC motor controller project. I need a technique that would allow me to simulate the code controlling a virtual model of a brushless motor (written in C). Challenge The difficulty is to to check that my interrupts…
djondal
  • 2,521
  • 3
  • 24
  • 40
-1
votes
2 answers

ATMega peformance for different operations

Has anyone experiences replacing floating point operations on ATMega (2560) based systems? There are a couple of very common situations which happen every day. For example: Are comparisons faster than divisions/multiplications? Are float to int…
dgrat
  • 2,214
  • 4
  • 24
  • 46
-1
votes
3 answers

Interrupt Service Routine Executes Twice ATmega88

I have been looking all of for an answer to this problem and have not been able to find anything. When my ISR is triggered, it goes through and does everything that it is supposed to perfectly fine, then before exiting and returning back to the main…
brian
  • 43
  • 1
  • 7
-2
votes
1 answer

AVR Programming (C- Language)

What is the meaning of TIFR0 = 1<
-2
votes
1 answer

SAMA5d31:The Uboot cannot be started

I currently use a custom board based on SAMa5D31: Emmc is currently used for boot The Uboot fails to be started Stuck in SD/MMC: Done to load image without any reaction
liu zj
  • 25
  • 5
-2
votes
1 answer

AVR Microcontrollers memory game

I am making a game where you need to repeat the sequence of LEDs that light up. This sequence is set by two LEDs. To repeat the sequence, I use the joystick. I had an idea to make two bool arrays where True will indicate the left LED, and False will…
Vlad Paskevits
  • 388
  • 2
  • 12
-2
votes
3 answers

How does one call a function from it's memory address in AVR C?

I am writing a function: void callFunctionAt(uint32_t address){ //There is a void at address, how do I run it? } This is in Atmel Studio's C++. If previous questions are to be believed, the simple answer is to write the line "address();". This…
tuskiomi
  • 190
  • 1
  • 15
-2
votes
1 answer

blinking an led using timer interrupt (atmega 128)

I'm trying to blink an led without using the delay function. I came across using the timer interrupt and I tried it, and it compiles fine. But the output is fixed on PORTA = 0x01; so, I believe the ISR function is not working. Is there anything I am…
Nicky
  • 23
  • 3
-2
votes
1 answer

Amount of occupied flash memory in relation to number of bytes in a .HEX file

Is the amount of flash memory occupied by a program on a chip possible to calculate based on the content and size of the .HEX file? And if not, is there another way? Does a chip claiming to have 32kB of flash memory have exactly 32kB of availible…
-2
votes
2 answers

Sending string to LCD function, how does it work?

Could anyone explain to me what this function is doing? I understand it is used to display text on an LCD but I do not exactly understand how it works. I want to send a volatile integer to the LCD and would like to understand how this function works…
LoneCoder
  • 45
  • 6
-2
votes
1 answer

Atmel Zigbee home automation kit enquiry

I am looking forward to build a zigbee home automation system for which i require a zigbee module and its SDK. Atmel is one of the few vendors that provides SDK for download. Could you please tell if Atmel kit AT256RFR2-EK that acts as a wireless…
-2
votes
1 answer

Avr atmega 16 with webcam

I want use the webcam for image capturing and interface that web cam with avr atmega 16. Since the images are big in size where should I store the data. And secondly, Since the webcam gives the images in a form of file format how can i decode that…
harshul jain
  • 51
  • 2
  • 9
-2
votes
1 answer

Uart communication in C

I'm trying to get UART-communication to work, and I used some example-code from ATMEL as a base for this (UART Example). The main change I want to make is that instead of using test_string I want to receive a string/char array using uart_getchar()…
DoTheGenes
  • 197
  • 2
  • 4
  • 22
-2
votes
4 answers

Issues in C with including time.h?

I have a file in this massive project I'm working on called timeKeeper.h (and .c) --------------EDIT---------------FIXED THE BOOL THING STILL BROKEN THOUGH-------------- #ifndef TIMEKEEPER_H_ #define TIMEKEEPER_H_ #include #include…
Personofblah
  • 19
  • 1
  • 5
1 2 3
41
42