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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,283件の閲覧回数
zzabrahamzz
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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
3 返答(返信)

1,183件の閲覧回数
kerryzhou
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 件の賞賛
返信

1,183件の閲覧回数
zzabrahamzz
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 件の賞賛
返信

1,183件の閲覧回数
kerryzhou
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 件の賞賛
返信