Post Created date
SPI reset problem
Yes indeed, I think you're right. Thanks again for all the help!
Saturday, 26 March 2016 - 19:10
SPI reset problem
Yes but the problem is that the power sources are independent: master is powered by batteries and the Arduino is powered by the USB port of a Raspberry Pi.
Saturday, 26 March 2016 - 18:53
SPI reset problem
Sharing the reset line between the 2 does not have an impact on power-on reset which is the only case when the problem occurs. But in normal operation there shouldn't be any power...
Saturday, 26 March 2016 - 18:39
SPI reset problem
Yes you are right, that piece of code is far from ideal. Regarding the reset problem you were right: when I clear and set the SPE bit in SPCR the slave correctly receives the data...
Saturday, 26 March 2016 - 18:23
SPI reset problem
Thanks for the help. The messages I'm sending are very short and I also tried increasing the buffer size but same problem. The arduino is actually in the correct state after the...
Saturday, 26 March 2016 - 16:25
SPI reset problem
Yes that's the one. That's the same one as I posted no? 
Saturday, 26 March 2016 - 12:43
SPI reset problem
I have made no modifications to the slave code that I posted before
Saturday, 26 March 2016 - 12:39
SPI reset problem
Exactly
Saturday, 26 March 2016 - 12:25
Weird global variable initialization behaviour
If I remove the dummy variable "myvariable" when using the stripped library (the one that's automatically built without changing makefile) I do not get a _do_copy_data section at...
Monday, 14 March 2016 - 11:45
Weird global variable initialization behaviour
If I strip it with avr-strip -g --strip-unneeded --keep-symbol=__do_copy_data libnacl.amy code works fine and in this case the binary size is the same as with the non-stripped...
Saturday, 12 March 2016 - 12:56
Weird global variable initialization behaviour
When looking at the output of avr-nm I see that all occurences of "do_copy_data" are removed for the stripped library. Might it have something to do with this?
Saturday, 12 March 2016 - 11:17
Weird global variable initialization behaviour
I'm not sure either why this changes anything but it surely does (it fixes the problem). It also affects my binary: with the non-stripped library flash size is 8162 bytes, with...
Saturday, 12 March 2016 - 11:04

Pages