AnsweredAssumed Answered

Duty cycle in Kinetis SPI

Question asked by Muhammad Saad Nawaz Employee on Jul 2, 2015
Latest reply on Jul 6, 2015 by Earl Orlando Ramirez Sanchez



I am using K22 uC at max 120Mhz clock and would like to run SPI at @speed of 20MHz with 50/50 duty cycle. The max speed for SPI at 120MHz clock is 30MHz while through double baud rate(multiplied by 1 or 2), baud rate prescalers (2,3,5 and 7) and scalers (2,4,6,8,16,32,64,...), it can be dropped down to several other options. But for the cases when prescaler is not 2 and double baud rate is enabled, the duty cycle varies and is not 50/50 anymore.


Is there a way that I can run SPI for bus speed of 20MHz with 50/50 duty cycle?