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.
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.
-------------------------------------------------------------------------------
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:
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.
-------------------------------------------------------------------------------