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

Is it possible to communicate with two devices that only has I2C slave interface, each other? ATtiny841 and HDC1080 sensor

I'm new in this world of electronic developers and right now I am interfacing between one microcontroller, the ATtiny841 ATtiny841 Datasheet and I want to receive data from a HDC1080 temp/humidity sensor HDC1080 Datasheet, I was reading…
fabocode
  • 62
  • 1
  • 13
1
vote
1 answer

C# "A heap has been corrupted" using sam-ba.dll

I'm writing a C# program that makes a call to the AT91Boot_Scan function in sam-ba.dll. In the documentation for this DLL, the signature for this function is void AT91Boot_Scan(char *pDevList). The purpose of this function is to scan and return a…
Calseon
  • 325
  • 3
  • 18
1
vote
1 answer

Identify Atmel processor

I'm wondering if anybody can tell me which processor this is:
Tomas By
  • 1,396
  • 1
  • 11
  • 23
1
vote
0 answers

Decrypt in Android a message from ATMEL in AES-ECDH-MAC format

I need to read an encrypted message sent from a device with ATMEL chip. The Communication flow is attached here: I did everything about socket communication and ECDSA signature verifying. Now I am stuck at the decrypt phase. The data needed for an…
1
vote
2 answers

Reading/writing SPI devices

(I am really unsure of which tags to apply, so apologies in advance if I chose the wrong ones.) I hope that this is not a too stupid question, but I'm really lost here. A client lent me an Atmel SAMA5D2 Xplained board with Linux4SAM to play around…
Ludo
  • 813
  • 1
  • 9
  • 21
1
vote
1 answer

Is the this constant incorrect?

I am currently reading an application note from atmel, where i am currently trying to understand the code. The code generated a trapezoidal ramp,for controlling a stepper motor. One thing I don't understand by the code, is a constant set to be //…
leonard
  • 21
  • 3
1
vote
2 answers

I'm writing AVR assembly in atmel, but "call" instruction doesn't work

I'm using Atmel Studio 6.2 to write some assembly code for Atmega328p. However, the call instruction for subroutine doesn't work when I use simulator and step-by-step execute the program. It completely ignores the call instruction and goes on to the…
sosostris
  • 73
  • 8
1
vote
0 answers

Atmel Studio 7 Not Recognizing C++ STL Methods

I'm writing some code in C++ with Atmel Studio 7 (for a SAMB11 if it matters), and it doesn't fully recognize the STL methods. For example, the vector. It recognizes the methods that are a part of the iterator template, such as const_iterator, but…
Khantahr
  • 8,156
  • 4
  • 37
  • 60
1
vote
1 answer

i2c device driver init not being called

I am trying to get an i2c device driver for an Atmel capacitive touchscreen controller to work in the Linux Kernel of our Android Lollipop (version 5.0.2) based system. I have added the manufacturer supplied updated source code (atmel_mxt_ts.c) to…
Simon Bagley
  • 318
  • 2
  • 15
1
vote
2 answers

Why would comparisons on my Xmega work when a breakpoint is set on that line, but not when running normally?

I am using an Xmega384C3, and all I am trying to do is send a signal down an output port and read it on an input port. I have PORTC set as an output port, and PORTA set as an input port. The corresponding pins on each port are shorted together…
Aaron
  • 2,367
  • 3
  • 25
  • 33
1
vote
1 answer

Atmel-ICE programming atsam4sd32c

I am having problems with the programming of a custom pcb which is using the 32-bit atsam4sd32c ARM Cortex M4. I am unable to program the microcontroller trough the JTAG/SWD interface using the ATMEL-ICE debugger. However I am able to get the device…
1
vote
0 answers

Atmel SAM D21 Frequency Capture

I am currently struggling with the frequency capture function of the Atmel's SAM D21 frequency capture mode of TC/TCC Timer Counter Capture Module and the Event System. After profound examination of the datasheet I am still not aware of how I can…
Havefun
  • 13
  • 4
1
vote
1 answer

Does the usb host device connected to an android phone have to be arduino?

Looking into making a embedded device that uses usb with an android phone and so looking at AOAP and ADK etc and most, if not all, I can find about the embedded devices is in/about Arduino. Does this mean that the embedded device has to be an…
wootank
  • 477
  • 1
  • 5
  • 18
1
vote
1 answer

At91sam9rl arm hello world without os

I want to run a simple hello world, written in c, app. on my at91sam9rl-ek. Is it possible without an os? And (if it is) how do I have to compile it? -right now I try using g++ lite for creating arm code (In general which programms can the board…
Gobliins
  • 3,848
  • 16
  • 67
  • 122
1
vote
2 answers

Bootloader for Cortex M4 - Jump to loaded Application

I am using a Atmel SAM4E-16e on Atmel SAM4E-EK Board. I have written a bootloader for this configuration. The bootloader receives the .bin-File via UART and writes it into Flash. This works without problems, i made a hex-dump and it was exactly what…
Alex S.
  • 31
  • 1
  • 6