Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

JEv_295166
New Contributor II

I'm looking to maximize the performance of a simple USB mass storage device with an SPI connected SD Card. Typically one would dynamically vary the SPI bit rate to best match the SD card in use as performance varies wildly according to brand/class/capacity etc.

   

There is no obvious API for setting the SPI master component bit rate. Can anyone point out what I have missed?

   

TAIA

   

Jerry.

0 Likes
1 Solution
Bob_Marlowe
Expert II

You could configure the SPI for "external clock".There are a few APIs to set the frequency of that clock. Have a look into the System Reference Guide (from creator Help).

   

 

   

Bob

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Expert II

You could configure the SPI for "external clock".There are a few APIs to set the frequency of that clock. Have a look into the System Reference Guide (from creator Help).

   

 

   

Bob

View solution in original post

0 Likes
JEv_295166
New Contributor II

Thank you Bob, that is an excellent suggestion, and precisely what I had overlooked.

   

I will investigate the options.

0 Likes
Bob_Marlowe
Expert II

You are always welcome!

   

 

   

Bob

0 Likes