AnsweredAssumed Answered

How do you change SPI speed after it's set?

Question asked by Myke Predko on Jan 25, 2016
Latest reply on Feb 6, 2016 by Myke Predko

Hey gang,

 

I am making progress with my Kinetis/KSDK 1.3/PE 3.0.2 SD Card software for SPI on a FRDM-K22F Board (going to a custom K22 board in the future). 

 

One question, how do I increase the SPI speed after I set it originally using the DSPI_DRV_MasterConfigureBus (I'm using Interrupt based SPI right now) to 375kbps?  After the card is initialized, I should be able to run it at a faster data rate. 

 

I want to run at at least 10 MHz. 

 

I'm using a K22F and when I look at the SPI clocking options in PE, I see that the maximum (using the default Clock cfg.4) is 2.4 MHz although that's "From" and "To" says 12 MHz.  Can anybody explain this?

 

I am hoping to publish my software here in a few days.

 

 

Thanx,

 

myke

Outcomes