Type in the full discussion title or a part of it.
Discussion Title Created date
Recursive interrupt handles
What happens if interrupt X occurs while I'm in the handle for interrupt X? I would actually like this to happen. I'm programming a radio chip that generates an interrupt whenever...
Tuesday, 12 September 2006 - 11:48
CBR and SBR, avrgcc syntax
When I code PORTB |= 0x0F; or PORTC &= 0x1A; will the compiler use the 1-cycle SBR and CBR instructions? I'm writing some bit banging code in C where I need very fast update...
Tuesday, 16 May 2006 - 10:54
Ex-system programming of QFN parts
I'd like to flash up some mega48 chips before soldering them onto my board. What is the recomended way to program those QFN packages? Until now I have been happy with an ISP6PIN...
Friday, 12 May 2006 - 08:42
USB audio
I'm completely new to USB programming. What I would like to do is to make a PCB that works as a USB audio device. I don't want any drivers to be installed on the PC I plug this...
Monday, 8 May 2006 - 13:49
Strange SPI failure
My SPI interface is working in a very strange way. That is, most of the time it is able to transfer one byte, then hangs. I have inserted my code below. After two days of...
Wednesday, 3 May 2006 - 15:24
STK500 pulls MISO high
Hi, I'm developing an application where I use the hardware SPI in a mega48. After some days of debugging the SPI interface I found today that the MISO pin is pulled high by...
Wednesday, 3 May 2006 - 09:40
PWM for voice audio
How feasible is it to use the 16-bit PWM of the mega48 (or other AVR device) as a voice-quality audio DAC? Cheers, Børge
Tuesday, 25 April 2006 - 08:31
SPI on USI, simple example?
Hi, I'm trying to figure out how to use the USI on a tiny2313 as SPI master. The data sheet offers an optimized assembly example while the Atmel app note offers complex C code....
Wednesday, 8 March 2006 - 14:47
STK500 socket for ATtiny2313
Quick question: Which STK500 socket should I use with the ATtiny 2313? (And where do I find this information for other devices?) Cheers, Børge
Wednesday, 18 January 2006 - 11:29
ATmega48 and Vdd problem
Is there a reason why an ATmega48V should fail under 2.5V? I'm using the internal 8MHz oscillator and divide-by-8. I also use the watchdog timer (interrupted) with lowest power...
Tuesday, 10 January 2006 - 11:23
16-bit shift register
In assembly it's pretty straight forward to make an n-byte circular shift register that shifts through carry. But how do I do that in C? I'm trying to write fairly generic C code...
Friday, 11 November 2005 - 14:20
Watchdog kills UART
I've got some problems with my UART and watchdog. In my program I have a wait routine that is called regularly. I can either wait by means of timer or by means of watchdog...
Monday, 10 October 2005 - 14:53

Pages