about psoc1 spi appliction

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

cross mob
hayc_4840776
Level 1
Level 1
10 questions asked 5 questions asked 5 sign-ins

i have a 8-segment indicator  ,want to use it by spi like this picture  master, slave is 74hc595  (slave Devices only one ),i want to know how to set ss pin

if ss pin free ,can be use another founction like pwm output,?  thank you

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

You can use SPI Master's TxComplete interrupt or status, to give a pulse on SS Output which should be connected to 74HC595's latch clock. Kindly refer to the SPI Master's datasheet API SPIM_bReadStatus.

Best regards,

Sampath Selvaraj

View solution in original post

0 Likes
2 Replies
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

You can use SPI Master's TxComplete interrupt or status, to give a pulse on SS Output which should be connected to 74HC595's latch clock. Kindly refer to the SPI Master's datasheet API SPIM_bReadStatus.

Best regards,

Sampath Selvaraj

0 Likes

595appliction.png

if display only, 3 lines is ok?  mosi, sck,ss, 

miso can be set another founction,  pwm ,adc ,etc ?

thank you

0 Likes