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

Atmel Studio 7 setting int = 0, returns 257

When ever i try to set my index int = 0, it becomes 257. I tried the following test code in visual studio, where it functions perfectly. int main() { int index = 0; int Data[24] = { 1, 0, 1, 1 }; //Await the first 4 start bits. do { while (0)…
Omarley
  • 11
  • 1
1
vote
1 answer

how to show the solution explorer in Atmel studio

I want to add a library to my project but I can't find the solution explorer in the Atmel studio 7 where I can add the library how can I show solution explorer window in Atmel studio??
Mohammad Azzam
  • 83
  • 2
  • 10
1
vote
4 answers

Atmel C compiler manual?

I'm just getting started with the Attiny84 on AVR Studio 5 (based off of Visual Studio). However, I cant find the C programmers manual for it so I can figure out how to write ISR's, address GPIO pins, etc... Any ideas where I could find the manual…
Seidleroni
  • 1,044
  • 3
  • 15
  • 31
1
vote
1 answer

Convert int to string to display on lcd, atmel studio c language

i write a program in atmel studio for my avr atmega 32 ic. By keypad enter a number between 0 to999. I want to display it on lcd. My problem is: lcd take only char and string.i store the entered number in a int variable. How can i convert it to…
Aashkanpasha
  • 39
  • 1
  • 7
1
vote
1 answer

Arduino Uno SPI with registers

I'm trying to activate the SPI directly from the registers. I'm using Arduino Uno with ATMEGA328P with this code: void setup() { // put your setup code here, to run once: cli(); Serial.begin(9600); SPI_MasterInit(); sei(); } void loop()…
1
vote
2 answers

configuration issue with WolfSSL and ATECC508A

We are using the ATECC508A to support WolfSSL on a Renesas RX600 CPU (sorry - customer spec). We are trying to do TLS 1.3 on an IoT device. Software ECC mode using WolfSSL - works fine. ATECC hardware supported mode - fails with error -248 (0xF4…
Freedlight
  • 33
  • 5
1
vote
0 answers

Atmel at91saml21j18b board configuration error with Jtag connectivity Through Openocd Server

Hello actually i'm trying to interface a samdl21 board with Jtag through openocd server.I'm facing some problem in configuration where it is throwing Invalid ACK (0) in DAP response Error...someone please help me to find a solution for this…
Ravikiran
  • 45
  • 11
1
vote
1 answer

Failed TWI transaction after sleep on Xmega

we've had some troubles with TWI/I2C after waking up from sleep with the Atmel Xmega256A3. Instead of digging into the details of TWI/I2C we've decided to use the supplied twi_master_driver from Atmel attached to AVR1308 application note. The…
Fredrik
  • 301
  • 3
  • 10
1
vote
1 answer

Replace bootloader on sama5d3 from the running linux system

I'd like to replace the first stage bootloader in the nand flash on a sama5d36 based system running 4.1.0-linux4sam_5.1 and buildroot-2016.02. I can replace the kernel image with flashcp just fine, but when I try it with the bootloader, flashcp runs…
1
vote
4 answers

How do you know when a micro-controller reset?

I am learning embedded systems on the ARM9 processor (SAM9G20). I am more familiar with procedural programming for general purpose. Thus what I am doing is going through the data sheet and learning what registers there are and how to manipulate…
Sarah cartenz
  • 1,313
  • 2
  • 14
  • 37
1
vote
1 answer

Pause SAMD21 TCC counter

The Atmel SAMD21 TCC peripheral provides a STOP command, which pauses the counter. The counter can be resumed with a RETRIGGER command. When STOP is issued, the TCC enters a fault state, in which the outputs are either tristated, or driven to…
Jeremy
  • 5,055
  • 1
  • 28
  • 44
1
vote
0 answers

Changing LED brightness in Atmel AVR using Assembly without PWM & Analog

I'm working on a simple LED project using Atmega2560 microcontroller. I don't know how I can adjust the led brightness to the level I want. I need to do all the processing with digital signals. In this case, PWM and Analog signals not allowed. DEF…
Dentrax
  • 574
  • 8
  • 22
1
vote
1 answer

AT91 ARM EMAC polling issue

I am using atmel's lwip example. Interfacing with PHY is ok. It can link and even auto negotiate. Netif is going up. But when i start polling netif nothing happens. Ive narrowed down problem to EMAC_Poll unsigned char EMAC_Poll(unsigned char…
G0867532
  • 72
  • 1
  • 10
1
vote
0 answers

Error OpenOCD debugging on ATSAMA5D36 Xplained board:

I'm trying to flash on ATSAMA5D36 Xplained board using OpenOCD. I builded and compiled application and want to debug using OpenOCD. When I am doing that I get the following error. Openocd verson: openocd-0.9.0.tar.gz …
1
vote
0 answers

Deploying program from Atmel Studio or Avr dude to Atmel "XMEGA-A3BU Xplained"

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on the LED based for an assignment. Im following instructions based on the online…
cyber101
  • 2,822
  • 14
  • 50
  • 93