Clock Switching in Harmony

Author
Rafauy
Starting Member
  • Total Posts : 57
  • Reward points : 0
  • Joined: 2015/07/16 10:38:53
  • Location: 0
  • Status: offline
2018/11/09 11:03:13 (permalink)
0

Clock Switching in Harmony

Hi!
 
I wonder if its possible to perform clock switching in Harmony (or change the speed by bypassing the PLL). I mean I can do it in practice, but I have to change the frequency of the timers manually, this is not such a huge problem but what worries me the most is that inside system_config.h the following define is generated (by Harmony Configurator):
 
#define SYS_CLK_FREQ                        200000000ul
 
I wonder if this define is used by Drivers and System Services, if so it could produce unexpected behaviour.
What do you think?
Thanks
R
#1

5 Replies Related Threads

    JPortici
    Super Member
    • Total Posts : 432
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: Clock Switching in Harmony 2018/11/09 12:29:17 (permalink)
    0
    I remember reading other topics on this subject and the outcome was that in current harmony (2.06) there is no routine to change the system frequency/clock source that will also get track of all the other clocks and periods and BRGs that have to be updated along with it :(
     
    That would be a nice addition. Of course, one can always write his own routine..
    #2
    JPortici
    Super Member
    • Total Posts : 432
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: Clock Switching in Harmony 2018/11/09 12:29:17 (permalink)
    0
    edit: duplicated, stupid internet connection..
    #3
    JPortici
    Super Member
    • Total Posts : 432
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: Clock Switching in Harmony 2018/11/09 12:29:17 (permalink)
    0
    Edit: duplicated x2. Stupid internet connection..
    post edited by JPortici - 2018/11/09 12:30:37
    #4
    JPortici
    Super Member
    • Total Posts : 432
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: Clock Switching in Harmony 2018/11/09 12:29:17 (permalink)
    0
    Edit: Duplicated x3. Stupid internet connection...
    post edited by JPortici - 2018/11/09 12:30:51
    #5
    JPortici
    Super Member
    • Total Posts : 432
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: Clock Switching in Harmony 2018/11/09 12:29:17 (permalink)
    0
    I remember reading other topics on this subject and the outcome was that in current harmony (2.06) there is no routine to change the system frequency/clock source that will also get track of all the other clocks and periods and BRGs that have to be updated along with it :(
     
    That would be a nice addition. Of course, one can always write his own routine..
    #6
    Jump to:
    © 2018 APG vNext Commercial Version 4.5