e2forlife / PSoC-W5100-Driver

Software Driver to use the WIZnet W5100 Ethernet device with the Cypress PSoC processors
8 stars 3 forks source link

Data rate is adversly affected by READ_WRITE_DELAY parameter #3

Closed e2forlife closed 10 years ago

e2forlife commented 10 years ago

The READ_WRITE_DELAY causes unnecessary delays after transmitting packets between the PSoC and the W5100.

e2forlife commented 10 years ago

I modified the driver SPI access functions to no longer use a hard wait for the operation to complete, rather they now look at the state of the SS line (SCB mode) or the SPI_DONE flag in the TX Status register (SPIM mode). Additionally, the READ_WRITE_DELAY parmeter has been removed from the component V1.1 to prevent confusion.