• AVR Freaks

Hot!PIC32MZ Changing Peripheral BUS Frequency from PBCLK4 to PBCLK7

Author
Acelink2
Starting Member
  • Total Posts : 83
  • Reward points : 0
  • Joined: 2016/08/18 16:56:38
  • Location: 0
  • Status: offline
2021/02/28 18:00:57 (permalink)
0

PIC32MZ Changing Peripheral BUS Frequency from PBCLK4 to PBCLK7

Hi Guys, I've just noticed in the PIC32MZEFH Manual that the IO Ports bus speed runs from PBCLK4 which maximum speed is 200Mhz. It also states that the Peripheral bus can use PBCLK7 which max speed is 252Mhz. With the project I'm working on the extra 52Mhz would be sensational.
How do I assign the Peripheral Bus frequency to use PBCLK7 instead of PBCLK4.
At the moment I have the PLL set at 250Mhz.
Any help on this would be good.
 
Thanks guys, hope to hear from you soon.
Pete :) 
 
#1

2 Replies Related Threads

    Mysil
    Super Member
    • Total Posts : 4130
    • Reward points : 0
    • Joined: 2012/07/01 04:19:50
    • Location: Norway
    • Status: offline
    Re: PIC32MZ Changing Peripheral BUS Frequency from PBCLK4 to PBCLK7 2021/02/28 19:41:27 (permalink)
    5 (1)
    Hi,
    Seem to me that there may be some misunderstanding.
    PIC32MZ devices have several peripheral buses, that each may be set to one of several frequency divider settings.
    Note that frequency divider values are Integer numbers: 1, 2, 3, 4, ...   No fractional numbers are possible.
     
    Each peripheral bus have several peripherals connected, but those connections are fixed,
    and documented in the Datasheet.
    Peripherals connected to the different peripheral buses, have different frequency limitations,
    and you cannot bypass those limitations by trickery with a different bus.
     
    So if PBCLK7 is running at 252 MHz, then PBCLK4 will have to be divided down to 126 MHz to stay within limitation.
    Not because of the peripheral bus, but because of the IO Ports hardware connected to the peripheral bus.
     
    You may experiment with overclocking any part of the device, but then you will be outside specification properties.
     
        Mysil
     
    #2
    Acelink2
    Starting Member
    • Total Posts : 83
    • Reward points : 0
    • Joined: 2016/08/18 16:56:38
    • Location: 0
    • Status: offline
    Re: PIC32MZ Changing Peripheral BUS Frequency from PBCLK4 to PBCLK7 2021/03/01 03:00:28 (permalink)
    0
    Thank you Mysil for the info. I thought you could assign clocks to peripheral buses. 
    Pete. :)
     
    #3
    Jump to:
    © 2021 APG vNext Commercial Version 4.5