ISD1730 SPI Commands
Posted: Sat Jan 05, 2013 10:50 pm
Hello,
Trying to interface a 16F916 to an ISD Voice Chip using SPI commands.
The command structure for the PLAY Message op code is as follows:
BYTE 0 BYTE1
0x40 0x00
Looks like the Flowcode Send_Char only transmits 1 byte at a time I would need to do the following
SPI_INIT
SEND_CHAR 0x40 Play Opcode Byte
SEND_CHAR 0X00 Data Byte 1
SPI_UNINIT
Is the line SS held low between SPI_Init and SPI_UnInit regardless of how many SEND_CHAR's are in between? Some of the opcodes have up to 7 bytes and the chip expects SS to remain low during the time they are being sent.
Also, It's not clear in flowcode which pins are used for SS, SCLK and MOSI, MISO and how they are set
Hopefully this makes sense to someone
Thanks in advance !!
Trying to interface a 16F916 to an ISD Voice Chip using SPI commands.
The command structure for the PLAY Message op code is as follows:
BYTE 0 BYTE1
0x40 0x00
Looks like the Flowcode Send_Char only transmits 1 byte at a time I would need to do the following
SPI_INIT
SEND_CHAR 0x40 Play Opcode Byte
SEND_CHAR 0X00 Data Byte 1
SPI_UNINIT
Is the line SS held low between SPI_Init and SPI_UnInit regardless of how many SEND_CHAR's are in between? Some of the opcodes have up to 7 bytes and the chip expects SS to remain low during the time they are being sent.
Also, It's not clear in flowcode which pins are used for SS, SCLK and MOSI, MISO and how they are set
Hopefully this makes sense to someone
Thanks in advance !!