Is ISD4002 sound recorder IC compatible with Basis Stamp 2
thangngoc
Posts: 23
Hi, I would like to know whether the ISD4002 sound recorder IC which has a SPI interface, would work with Basic Stamp 2? Otherwise I have to use PIC micro chip. Thanks
Comments
Remember that the ground (Vss) lines have to all be in common.
There are all sorts of examples of SPI usage with other devices using the SHIFTIN and SHIFTOUT statements. Nuts and Volts Column #33 is one example of the use of a DS1302 Real Time Clock (look here). In this example, the DS1302 uses the same line for MISO and MOSI since they're never both active at the same time. I don't remember if that's also true for the ISD4002, but, if not, just use two I/O pins, one for each, and use the appropriate pin number for the SHIFTIN and SHIFTOUT statements.