SOLVED - IOC works on B0 but not B5


+ Reply to Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    Quote Originally Posted by rocket_troy View Post
    I don't understand how you seem to have disabled the PPS for pins B0 and B5 without allocating something to them. Don't they need something allocated to them whether it's a port access or peripheral whatever if you plan to use the pins?

    Apologies, I'm still learning this stuff,

    Troy

    Yeah, so am I.

    I looked for a way to move "treat this like a GP pin" via PPS settings, but I don't see anything like that.

    Unless you just can't recycle CCP pins, unless you move another peripheral to it (which is very possible).
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Dec 2010
    Location
    Melbourne Australia
    Posts
    169


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    Quote Originally Posted by Demon View Post
    Yeah, so am I.

    I looked for a way to move "treat this like a GP pin" via PPS settings, but I don't see anything like that.

    Unless you just can't recycle CCP pins, unless you move another peripheral to it (which is very possible).
    I was thinking outputs not inputs - [slapping forehead] my bad

    Troy

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    Quote Originally Posted by rocket_troy View Post
    I was thinking outputs not inputs - [slapping forehead] my bad

    Troy
    I'm no better; look at the previous post when I was blindly setting inputs when I was using outputs only.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    If MCC can produce all the config code, why not use this tool?

    For some reason I have not found why I am not able to use it on my PC. But I guess Richard can as we discussed that some time ago.

    Ioannis

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    Quote Originally Posted by Ioannis View Post
    If MCC can produce all the config code, why not use this tool? ...
    What is MCC, and what tool are you talking about?
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    MCC is the tool. MPLAB Code Configurator.
    Select a device, select peripheral(s), select configuration for those peripheral(s) and it outputs configuration code for you (in C syntax).

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    This tool comes in two flavors. Stand alone and plug-in for MPLABX

    Here it is https://www.microchip.com/en-us/tool...e-configurator

    There are tutorials also in YouTube

    Ioannis

Similar Threads

  1. Replies: 12
    Last Post: - 7th September 2024, 15:10
  2. Replies: 8
    Last Post: - 30th August 2024, 19:45
  3. Replies: 4
    Last Post: - 22nd March 2023, 11:32
  4. DS3231 works in one config, but does not works with other IC.
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd December 2019, 19:52

Members who have read this thread : 11

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