Hi,
I am working on evkmimxrt1020_lpspi_interrupt_b2b_master project. In the clock_config.c file there is a big section labelled as the following:
/*******************************************************************************
********************** Configuration BOARD_BootClockRUN ***********************
******************************************************************************/
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
!!Configuration
name: BOARD_BootClockRUN
called_from_default_init: true
outputs:
- {id: AHB_CLK_ROOT.outFreq, value: 500 MHz}
- {id: CAN_CLK_ROOT.outFreq, value: 40 MHz}
- {id: CKIL_SYNC_CLK_ROOT.outFreq, value: 32.768 kHz}
- {id: CLK_1M.outFreq, value: 1 MHz}
- {id: CLK_24M.outFreq, value: 24 MHz}
- {id: ENET_500M_REF_CLK.outFreq, value: 500 MHz}
...
...
...
I have two questions:
1. I don't see any of the settings in the section in any of the C functions. So how does these setting take effect?
2. I open the clock config tool and without changing anything just click update the project button the new clock_config.c is different from the original one, why is it?
Thanks!
Hi Tom,
That section is used by the MCUXpresso Config tools, the configuration shown there is implemented in the BOARD_BootClockRUN(void) function:
I have tested opening the clocks tool for the evkmimxrt1020_lpspi_interrupt_b2b_master project, clicked on Update Project and there was no change in the source code, what changes are you seeing?
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Hi Carlos,
Here is my setup:
SDK_2.x_EVK-MIMXRT1020 version 2.4.0 Manifest Version: 3.3.0
Example project imported: evkmimxrt1020_lpspi_interrupt_b2b_master
The clock_config.c from the SDK example and the preview code from the clock config tool are attached.
Thanks!
On Monday, August 20, 2018, 12:17:58 PM EDT, Carlos_Mendoza <admin@community.nxp.com> wrote:
#yiv2248541635 * #yiv2248541635 a #yiv2248541635 body {font-family:Helvetica, Arial, sans-serif;}#yiv2248541635 #yiv2248541635 h1, #yiv2248541635 h2, #yiv2248541635 h3, #yiv2248541635 h4, #yiv2248541635 h5, #yiv2248541635 h6, #yiv2248541635 p, #yiv2248541635 hr {}#yiv2248541635 .yiv2248541635button td {}
|
NXP Community |
|
Re: MCUXpresso ConfigTools generated files
reply from Carlos_Mendoza in MCUXpresso Software and Tools - View the full discussion
Hi Tom,
That section is used by the MCUXpresso Config tools, the configuration shown there is implemented in the BOARD_BootClockRUN(void) function:
I have tested opening the clocks tool for the evkmimxrt1020_lpspi_interrupt_b2b_master project, clicked on Update Project and there was no change in the source code, what changes are you seeing?
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Reply to this message by replying to this email, or go to the message on NXP Community |
Start a new discussion in MCUXpresso Software and Tools by email or at NXP Community |
Following Re: MCUXpresso ConfigTools generated files in these streams: Inbox |
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences