Skip to main content

Timeline for How do you use SPI on an Arduino?

Current License: CC BY-SA 4.0

27 events
when toggle format what by license comment
Mar 18, 2021 at 6:38 comment added Nick Gammon I have amended the edit in question to remove the reference to "so people wondered" ... which people?
Mar 18, 2021 at 6:37 history edited Nick Gammon CC BY-SA 4.0
Edited change about SPI slaves on the Leonardo.
Mar 18, 2021 at 6:34 comment added Nick Gammon To the users that are rejecting edits about the SS pin, as the author I don't disagree with them.
S Mar 18, 2021 at 6:31 history suggested linuxisgood CC BY-SA 4.0
Complemented answer regarding SPI slave on 32U4 boards without SS exposed.
Mar 17, 2021 at 9:49 review Suggested edits
S Mar 18, 2021 at 6:31
Mar 13, 2021 at 6:18 comment added Nick Gammon Someone tried to edit in a comment that the Leonardo and ProMicro don't expose the SS pin, so I have amended the answer to reflect that.
Mar 13, 2021 at 6:17 history edited Nick Gammon CC BY-SA 4.0
Added a comment about the Leonardo and ProMicro not exposing the SS pin.
Mar 11, 2021 at 11:36 review Suggested edits
Mar 11, 2021 at 13:16
Mar 31, 2020 at 20:24 comment added starship15 See my post fpaynter.com/2020/03/… for a newbie's take on the problem
Nov 18, 2019 at 7:31 comment added Nick Gammon No, it would be triggered by the complete transfer of one byte, as the ISR can immediately access that (SPDR), as in the code shown.
Nov 17, 2019 at 13:37 comment added c6754 Is the slave interupt function triggered by the clock leading edge?
Jan 14, 2019 at 20:39 comment added qwr @PeterMortensen using Arduino 1.8.8 setting SPI params the old way still works
Jan 14, 2019 at 20:39 comment added qwr New SPI has SPI.transfer(buffer, size) arduino.cc/en/Reference/SPITransfer
Nov 1, 2017 at 16:13 comment added Peter Mortensen I think sub section "New functionality in IDE 1.6.0 onwards" should explicitly answer the question "What if I leave out SPI.beginTransaction?" (etc.). Similary, answer the question "Will old sketches work?" (backwards compatibility (with some fixed defaults?)) - I think they do; that is what I observed yesterday when trying with Arduino Uno, software version 1.6.5, and a DAC (MCP4901); but there could be caveats that I don't know of. "also" could maybe be "can also".
Jan 20, 2016 at 2:56 vote accept Nick Gammon
Sep 28, 2015 at 1:35 comment added AMADANON Inc. @NickGammon, I live in NZ, and I've been learning from EEVBlog videos for some time, so I don't think I'll have any problems. A music video would be good, though - how's your circular breathing?
Sep 27, 2015 at 21:23 comment added Nick Gammon @AMADANONInc. Perhaps a music video? Or an animation? I'm not sure if my Australian accent would be understandable. :P
Sep 27, 2015 at 20:52 comment added AMADANON Inc. When is the audiobook of this answer coming out, and will you be reading it yourself ;)
Sep 27, 2015 at 7:00 history edited Nick Gammon CC BY-SA 3.0
Added photos of output-only boards based on the MAX7219 chip.
Sep 26, 2015 at 21:22 comment added Nick Gammon Are you going to cover the weirdness that is the Due's SPI? - I don't know anything about the Due's SPI (apart from presuming the overall protocol is the same). You are welcome to add a reply covering that aspect of it.
Sep 26, 2015 at 11:34 comment added Igor Stoppa Other point about the selection: sometimes you really have no choice because the sensor you want/need to use is only available as I2C.
Sep 26, 2015 at 10:49 comment added Majenko Are you going to cover the weirdness that is the Due's SPI? Where the configuration of the SPI port is tied to the SS pin used, and there are (IIRC) 4 hardware SS pins assigned to the SPI port?
Sep 26, 2015 at 9:24 history edited Nick Gammon CC BY-SA 3.0
Answered question about why to use SPI.
Sep 26, 2015 at 2:38 history edited Nick Gammon CC BY-SA 3.0
Corrected spelling of µs.
Sep 26, 2015 at 2:23 history edited Nick Gammon CC BY-SA 3.0
Tidy ups.
Sep 26, 2015 at 2:15 history edited Nick Gammon CC BY-SA 3.0
Added more details about multiple slaves.
Sep 26, 2015 at 1:06 history answered Nick Gammon CC BY-SA 3.0