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

Add a SPI filter between driver controller and userspace spidev driver on Linux

We have Linux on a product. The customer is free to write its own application and need to use the spidev driver to access a specific peripheral. This peripheral is accessed through the SPI master driver for Atmel processor (spi-atmel.c). Now, I…
hilt0n
  • 376
  • 1
  • 10
1
vote
1 answer

Add my own header files to a code for ATSAMA5D36 development board libraries

I'm working on USB CDC Serial for sending and receiving data by SAMA5D36 Development board. I need to integrate the headers which i created to the code. Can i add my own headers and .c files to the make file. I'm giving the make file text below. It…
yagami
  • 149
  • 2
  • 12
1
vote
1 answer

Atmega328 Analog-to-Digital Converter

I am working on understanding ADC with an arduino and a LCD shield that has buttons. I like to work in Atmel Studio and work to write my own libraries through research and the datasheet. My goal is to write the ADC value to the screen. If I write…
shark38j
  • 114
  • 13
1
vote
0 answers

How to read data from MPU6050 using SAM4S

I'm trying to read information from an MPU6050 sensor using the SAM4S-EK2 dev board, with an ATSAM4SD32C microcontroler, showing the data in the on-board LCD display. However, when I try to read the data, the received value that shows up in the LCD…
V. Souza
  • 11
  • 3
1
vote
0 answers

Do i need to store a function parameter to RAM?

assume the function void foo(uint8_t value) { somearray[some_idx] = value; } CodeVision produces the following ST -Y,R26 // the parameter "value" is in R26 ; value -> Y+0 LDS R30,_some_idx LDI R31,0 SUBI R30,LOW(-_somearray) SBCI…
NikkyD
  • 2,209
  • 1
  • 16
  • 31
1
vote
0 answers

Writing and reading data to development board

I'm using sama5d3 development board. I'm trying to read and write data to the device connected to the USB port. 2.i can write the data to the device. 3.How can i read data from the device? 4.How can i know whether the data is writing to the…
user9478215
1
vote
0 answers

Atmel SAM3X8E dual bank switching for booting different behaviour

I’m currently working with an Arduino Due board which has an Atmel SAM3X8E processor embedded. I’m programming it using the Atmel Studio (version 7.0.1645) and the provided Atmel Software Framework (version 3.28.1). The purpose of the program…
1
vote
1 answer

Evaluating serial replies with if statement

I am trying to read network statuses from a modem using an atmel MCU, and then debug/restart based on certain status replies. I do so with the following code (and this works): scanf("%s", state); printf_P(PSTR("%s\n%d\n"),state,tempstate); if…
masebee
  • 15
  • 4
1
vote
1 answer

Makefile executes correctly in Windows but not Linux

I have a project which compiles swimmingly in windows using make but fails in linux. It's failing during implicit compilation to object files (I'll post an excerpt): arm-none-eabi-gcc…
1
vote
1 answer

SWD interface SAM device

im trying to design custom board for microcontroller im trying with SAM series (SAMD21G18) from microchip they recommended…
Hasan alattar
  • 347
  • 3
  • 19
1
vote
0 answers

Hardware timer triggered analog-digital conversion on ATSAM4S

I have a problem with a ATSAM4S ADC unit triggered by Timer 0 (channel 1). It seems that the ADC is triggered as fast as possible and blocks my whole application (OS is no longer operational due to this). I want an AD conversion with 1 Hz. This is…
user1995621
  • 47
  • 3
  • 9
1
vote
1 answer

SPI not working on atmega328p

I'm trying to program an atmega328p, but the SPI bus isn't working. It's not sending any data over the bus. My code is as follows: #include #include #include int main (void) { board_init(); SPI_MasterInit(); …
1
vote
1 answer

Downloading the binary code from an AT89S52 chip

I have an AT89S52, and I want to read the program burned on it. Is there a way to do it with the programming interface? (I am well aware it will be assembly code, but I think I can handle it, since I'm looking for a specific string in that…
Dany Zatuchna
  • 1,015
  • 1
  • 10
  • 13
1
vote
0 answers

LwIP webpage with Post form - School project

For a school project we need to make a micro controller that takes the information off the CAN network and show these parameters on a web page. I'm trying now to expand the project to make it also possible to change those values on the web page and…
BobLee
  • 9
  • 3
1
vote
1 answer

Circular led loop in Atmega2560 using Assembly

I'm working on a simple LED project using Atmega2560 microcontroller. The LEDs should rotate in a circular pattern respectively. DEF consts: LED_AMNT : How many LEDs will turn LED_DATA : Which LEDs will work Led layout design : LED_AMNT = 1…
Dentrax
  • 574
  • 8
  • 22