Skip to main content

Timeline for How to read data using Arduino SPI

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
May 1, 2016 at 2:04 comment added st2000 The STPM10 timing diagram found on page 11 of it's spec does not look like a standard SPI transaction. I am inclined to say you can not use the Arduino SPI library. Instead, you may need to bit-bang this out totally in software. For instance, I do not believe there is a "SYN" line in the standard SPI bus. And I don't believe the Chip Select line should go high before the end of the SPI transaction.
Apr 29, 2016 at 6:04 comment added Lorenz Ardiente I use STPM10 evaluation board. The connection is a simplex synchronous SPI, and the MOSI of the Arduino is not connected to anything. There is a timing diagram to switch from read only and write only. My problems is to how to read the data from the registers of the chip. I used SPI.transfer but I don't think the data is reliable.
Apr 27, 2016 at 14:48 history edited st2000 CC BY-SA 3.0
added 432 characters in body
Apr 27, 2016 at 14:41 history edited st2000 CC BY-SA 3.0
added 432 characters in body
Apr 27, 2016 at 14:09 history edited st2000 CC BY-SA 3.0
added 940 characters in body
Apr 27, 2016 at 13:53 history edited st2000 CC BY-SA 3.0
added 940 characters in body
Apr 27, 2016 at 13:26 comment added st2000 We really need to see the specifications of the slave SPI device to compose a more specific answer.
Apr 27, 2016 at 13:21 history answered st2000 CC BY-SA 3.0