Shop OBEX P1 Docs P2 Docs Learn Events
ISD33240 Chipcorder — Parallax Forums

ISD33240 Chipcorder

RDaviesRDavies Posts: 3
edited 2006-04-13 00:37 in BASIC Stamp
Hello all,

I am trying to interface a BS2 with an ISD33240 ChipCorder which is the 240 second version of the 33000 series. I have downloaded all the application notes, product briefs and datasheets and I am still having difficulty understanding how to communicate via the SPI (serial peripheral interface). The chip has four microcontroller interface pins named: SS, SCLK, MOSI, and MISO.

SS slave select pin (or chip select)
SCLK serial clock pin
MOSI master out slave in
MISO master in slave out

The data sheets give timing diagrams for these pins but does not specify if the serial-in is LSB first or MSB first. My question is does the BasicStamp2 support SPI and if so how do I clock data into the device while simultaneously clocking data out of the device (basically as one bit is shifted in on MOSI, one bit is shifted out on MISO).

Any help would be greatly appreciated,
Ricky

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-04-13 00:37
    You cannot clock data in and out at the same time using built-in functions (SHIFTIN and SHIFTOUT); but you can certainly sythesize theis behavior in code (I did it for the PSX controller code).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.