Post Created date
SPI slave unwanted loopback
As I said, it makes no effective difference where the code is loaded, neither in practice nor in theory.
Thursday, 24 March 2011 - 12:43
SPI slave unwanted loopback
atomicdog wrote:I have no experience with SPI on the AVR but the atmega324P datasheet says to write the MISO data before reading the MOSI from SPDR.] That's a somewhat moot point...
Thursday, 24 March 2011 - 01:40
SPI slave unwanted loopback
No,, that's the point, although admittedly I should have made that clearer. I'm not deselecting the chip between individual bytes, only between packets.
Thursday, 24 March 2011 - 00:55
SPI slave unwanted loopback
The ATMega328p on the Arduino is the slave. The master is an STM32 chip. The code above should be all that is necessary to configure the ATMega and then have it run in interrupt...
Wednesday, 23 March 2011 - 23:11
[TUT] [C] Getting SD/MMC card working painlessly with FatFS
The sector it's asking for is the memory location of the 512-byte page that you want to write. I haven't used FatFS since I wrote the tutorial, and subsequently rewrote many of...
Monday, 17 January 2011 - 17:41
Disable nan [solved]
Hehe, that's bloody awesome. I'm updating my original post to say that you've solved it.
Thursday, 9 December 2010 - 16:59
Disable nan [solved]
clawson wrote:Quote: you can modify the floating point code to do whatever you want, The source for FP in libm.a is here: http://svn.savannah.nongnu.org/v... This is the div...
Thursday, 9 December 2010 - 15:49
Disable nan [solved]
david.prentice wrote:Perhaps if you were to say what you actually want to do, and show your current algorithm. I am always amazed by how my ideas get trumped by others with...
Thursday, 9 December 2010 - 11:18
Disable nan [solved]
cpluscon wrote:IME nans are a sign of mistaken coding or calibration. Such "numbers" don't occur in the natural world for a reason. That's simply not true. You have an overly...
Thursday, 9 December 2010 - 07:39
Disable nan [solved]
andreie wrote:ArnoldB wrote:Are you sure an 8-bit microcontroller is the right tool for the job? Good point. Perhaps saturated arithmetics (like those found in DSP-s) would be a...
Wednesday, 8 December 2010 - 23:08
Disable nan [solved]
skeeve wrote:Apparently you also have at least 250,000 other floating point operations per second. I infer that you meant "per second". "Per loop" would be a bit much. If you have...
Wednesday, 8 December 2010 - 22:15
Disable nan [solved]
dkinzer wrote:If you decide to go that route, here is an inline macro to check for a NaN. It substitutes 0.0 but the four clr instructions can be replaced with ldi to load any...
Wednesday, 8 December 2010 - 16:50

Pages