Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:netzer:spi-master [2015/12/23 17:22]
svesch [Firmware pro version] Added single slave example
en:netzer:spi-master [2015/12/23 17:37]
svesch [SPI master in single slave operation]
Line 129: Line 129:
 For using this SPI master in a single slave environment this example is provided here. For using this SPI master in a single slave environment this example is provided here.
 We assume that the slave is connected with the SPI_CS wire like shown below. We assume that the slave is connected with the SPI_CS wire like shown below.
 +
 +{{:​en:​netzer:​spi_master_connection.gif|}}
 +
 The SPI_CS shall be low active - a low level selects the slave. The SPI_CS shall be low active - a low level selects the slave.
 +The pull up resistor at CS is needed to prevent false selection.
 +This may occur on power up if CS is not driven by Netzer.
 +The pull up resistor at SPI_MI is needed to prevent floating in case the slave is not selected and therefore the pin is not driven.
 +
 The data string <​code>​01 23 45 67 89</​code>​ shall be sent to the SPI slave. The data string <​code>​01 23 45 67 89</​code>​ shall be sent to the SPI slave.
  

QR Code
QR Code SPI Master Ethernet Gateway (generated for current page)