Type in the full discussion title or a part of it.
Discussion Title Created date
Writing the signature bytes.
Hi,  I vaguely remember that someone figured out how to write the signature bytes.  I have a batch of atmel chips where atmel (Can't get used to saying microchip) ...
Monday, 30 July 2018 - 07:28
Capacitor on AREF of ATmega328.
The datasheet mentions that for noise immunity you should place a cap on AREF. But it doesn't mention a proper value. I chose 100nF, as my design already has those. Less different...
Thursday, 25 April 2013 - 09:25
USI data/buffer register.
Hi, I'm using an attiny44 as an SPI slave. The manual says that the timing becomes less critical if I use the buffer register instead of the "data register". However, things...
Monday, 5 March 2012 - 14:41
Inlining of functions...
Hi, I have a function: static inline void set_bit (unsigned char port) { unsigned char bv; bv = _BV (port & 7); switch (port & ~7) { case PB: PORTB |= bv;break;...
Thursday, 9 February 2012 - 11:14
getting regular timer interrupts.
For an application, I need regular timer interrupts. I thought I'd set the timer in "CTC" mode, (WGMx[3:0] = 0x04 or 0x0c), and catch the overflow interrupts. Or don't overflows...
Wednesday, 6 October 2010 - 22:59
PD0 on ATmega32U2.
I have the following code running on an ATmega32U2 int main () { DDRD = 0x3f; while (1) { PORTD = 0x0f; delay_ms (150); PORTD = 0x30; delay_ms (150...
Thursday, 26 August 2010 - 11:11
ATmega32U2 and AT90USB162.
First, as far as I can see, these are pin compatbile. Correct? Second, If I read the datasheet correctly, they are delivered with the flash read/write protected. Correct? Third,...
Wednesday, 18 August 2010 - 14:28
Readback of a protected chip?
Hi, What would I get if I tried to read back a protected chip? I have tried to read a chip, and what I got was: the low byte of the address at each address. I'd expected all...
Tuesday, 10 August 2010 - 12:01
ADC with an ATTINY and two external components.
Hi all, I needed an ADC on an ATTINY. But we have the comparator. :-) u8 get_adc (void) { int i; int val=0; u8 s; DDRB |= _BV (PB2); // Drive the signal for (i=0;i>...
Sunday, 29 November 2009 - 22:35
ATTiny2313: Chip erase won't work.
I have connected an ATTIny2313 to an FTDI232BL chip on a PCB, and tried to connect everything such that I could program the 'Tiny using bitbanging on the FTDI chip. I downloaded...
Saturday, 10 February 2007 - 11:28