Go Down

Topic: Arduino Pro Mini SPI clock speed problem (Read 1 time) previous topic - next topic


I have one arduino mini and one SOMO-14D Embedded Audio-Sound Module. I have to communicate with sound module by using SPI but sound module accepts 5kHz maximum clock frequency. I did not find any solution to change SCK frequency to 5kHz in arduino pro mini. Can anyone help me???


That module is not SPI.  You need to bit-bang the clk and data leads yourself perhaps?
[ I won't respond to messages, use the forum please ]


are u sure that module has not SPI because using in the serial mode talks like SPI


Does it have SCK/MISO/MOSI/SS lines that obey the SPI protocol and clock at MHz rates?  No, then its not really SPI compatible...
[ I won't respond to messages, use the forum please ]

Nick Gammon

Normal SPI doesn't hold CLK low for 2 mS before sending data. I doubt you can convince the hardware to do that. As MarkT says, a bit of bit-banging should do it.
Please post technical questions on the forum, not by personal message. Thanks!

More info:

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131