Support two SPI slave devices with different CPOL

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello

   

I 'm trying to connect two SPI slave chips on my board.  I need to dynamically change the cpol setting, as the CPOL of the two chips are with different. How can I change the CPOL setting runtimely?

   

Thanks a lot!

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

You may use an "Unconfigured SCB" and configure it as SPI (See datasheet). When stopped, you may change the configuration data and re-configure the interface with different parameters.

   

 

   

Bob

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

You may use an "Unconfigured SCB" and configure it as SPI (See datasheet). When stopped, you may change the configuration data and re-configure the interface with different parameters.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

I got. thank your help very much!

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome!

   

 

   

Bob

0 Likes