Post Created date
Choosing the Correct F_CPU
Fresh from the factory AVRs mostly come with the 8MHz oscillator and the CKDIV8 fuse programmed, which causes the processor to run at 1MHz. There is no *internal* 16MHz clock on...
Thursday, 1 October 2009 - 07:51
".....without a single program line !"
Hey now, I've built a whole processor in the Altera MAX+PLUS schematic editor ;) (I would not suggest doing that of course... Verilog is much nicer) Some simple functions can be...
Thursday, 1 October 2009 - 07:48
How to use strings on SRAM correctly
Remember, the stack grows downward, while your data grows up. If your data is jam packed full, there is no room for the stack, your data section will get clobbered. There is no...
Thursday, 1 October 2009 - 07:43
Losing EEPROM value after a few days
I agree, I have had some very curious things happen to processors operating at brownout conditions. In one particular instance, an MSP430 managed to rewrite flash, which is very...
Thursday, 1 October 2009 - 07:40
Choosing the Correct F_CPU
tilak, Don't quote yourself. Also, F_CPU MUST match the actual clock speed of the device (or a bunch of internal functions do not perform as expected). If you had actually read...
Thursday, 1 October 2009 - 07:37
Creating a database on Atmega16
- Internal EEPROM - External serial flash
Sunday, 27 September 2009 - 19:39
Adding Ethernet
I assume you mean Modbus-TCP? Modbus-RTU runs fine over RS-485. Your best bet is to skip the 8-bit AVR entirely, and use an AVR32 or a SAM7X/SAM3U (if you stay with Atmel). Those...
Sunday, 27 September 2009 - 19:36
R2R ladder DAC question(s).
If you want overkill, the OPA2604 is a great dual op-amp :-) You're going to need higher voltage rails however.
Saturday, 26 September 2009 - 06:27
Low Voltage Serial
No. The RS232 ports on your PC will use up to 12V (and -7V or so) signaling, which is well beyond the spec of your micro controller.
Friday, 25 September 2009 - 04:00
Some questions on JTAGICE MKII
The statement is correct. The debugger only operates at an instruction level, and many clocks will continue to run in the hardware while halted. This is common with any JTAG tool.
Thursday, 24 September 2009 - 05:37
Raven newbie questions
A hot air gun should not destroy a homemade born if its FR4 base material. If the center pad is not critical, you can make the QFN footprint with very long pads which extend out...
Wednesday, 23 September 2009 - 04:59
Using bit shifting in an equation
FYI, Most compilers will optimize constant division by powers of 2 to bitshifts for you (even when in some rare cases its not faster)
Wednesday, 23 September 2009 - 02:32