PBP3/MPLABX - PIC18F46Q10: The sound function.


+ Reply to Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Mar 2025
    Location
    Quebec, Canada
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: PBP3/MPLABX - PIC18F46Q10: The sound function.

    Quote Originally Posted by tumbleweed View Post
    Also, you missed setting PORTC to digital mode (ANSELC), so any sound or serial functions for these pins will likely have issues.
    I changed it after my post. It was not that. I found out that even if a peripheral is disabled I had to assign a dummy port to it. (xxxPPS registers)
    For the SOUND FUNCTION (RC1) it was CCP2PPS (=0 now) same for the SERIN2/SEROUT2 FUNCTION (RB6 RB7) it was RX1PPS (=0 now) CK1PPS (=0 now)

    Thank you !

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: PBP3/MPLABX - PIC18F46Q10: The sound function.

    i see a code snippets that cannot be compiled.
    code snippets not in code tags.
    a code snippet that does not demonstrate how you have configured the device
    allegations of strange undocumented behavior that cannot be corroborated


    why don't you post the code you have tried. if you don't want to post the complete project then
    aim to post the simplest compliable program that shows the problem. code snippets generally
    don't cut it, we need to see the config settings, osc speed, var declarations, port settings etc....
    [use code tags] please, if you don't know how to do that then read the faq






    a minimal, complete and verifiable example MCVE is the best way to get help
    https://stackoverflow.com/help/minim...ucible-example
    Warning I'm not a teacher

Similar Threads

  1. Installing PBP3.1 with MPLAB 8 AND MPLABX
    By MikeBZH in forum General
    Replies: 34
    Last Post: - 4th April 2023, 19:41
  2. MPLABX v5.35 and PBP3
    By geoffpeters in forum General
    Replies: 1
    Last Post: - 17th February 2022, 17:43
  3. How to setup pbp3 with MPLABX?
    By thasatelliteguy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 20th November 2017, 12:46
  4. Integrate PBP3 in MPLABX.
    By Ziko87 in forum PBP3
    Replies: 0
    Last Post: - 21st May 2013, 13:41
  5. Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX
    By chicowoodhill in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 28th July 2012, 20:45

Members who have read this thread : 13

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