isd4002 problems help required please


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Nick,

    I haven't used a PIC in this manner but I think the line:
    "TRISA = %00001111 'Bits 0-3 address select"
    is wrong. TRISA sets the data direction for PortA.

    Now if you had "TRISA = %00000000" then all of the lines of PortA are set as outputs. The next line should then be "PortA = %00001111".

    This would then turn PortA 0 - 3 on and 4 - 7 off.

    BobK

    Sorry, I didn't look at the date of the original post!

  2. #2
    Join Date
    Nov 2005
    Location
    Cambridge UK
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Hi BobK,

    PortA bits 0-3 are for a binary switch; they set the play address for the isd4002.

    charudatt,
    I have worked out all the problems myself, now it stores the address to eeprom and can be selected via the binary switch using a lookup table. Is this what you are after? Contact me via email in my personal info and I will send you the completed code.

    Regards
    Nick

  3. #3
    Join Date
    Nov 2005
    Location
    Cambridge UK
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Hi BobK,

    PortA bits 0-3 are for a binary switch; they set the play address for the isd4002.

    charudatt,
    I have worked out all the problems myself, now it stores the address to eeprom and can be selected via the binary switch using a lookup table. Is this what you are after? Contact me via email in my personal info and I will send you the completed code.

    Regards
    Nick

  4. #4
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Sent A Pm!

    Hi Nick,

    Sent You A Pm Some Days Back. Don't Know If You Got It.

    Regards
    Charudatt

  5. #5
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Fyi - Apr6016 Design

    JUST IN CASE IF SOME ONE WAS INTERESTED, I HAVE A SIMILAR PROJECT USING APR6016 IC.

    THIS CONNECTS TO A DEVELOPMENT BOARD FOR CONTROL.

    APR6016 IS MANUFACTURED BY APLUS AND THE DATASHEET CAN BE FOUND AT http://www.aplusinc.com.tw/data/reco...et/apr6016.zip

    REGARDS
    Attached Images Attached Images

  6. #6
    sathyakiruba's Avatar
    sathyakiruba Guest


    Did you find this post helpful? Yes | No

    Default Re: Fyi - Apr6016 Design

    dear sir,

    i need apr 6016 code for pic 16f877a

Similar Threads

  1. Problems with U2 programmer C30 compiled code
    By minimii in forum Off Topic
    Replies: 0
    Last Post: - 5th November 2009, 10:43
  2. 2.60 + MCSP problems
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 27th September 2009, 16:42
  3. ISD4002 Address Question
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th August 2009, 00:42
  4. Input problems
    By ALFRED in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd July 2006, 22:02
  5. Problems with 16F876 on interrupts an WRITE / READ
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2005, 15:38

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