Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: SPI Setup for multiple devices on one bus with ssp 1.2.0-beta.1

$
0
0
Hi Karol, I have the same situation as the post above and I try to follow your suggestion. The "SPI Driver on r_rspi" requires a user to "Select SSL(Slave Select)" pin. The selected SSL is activated when the application calls g_sf_spi_device.p_api->write(). 1) If I need to support multiple slave devices and use different GPIOs for different SSLs, do I need to avoid connecting a slave device to the "Select SSL" pin that I configure through RSPI, otherwise the g_sf_spi_device will activate that pin every time g_sf_spi_device.api->write() is called. (We are in a process of designing a hardware and want to be sure that we wire the SSL/GPIOs correctly). 2) And to use GPIO as SSL, does it mean that the software has to activate the GPIO/SSL before calling g_sf_spi_device.p_api->write()? Thank you

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>