• AVR Freaks

Hot!PIC32MM CLC documentation

Author
al_bin
Super Member
  • Total Posts : 169
  • Reward points : 0
  • Joined: 2011/02/11 06:28:47
  • Location: 0
  • Status: offline
2019/02/08 06:14:23 (permalink)
0

PIC32MM CLC documentation

 
The CLC in the PIC32MM0256GPM028 processor works, but the data sources are completely incompatible with the documentation.
For the tested processor (rev2) in the SSOP28  housing, for example
According to datasheet:
DS3 <2: 0>: Data Selection MUX 3 Signal Selection bitsFor CLC1:
111 = Unused // tested OCM5
110 = MCCP1 OCMP compare match event // tested OCM4
101 = DMA Channel 0 interrupt // tested OCMP4 OUT
100 = ADC end of conversion
011 = UART1 TX out // tested SDO1
010 = CMP1 out // tested CMP2
001 = CLC2 out // tested CLC1
000 = CLCINB I / O pin // tested CLCINA

DS1 <2: 0>: Data Selection MUX 1 Signal Selection bitsFor CLC1:
111 = SCCP5 OCMP compare match event // Tested MCCP1
110 = MCCP1 OCMP compare match event
101 = RTCC event // tested MCCP1
100 = CMP3 out // tested REFCLK
011 = SPI1 SDI1 in // tested LPRC
010 = SCCP5 OCM5 output
001 = CLC2 out // tested PBCLK
000 = CLCINB I / O pin // tested CLCINA

Anyone have any Microchip data on this topic?
Anyone can verify these observations ?, In other packages/memory variants ?,
Has data from other MUX/CLC instances?
 


Albert
post edited by al_bin - 2019/02/08 06:23:54
#1

7 Replies Related Threads

    crosland
    Super Member
    • Total Posts : 1586
    • Reward points : 0
    • Joined: 2005/05/10 10:55:05
    • Location: Bucks, UK
    • Status: offline
    Re: PIC32MM CLC documentation 2019/02/08 07:30:14 (permalink)
    0
    I would suggest raising a support ticket, then report back here with the response.
    #2
    cvm
    Super Member
    • Total Posts : 292
    • Reward points : 0
    • Joined: 2011/09/16 05:16:15
    • Location: 0
    • Status: offline
    Re: PIC32MM CLC documentation 2019/02/08 10:27:57 (permalink)
    0
    You could be right, but your DS3 results match DS2, so possibly check if you are getting to the right bits in CLCxSEL. Also. a 28pin qfn and a 28pin ssop have pin numbers that do not match (shifted by 3), if you are using the qfn table in the datasheet to determine your pins, your pps/rpn will be incorrect also.
    #3
    Witek_Polska
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2017/10/30 08:34:58
    • Location: 0
    • Status: offline
    Re: PIC32MM CLC documentation 2019/06/06 01:22:30 (permalink)
    0
    I have got same problem with CLC on pic32mm0256GPM48. I configured like in github repo but still is not working. Signal from UART or PWM or another source is  not appear on clc pin OUT. I changed conf. bits without any success
    My clc example : https://github.com/witoldinho/CLC_test
     
    #4
    al_bin
    Super Member
    • Total Posts : 169
    • Reward points : 0
    • Joined: 2011/02/11 06:28:47
    • Location: 0
    • Status: offline
    Re: PIC32MM CLC documentation 2019/07/08 14:10:38 (permalink)
    4 (1)
    Version D of datasheet from 04/23/2019 has corrected values.
     
    Albert
    #5
    Witek_Polska
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2017/10/30 08:34:58
    • Location: 0
    • Status: offline
    Re: PIC32MM CLC documentation 2019/07/29 02:52:01 (permalink)
    0
    al_bin
    Version D of datasheet from 04/23/2019 has corrected values.

    Albert

    please link
    #6
    ric
    Super Member
    • Total Posts : 23196
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC32MM CLC documentation 2019/07/29 02:58:04 (permalink)
    0
    Witek_Polska
    al_bin
    Version D of datasheet from 04/23/2019 has corrected values.

    Albert

    please link


    It's not that hard.
    Go to the Microchip.com website.
    Search for pic32mm0256GPM48 which will take you to that PIC's product page at
    https://www.microchip.com/wwwproducts/en/PIC32MM0256GPM048
    the link to the latest datasheet is right there.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #7
    Witek_Polska
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2017/10/30 08:34:58
    • Location: 0
    • Status: offline
    Re: PIC32MM CLC documentation 2019/08/17 04:49:12 (permalink)
    0
    newest MCC 3.81 is still not compatible with doc. vers. D , example is CLC configuration
    #8
    Jump to:
    © 2019 APG vNext Commercial Version 4.5