Post Created date
Memory mapping for external SRAM
Quote: The problems I get is that IAR Embedded Workbench doesn't recognize some of the bitmasks included in the h-file. At least for "regular" AVRs there is a define for...
Monday, 22 September 2008 - 12:26
You're right, I didn't read the code carefully enough. But still, you're making the reading more difficult than it is with all that shifting.
Thursday, 24 April 2008 - 13:20
ADCOutput +=(ADCH<<14); ADCH is an 8-bit byte, so if you shift it 14 places, none of the original digits are left in the result. You can get the whole 10-bit result in an...
Thursday, 24 April 2008 - 12:56
BOD Voltage Levels Not Accurate ????
Quote: I read in the datasheet that the BOD uses an internal reference of 1.1v(typical). Is there any way this could be wrong? The only way I can think of would be if you've...
Tuesday, 11 March 2008 - 11:11
ATmega8 operating at lower supply voltage than recommended
Keep the mega8 at 5 volts. It is not difficult to connect devices with different voltages to the same i2c bus. Here's an example:
Wednesday, 20 February 2008 - 11:49
how do you pull the chip off a STK500?
I've also used the same screwdriver technique, but an extractor tool is handy. They don't cost much either, so you might consider adding one to your order the next time you are...
Friday, 1 February 2008 - 08:35
Text to Hex
Here's a simple procedure to solve this type of errors: You have code written for a different avr, that uses the adc. Look up the adc section from your avr's datasheet. You'll...
Friday, 18 January 2008 - 08:05
additional timer accuracy/timer math
The fusesetting is all '1's, and the OP said earlier that he hasn't changed anything. I'd guess the communication between STK and the AVR isn't working.
Wednesday, 16 January 2008 - 09:26
Bitmanipulation in float
Quote: Does anyone know, in which .h-file I find the floor() and round() functions? They are in math.h
Monday, 14 January 2008 - 14:08
DTMF detection with AVR
This project is from the 2006 Circuit Cellar AVR design contest. It might be of interest.
Saturday, 5 January 2008 - 08:38
Half speed - what am I missing?
Can you double-check that the calibration is not the cause? Since you have a scope, the easiest method would probably be to enable the CKOUT and see how fast the clock is before...
Thursday, 3 January 2008 - 09:19
easyest way to monitor battery voltage.
Quote: This approach won't work if you have an external voltage reference connected to AREF. In that case the only thing you can set as the ADC's reference channel is external....
Monday, 17 December 2007 - 09:39