SPI enable lead time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI enable lead time

1,377 Views
vincentchou
Contributor IV

Hi!  Friend,

Has anyone had any idea about how to adjust the enable lead time for the SPI bus on Kinetis KL25 Freedom Board?  We have to enlarge the enable lead time in order to activate the SPI device correctly.  Any suggestion is greatly appreciated!

Vincent

Labels (1)
Tags (5)
0 Kudos
Reply
4 Replies

1,007 Views
vincentchou
Contributor IV

Hi!  Hui,


Thanks!  I got it.  I removed the SS pin in the SPI component and use a GPIO to run as a SS pin.  In that case, I tried to estimate the potential delay time required to drive the SS line.  Do you think there is a potential problem if I used this way?

Vincent

0 Kudos
Reply

1,007 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Vincent,

Using a GPIO pin to emulate SPI SS pin signal is a good solution way. I also see many customers use that way. There will bring no problem about SPI communication.

Best regards,

Ma Hui

0 Kudos
Reply

1,007 Views
vincentchou
Contributor IV

Hi!  Mr. Hui,

Thanks a lot for your help!

Vincent

0 Kudos
Reply

1,007 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

KL25 without register to add delay to chip select to SCK. Kinetis K series product use DSPI module, which supports set delay between SPI CS to SCK signal.

Thank you for the attention.

0 Kudos
Reply