Type in the full discussion title or a part of it.
Discussion Title Created date
ISR with function arguments (in a modular driver approach)
Hi,   I am writing a driver in the style of Beningo, following this White Paper. The structure is this:   I have a "serial" library, with a structure ser_dev_st...
Monday, 7 October 2019 - 17:53
Array pointer in struct and AtmelStudio: a bug or my ignorance?
Hi, I am writing a circular buffer where originally its structure was the classic one (I guess), in the rbuffer.c lib:   struct ring_buff { uint8_t buff[RB_SIZE];...
Tuesday, 30 July 2019 - 19:18
FreeRTOS undefined reference error on ATmega328p port
Hi all,   I was trying to adapt the example of the ATmega323 of FreeRTOS to the ATmega328p. I knew the only difference were the timer registers and the interrupt vector names...
Monday, 1 July 2019 - 19:56
Manual manipulation of Interrupt Vector Table on AVR platform
Hi,   I want to make the ISR handling and initialization similar to the ARM Interrupt Vector Table in my AVR (atmega328p) application, to have the final interrupt...
Monday, 8 April 2019 - 13:10
[AVR GCC] Store const data in flash without PROGMEM option
Hi all,   I know that normally one would use the PROGMEM or __flash directives to store a given data into flash. But the problem is that some libraries, like uGFX, are...
Saturday, 18 November 2017 - 15:21
Atmega328P and RaspberryPi TWI issue
Hi! I have strange problems in I2C bus when using i2c-tools with the Raspberry Pi and an Atmega328P. The code shown simply uses an FSM which does some actions in the bus, sending...
Saturday, 1 October 2016 - 20:45
Using srec files instead of hex
Hi, I have an srec file to be flashed on an Atmega. What I have is the AVRISP mk2, with Atmel Studio 7.  Is there a possibility to burn all the memories according to what is...
Thursday, 1 September 2016 - 08:18
How EMIs interact with my code execution?
Hi! :D First: EMI = ElectroMagnetic Interference I've recently wrote a small application to handle a PWM signal for a DC motor (generic, so maybe the PWM frequency could be not...
Friday, 2 August 2013 - 14:17
Managing USART interrupt along scanf()
Hi! I'm try to make working a code like this: --- all initializations and other stuff char received; ISR(USART_RX_vect) { received = UDR0; //inutile ora, solo per svuotare...
Tuesday, 23 July 2013 - 20:59
printf() & co.
Hi! I'm wondering if is true that with MPLAB one can use the appropriate printf() function in a PIC. Is it true? In this case with an AVR inside Atmel Studio exist too, without...
Wednesday, 3 July 2013 - 08:30
What's behind the Wiring
Hi! I'm using my Arduino with the Atmel Studio 6 since few months. For some reasons, I'm not always have the strength to use pure C. So, in these days, I came back at Wiring. But...
Sunday, 7 October 2012 - 21:24
Programming CLKPR
Hi! I'm trying to set prescaler on Arduino2009 by using Atmel Studio 6 After I realised that I can't change fuses without programming a bootloader, I choose to modify prescaler to...
Saturday, 21 July 2012 - 12:51

Pages