SPI UDB multi slave example

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

cross mob
Anonymous
Not applicable

Hi all,

   

Is there any SPI master ( UDB mode ) example codes that illustrates how to use multiple slaves with it ? 

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

The selection works in hardware via the ss-line. Have a look into SPIM datasheet page 4.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

yes I did proceed with that step ( using control register), but unfortunately not even obtaining the clock in the slave device.

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

Wrong pin for clock? Bypassed with a cap? What underlying hardware are you using?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

The SPI ( SCB mode ) seems to work fine with it.

   

Using a customboard developed.

0 Likes