You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admittedly, I haven't done the research on this, but for many microcontrollers, 40MHz on the SPI exceeds the limits. Perhaps a default value of something lower that is more clearly configurable, or perhaps the accompanying example application can pass in a lower default value that will be more compatible across platforms.
@param freq Clock speed of the SPI bus (defaults to 40MHz)
*/
SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinName csel, int freq=40000000);
The text was updated successfully, but these errors were encountered:
Good point, what if we added frequency as a config option and used that here? That way specific targets can override the default with their minimum frequency.
Admittedly, I haven't done the research on this, but for many microcontrollers, 40MHz on the SPI exceeds the limits. Perhaps a default value of something lower that is more clearly configurable, or perhaps the accompanying example application can pass in a lower default value that will be more compatible across platforms.
@param freq Clock speed of the SPI bus (defaults to 40MHz)
*/
SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinName csel, int freq=40000000);
The text was updated successfully, but these errors were encountered: