SPI
Posted: Mon Oct 15, 2018 10:30 pm
Hi,
I'm using Astrobe for FPGA RISC5 on ARTY and I'm new to Astrobe and Oberon system. The application i'm working on is IOT based where SPI is used to communicate with WIZNET W5500 (https://www.wiznet.io/product-item/w550 ... et-shield/).
Initially I tested the communication on Firmware (Without operating System) by providing instructions to PROM file. I used SS[1] (I figured SS[0], is dedicated to SD card PMOD). This part was quite easy because i tested on bare metal without any operating system.
Now that i have to move to software, Im concerned about single SPI being used for SD card and Wiznet chip. Im aware of the fact they have 2x MOSI,MISO,SS,SCLK but are there are chances that SPI talking to Wiznet might get interrupted by Operating system ?
Im not very sure if the threads are sequential, how frequently will the SPI be used for SD card. I was also thinking to make another instance of SPI and dedicate it to Wiznet. I would appreciate if you could share your thoughts.
regards,
Dinesh
I'm using Astrobe for FPGA RISC5 on ARTY and I'm new to Astrobe and Oberon system. The application i'm working on is IOT based where SPI is used to communicate with WIZNET W5500 (https://www.wiznet.io/product-item/w550 ... et-shield/).
Initially I tested the communication on Firmware (Without operating System) by providing instructions to PROM file. I used SS[1] (I figured SS[0], is dedicated to SD card PMOD). This part was quite easy because i tested on bare metal without any operating system.
Now that i have to move to software, Im concerned about single SPI being used for SD card and Wiznet chip. Im aware of the fact they have 2x MOSI,MISO,SS,SCLK but are there are chances that SPI talking to Wiznet might get interrupted by Operating system ?
Im not very sure if the threads are sequential, how frequently will the SPI be used for SD card. I was also thinking to make another instance of SPI and dedicate it to Wiznet. I would appreciate if you could share your thoughts.
regards,
Dinesh