I can't use the SPI with Chip Enable continuous in the K32L2B3

cancel
Showing results for 
Search instead for 
Did you mean: 

I can't use the SPI with Chip Enable continuous in the K32L2B3

213 Views
Contributor II

Hi, I want to use the SPI in Master Mode with the CS continuous, I'm using MCUXpresso IDE but I can't see this option. I read about to the SPI in the reference manual of K32LB3 but doesn't mention this option.

Thanks.

Labels (1)
Tags (2)
0 Kudos
3 Replies

113 Views
NXP TechSupport
NXP TechSupport

Hi Abraham Rosas ,

  Do you want to the CS pull low in each byte or always low to meet your external SPI chip requirement?

  If you want to control the CS pin freely, you also can use the GPIO to control it instead of the hardware SPI module CS function.

Wish it helps you!

If you still have questions about it, pelase kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

113 Views
Contributor II

Hi kerryzhou‌ Thanks for your answer.

Currently, I use the GPIO to control CS function, only quested to know if its possible configure this function in the SPI configurations as in the DSPI

Best regards :smileyhappy:

0 Kudos

113 Views
NXP TechSupport
NXP TechSupport

Hi Abraham Rosas,

   You can try the interrupt mode if send the data frame with the interrupt mode, and the code in the interrupt is as small or simple as possible, the CS pin may also make the CS pin continuous in each interrupt transfer bytes.

  

Wish it helps you!

If you still have questions about it, pelase kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos