• AVR Freaks

Hot!Harmony 3: Re-calculation issue of Calculated Clock Frequency

Author
yts
Super Member
  • Total Posts : 625
  • Reward points : 0
  • Joined: 2005/09/06 17:45:30
  • Status: offline
2020/04/28 21:41:43 (permalink)
0

Harmony 3: Re-calculation issue of Calculated Clock Frequency

Harmony 3 latest version (see version.png),
PIC32MX270F256B-50

I)    New product creating stage: (see fig1.png)
Primary Oscillator Input Frequency and Calculated Clock Frequency are set to be 8MH and 48MHz, respectively.

II)    BSP setting stage: (see fig2.png)
Primary Oscillator Input Frequency can be set successfully to be 20MHz with my BSP (PIC32MX270 YTS BSP; see “bsp.py”). However, Calculated Clock Frequency is not re-calculated. This is a problem. When the clock setting is change, Calculated Clock Frequency must be always re-calculated.

III)    Clock Configuration opening stage: (see fig3.png)
Only after Click Configuration is clicked to open Clock Diagram, Calculated Clock Frequency is re-calculated successfully to be 50MHz.

yts


Attached Image(s)

#1

5 Replies Related Threads

    arpananand
    Super Member
    • Total Posts : 495
    • Reward points : 0
    • Joined: 2009/11/18 04:35:42
    • Location: 0
    • Status: offline
    Re: Harmony 3: Re-calculation issue of Calculated Clock Frequency 2020/04/29 01:44:54 (permalink)
    0
    that is a known thing, "clock configuration" has to be launched for any clock related changes. Tree view alone is not sufficient. it is always recommended to do any clock changes through Clock manager/configurator only.
    #2
    yts
    Super Member
    • Total Posts : 625
    • Reward points : 0
    • Joined: 2005/09/06 17:45:30
    • Status: offline
    Re: Harmony 3: Re-calculation issue of Calculated Clock Frequency 2020/04/29 02:33:19 (permalink)
    0
    Hi. arpananand,
     
    Thank you for your information.
     
    I hope that Calculated Clock Frequency is automatically re-calculated when a BSP file is loaded.
     
    yts
     
     
    #3
    arpananand
    Super Member
    • Total Posts : 495
    • Reward points : 0
    • Joined: 2009/11/18 04:35:42
    • Location: 0
    • Status: offline
    Re: Harmony 3: Re-calculation issue of Calculated Clock Frequency 2020/04/29 02:42:42 (permalink)
    0
    it will be if your clock configurator is open.
    #4
    yts
    Super Member
    • Total Posts : 625
    • Reward points : 0
    • Joined: 2005/09/06 17:45:30
    • Status: offline
    Re: Harmony 3: Re-calculation issue of Calculated Clock Frequency 2020/06/27 16:59:47 (permalink)
    4 (1)
    The latest version of BPS is 3.7.0 v now.
     
    I hope again that Calculated Clock Frequency is automatically re-calculated when a BSP file is loaded.
     
    "Opening clock configurator" is manual operation. If I develope many (say 100) firmwares, I have to open clock configurator 100 times.
     
     
    yts
    post edited by yts - 2020/06/27 17:00:49
    #5
    arpananand
    Super Member
    • Total Posts : 495
    • Reward points : 0
    • Joined: 2009/11/18 04:35:42
    • Location: 0
    • Status: offline
    Re: Harmony 3: Re-calculation issue of Calculated Clock Frequency 2020/06/30 02:34:32 (permalink)
    0
    it will be looked into.
    #6
    Jump to:
    © 2020 APG vNext Commercial Version 4.5