Post Created date
[C] Absolute fastest way to zero/clear a large array but also save some program space by using ST instead of STS
The way I see it, don't clear anything, double-buffer. Just define an area of memory to serve as a buffer, split it into two pages, and separately store a start address and a...
Saturday, 22 May 2021 - 05:35
I2C Man-in-the-Middle
I have done what you are doing before, and what I did was just add the microcontroller in "parallel" (as a slave) with the bus, read all traffic, recognized packets that needed...
Wednesday, 24 April 2019 - 20:14
Barely Encrypted? [Solved - good enough]
Simplest way if to use a free open source AES implementation. AES is the best speed and security combo on embedded platforms. Requires less than 2K flash and about 500 bytes SRAM...
Saturday, 4 June 2016 - 04:13
I don't want to be a C programmer any-more. I need to the help of you GeeekS!!![migration]
My opinion is C and C++ are different tools (even though they are from the same base) for different problems. Most embedded programmers (at least in the 8-bits world) probably do...
Wednesday, 6 April 2016 - 18:36
Attiny85@16Mhz fastest, error free, serial transmission speed (baud rate)?
bobgardner wrote: What is the name of the thing being built? A white/pink noise generator for speaker frequency response testing? And why does this need a fast serial port to a pc...
Wednesday, 30 March 2016 - 23:44
Attiny85@16Mhz fastest, error free, serial transmission speed (baud rate)?
Use a 18.432MHz (or any of the other magic numbers) resonator instead of the internal oscillator. Super small footprint (you can get them in 3-pin SMD "dots"), no additional parts...
Wednesday, 30 March 2016 - 23:26
Robust Input Stage
Brian Fairchild wrote: hugoboss wrote: ...a 400K/5.1K divider...filter...galvanic isolator...ADC.   Thanks. That's an interesting idea. I can get away without the isolator...
Wednesday, 30 March 2016 - 23:19
Robust Input Stage
At the top end, to bring your 400v to 5v, a 400K/5.1K divider will output 5V 1mA @ 400v input. Use 1% minimum 1/2 watt resistors. Feed the input into a proper filter with some...
Wednesday, 30 March 2016 - 03:39
ATMEGA325A returns 0xFF for device signature - but it is talking!?!
From your logic analyzer shots it seems quite clear that the response is sent at a much lower bit rate. My bet is the first AVR had the fuses set to run at 1MHz instead of 8MHz...
Friday, 26 February 2016 - 01:49
[Solved - mostly] Totally Benign Warning?
On the original case it looks like a parse error somehow. The parser is parsing '/*' as an expression rather than a literal as it should. That warning will probably pop up with...
Wednesday, 17 February 2016 - 19:49
Quarter- Wave rectifier?
Use a heating element twice as long?
Saturday, 13 February 2016 - 03:50
proprietary serial protocol, unknown CRC method
Since he is listening between two devices, he is likely trying to reverse engineer it so he can inject his own commands. The key to reverse engineering any system is having the...
Tuesday, 9 February 2016 - 01:39