Skip to main content

Questions tagged [atmel-studio]

The tag has no usage guidance.

-1 votes
1 answer
44 views

Need help for the definition of timer function

I've found below code that belongs to the timer declaration function but the definition is hidden by the author. Can anyone help me to provide a definition for the same? I want this to be utilized in ...
Ramandeep Singh's user avatar
0 votes
0 answers
57 views

MAX31888 on ATtiny

I'm using an ATtiny13A, which I'm trying to read a MAX31888 temperature sensor with. I've been given one of said sensors on a breakout board wired according to this diagram: I'm using this library to ...
Boyfinn's user avatar
  • 101
0 votes
2 answers
115 views

Driving a 12 V DC pump using Atmega16 Microcontroller and a 2N2222a transistor but it is not working?

I am implementing a system using an ATmega 16, a 12V/ 0.4mA/4.8W DC water pump, a 2N2222a transistor, a 1N4001 diode, a resistor and, a 12V Power Supply. However, whenever I test the circuit with the ...
Saeed Bowman's user avatar
0 votes
2 answers
169 views

How do I get started with ATWINC-IC from Microchip?

I want to get started with ATWINC-IC from Microchip. It's a WiFi IC that I'm going to implement onto a PCB. I have installed Microchip Studio and now I'm looking for how to start a project with that ...
euraad's user avatar
  • 1,324
2 votes
1 answer
567 views

How do I read multiple ADC channels from a SAMD21 configured in atmel.start?

I'm stuck with trying to read multiple ADC channels on a SAMD21 that I have configured using ATMEL.start. I am very new to Microchip Studio (Arduino convert trying to upgrade). The below code is my ...
IlluminatedDan's user avatar
0 votes
2 answers
362 views

Atmel Studio: Compiler error when adding external SRAM

I have board wired up to use ATMega1281's Eternal Memory Interface with a BSI, BS62LV4006STIP55, 512Kx8 SDRAM connected. I am trying to do something similar to this (ATMega128), except my memory is ...
Reidar Gjerstad's user avatar
0 votes
0 answers
112 views

Why is my code working in proteus but not when burned into chip?

I am using atmel chip and I have a problem with the code, I guess. Trying to make automatic light system. I am working with two IR sensors that should detect a person entering and leaving the room. I ...
cerouno's user avatar
  • 67
0 votes
1 answer
440 views

ATSAMD21 doesn't seem to start, device not found/detected

I just finished assembling my PCB with an ATSAMD21G18A and was super thrilled to flash it with my program. Sadly Atmel Studio tells me that it can't find the device. I tried to debug the whole thing, ...
Felix Kunz's user avatar
0 votes
0 answers
166 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 ...
Manjesh Gowda's user avatar
4 votes
3 answers
2k views

Convert the type of calculation result in if() to uint8_t

I am writing in C using the Atmel Studio (AVR-C.) I have an if statement: if( (rxProcessing < (rxWritePos-1) ) ) Where ...
Christianidis Vasilis's user avatar
1 vote
4 answers
602 views

Atmel SPI "wait for transmission complete" example is wrong?

I am configuring my first SPI transmission on my atmega328p. Everything seems right (My SPI interrupt ISR(SPI_STC_vect) fires when transmission is done, and I can see all SPI pins on the oscilloscope ...
Christianidis Vasilis's user avatar
0 votes
2 answers
294 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?...
plu's user avatar
  • 713
1 vote
1 answer
156 views

Using Data Visualizer with Atmel-ICE with SPI physical interface

I am trying to output some debug strings from an ATmega328P to a terminal window on Atmel Studio using the DGI. I would like to use the 6-pin 100-mil connector of my Atmel-ICE Basic Kit, which I ...
stenio's user avatar
  • 319
1 vote
1 answer
381 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 ...
Cal-linux's user avatar
  • 2,153
2 votes
2 answers
2k views

How to share a variable between ISR and main-code?

I'm working on some embedded software and I ran into a problem and I cannot figure out why this block isn't working. I set up interrupts to for several buttons, including a mechanical encoder. I used ...
AMacDonald's user avatar

15 30 50 per page
1
2 3 4 5
8