Post Created date
PLL Code
A quick peek at the data sheet shows that this device implements 4 registers. You clock in a 19 bit register value MSB first, followed by a two bit register selector. The gist of...
Sunday, 24 February 2013 - 17:17
Cannot set Watchdog timer prescaler
You must first set the Watchdog Change Enable bit in WDTCR. That bit will automatically clear in 4 clock cycles. You must make your changes while it is still set. // start wd...
Sunday, 24 February 2013 - 16:29
Protect and hide some of the source code
I see you've been warned there is no perfect security! With that in mind, this page gives the steps required, when using avr-gcc from the command line...
Saturday, 23 February 2013 - 22:37
Egg Incubator
It is often the case that a light bulb is suspended above the brood to radiate heat. This is inefficient. The radiant heat provided by the bulb pales in comparison to the...
Wednesday, 20 February 2013 - 23:58
please suggest me better inductor
You have simply not provided enough information to answer the question. Relevant information includes... Frequency? A higher switching frequency allows for smaller (and cheaper)...
Wednesday, 20 February 2013 - 23:25
ADC autorange
You haven't provided any info about how you adjust gain and what gains are available, but... The ideal is to obtain a result with 15 significant bits, all else being equal. The...
Wednesday, 20 February 2013 - 22:37
Automotive DC-DC converter issues
Use a voltage limiting device to protect your DC-DC converter against excessive supply voltage... zener, tvs, MOV whatever Use a current limiting device to protect that voltage...
Tuesday, 19 February 2013 - 23:48
Automotive DC-DC converter issues
Sometimes in these situations a cheap solution is to use a current limiter, in combination with ( zener, tvs, MOV, etc).
Tuesday, 19 February 2013 - 21:45
clawson, Sorry for any confusion I may have caused. In response to the OP, I copied the entire manual description of function and data sections, and pasted it to my post. I made...
Monday, 18 February 2013 - 14:37
All the manuals description of -g is saying, is that certain compiler optimizations can make debugging, as you said, interesting. :( The manuals description of --function-sections...
Monday, 18 February 2013 - 13:25
Assembler and linker may be slower. The final application will ( hopefully ) run faster. The problem with -g, simply put, is that code and variables, may not wind up where the...
Monday, 18 February 2013 - 12:18
From the GGC Manual (emphasis mine)... Quote:-ffunction-sections -fdata-sections Place each function or data item into its own section in the output file if the target supports...
Sunday, 17 February 2013 - 18:43