Isd4002


Closed Thread
Results 1 to 5 of 5

Thread: Isd4002

  1. #1
    IceCube's Avatar
    IceCube Guest

    Default Isd4002

    Hi Forum,
    Does anyone have some BASIC code to get me started
    communicating with this chip?
    Thank you

  2. #2
    sonic's Avatar
    sonic Guest


    Did you find this post helpful? Yes | No

    Question ISD problems

    Hi Ice!
    I suppose that we have the same problems with ISD chipcorders.
    Actually there is now two weeks of trying to do something with ISD33120 it`s pretty the same **** as ISD4002.

    Just to know you have a lot of FAQ on ISD web site..

    Good luck

  3. #3
    IceCube's Avatar
    IceCube Guest


    Did you find this post helpful? Yes | No

    Default Re: ISD problems

    Hi Sonic,
    I finally got it to work!!
    Studying the TIMING CHART revealed my problem.
    Good luck to you.

  4. #4
    atomski's Avatar
    atomski Guest


    Did you find this post helpful? Yes | No

    Default

    Could you share it with us, please? This section is called
    CODE EXAMPLES, after all

    YZ7REA Vladimir

  5. #5
    IceCube's Avatar
    IceCube Guest


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Sorry for the tardiness. (I have been away)

    The following routines work for me...
    The code is incomplete but should give some ideas.


    CmdPwrUp con $20
    CmdPlay con $F0
    CmdRec con $B0
    CmdStop con $30
    CmdStopPwrDn con $10

    MOSI var PortC.4 'Output
    MISO var PortC.5 'Input
    SCLK var PortC.6 'Output
    SS var PortC.7 'Output
    ISDInt var PortD.3 'Input


    RecordAudio: ' Record message
    LOW SS 'Enable isd4002
    SHIFTOUT MOSI,SCLK,0,CmdPwrUp\8]
    HIGH SS 'DisAble isd4002
    PAUSE 20
    debug "Recording... Adr=",hex4 ISDAdress,cr,lf 'Show ddr
    ISDAdress.13=1:ISDAdress.15=1 'Set PwrUp and RUN bits
    LOW SS 'Select isd4002
    SHIFTOUT MOSI,SCLK,0,[ISDAdress\16]
    HIGH SS 'De-Select isd4002
    debug "Recording till TIME out",cr,lf 'Instruct to REC
    pause time 'record TIME
    gosub StopOp 'Issue StopOperation cmd
    debug "StopOp Recording issued.",cr,lf 'Show progress
    return

    StopPwrDn: ' Reset ISDInt and power down cmd
    LOW SS
    SHIFTOUT MOSI,SCLK,0,[CmdStopPwrDn\8]
    HIGH SS
    pause 20
    return

    StopOp: ' Stop Operation
    LOW SS
    SHIFTOUT MOSI,SCLK,0,[CmdStop\8]
    HIGH SS
    pause 20
    return

    PLAY: ' Play Audio
    LOW SS
    SHIFTOUT MOSI,SCLK,0,CmdPwrUp\8]
    HIGH SS
    PAUSE 20
    HIGH SS
    PAUSE 20
    debug "Playing... Adr=",hex4 ISDAdress," " ISDAdress.15=1:ISDAdress.14=1:ISDAdress.13=1
    LOW SS
    SHIFTOUT MOSI,SCLK,0,[ISDAdress\16] 'SetPlay cmd
    HIGH SS
    pause 20
    return



    I am new to pasting code and I hope my EDITS did not
    destroy any of the code.

    Good luck

Similar Threads

  1. Pic+isd4002
    By eyalf in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2012, 05:32
  2. isd4002 problems help required please
    By Agent36 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2012, 06:57
  3. ISD4002 Address Question
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd August 2009, 23:42
  4. Shot meself in the foot again...
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 6th July 2007, 19:30
  5. Ask For Help
    By Bakari in forum mel PIC BASIC
    Replies: 18
    Last Post: - 22nd September 2006, 16:42

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts