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) ...
Mon. Jul 30, 2018 - 07:28 AM
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...
Thu. Apr 25, 2013 - 09:25 AM
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...
Mon. Mar 5, 2012 - 02:41 PM
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;...
Thu. Feb 9, 2012 - 11:14 AM
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...
Wed. Oct 6, 2010 - 10:59 PM
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...
Thu. Aug 26, 2010 - 11:11 AM
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,...
Wed. Aug 18, 2010 - 02:28 PM
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...
Tue. Aug 10, 2010 - 12:01 PM
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>...
Sun. Nov 29, 2009 - 10:35 PM
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...
Sat. Feb 10, 2007 - 11:28 AM