- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi :
I want to know if there is any sample code to use the CYW20735 SPI , if I can do the SPI communication on the CYW920735q60EVB-01.
it seems that the SPI pin is not routed to the pin header. Refer to the manual of CYW20735,it seems that there is only a set of SPI interface for the CYW20735
Serial Peripheral Interface
SPI_MISO 40 PIN
SPI_MOSI 39 PIN
SPI Master OSPI_CSN 38 PIN
SPI Chip SelSPI_CLK 35 PIN
thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am sorry, we do not have ready example code for 20735 SPI.
However you may use the APIs given in wiced_hal_pspi.h and try.
The pins which you have mentioned is used to interface Sflash. You may use any other GPIOs. All GPIOs are supermux. All GPIOs can be programmed for any alternative functions. For example, key scan, SPI, I2C, IR_TX, quadrature, peripheral UART, ADC, etc. Check fn wiced_hal_gpio_select_function in wiced_hal_gpio.h
You may refer to CYW20719 sample code : /20719-B1_Bluetooth/apps/snip/hal/spi_master
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am sorry, we do not have ready example code for 20735 SPI.
However you may use the APIs given in wiced_hal_pspi.h and try.
The pins which you have mentioned is used to interface Sflash. You may use any other GPIOs. All GPIOs are supermux. All GPIOs can be programmed for any alternative functions. For example, key scan, SPI, I2C, IR_TX, quadrature, peripheral UART, ADC, etc. Check fn wiced_hal_gpio_select_function in wiced_hal_gpio.h
You may refer to CYW20719 sample code : /20719-B1_Bluetooth/apps/snip/hal/spi_master
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you,I get it
发自我的iPhone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnjanaM_61:
I find out a question about the CYW20735 SPI, I can't use the SPI2,I can only use the SPI1,however I can't find the SPI2 definition in the wiced_hal_pspi.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In CYW20735, only one SPI can be used for application. The other one is for SPI sflash.
The APIs for SPI uses the one for application. So customer don't have to bother about the second one.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content