Pic18f4455


Closed Thread
Results 1 to 5 of 5

Thread: Pic18f4455

  1. #1
    Join Date
    Mar 2007
    Posts
    7

    Cool Pic18f4455

    Hello,

    how can I set configuration bit for Low Voltage Program that my RB5 is I/O (not PGM) for my PIC18F4455, I can not find it in .INC file, (I use assembly language).

    thanks

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Look in the P18F4455.inc file in your MPASM directory. There's a list of all config options.

    New way;
    ; Single-Supply ICSP Enable bit:
    LVP = OFF Single-Supply ICSP disabled
    LVP = ON Single-Supply ICSP enabled

    Old way;
    _LVP_OFF_4L EQU H'FB' ; Single-Supply ICSP disabled
    _LVP_ON_4L EQU H'FF' ; Single-Supply ICSP enabled
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Mar 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Hello Bruce,

    thank you for your advice, I have overlooked it in .INC file. It is OK now.

    Can you tell me please, for PIC18F4455, can I turn off SPP0, SPP1, SPP2 and SPP3 with configuration bits or I have to do it on some other way?

    thanks

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Read the section on Streaming Parallel Port in the data sheet. If that doesn't answer your
    question let me know....;o}
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Mar 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Hello Bruce,
    I have found it, thanks for advice,

    regards

Similar Threads

  1. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 15:26
  2. Pic18F4455 to PC communication RS232
    By anmproj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th July 2005, 02:32

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