Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

ISD17240 voice recorder chip timing problem

Status
Not open for further replies.

cincailo

New Member
Hello everyone! I'm using a PIC to control for the recording and playback of the voice recorder chip, ISD17240. But then facing a problem to synchronize both the chip. Since I'm using the SPI method where PIC is master while ISD17240 is slave so every MISO and MOSI need clock to send or receive data. My PIC has a crystal which generate clock pulse but it is much higher than the ISD17240 needed. Any suggestion in making the two chips have the same clock? Or actually it is not the crystal to give the clock pulse to both PIC and ISD17240 clock pin for receiving and transmitting data?

Thanks.
 
It's not the crystal, there is a separate SPI clock pin (SCK) on the Pic chip for synchronous serial communications. Check un the USART section of the spec sheet, there are actually 4 pins for the SPI - SDI, SDO, SCK, and /SS.
 
Yes, I know there are 4 pins for SPI. So want to know that SCK = Fosc/4 ? The Fosc is crystal? Is it I just need to change the SCK to a value that suit the slave?
 
One of the SSPCON registers allows you to select the frequency for the SPI port clock signal. You can typically divide Fosc by 4, 16, and 64. If that is still too fast, you have the option to use one of the timers as the frequency generator for SCK.

The spec sheet is your friend, read the spec sheet.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top