Clock Config crossover from MIMXRT1024DAG5A to MIMXRT1024CAG4B

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clock Config crossover from MIMXRT1024DAG5A to MIMXRT1024CAG4B

Jump to solution
432 Views
ManuelSN
Contributor I

Hi all,

We have a project based on the MIMXRT1024DAG5A from the evaluation kit (code).
In production we will use both the MIMXRT1024DAG5A model and the MIMXRT1024CAG4B model.
The main difference between them is that the "4B" model limits the CPU speed from 500MHz to 400MHz.
Our idea is to generate a firmware project compatible with both encapsulations, always limiting our CPU to 400MHz.
We are editing all the clock configuration part through ConfigTools. The problem we see is that all this clock configuration is applied later at runtime and before that the MCU has loaded the DCD configuration.
We have seen that the "dcd.c" generated by the SDK indicates that it is for the MIMXRT1024DAG5A. Is there a specific "dcd.c" for the MIMXRT1024CAG4B? We have generated a copy of the SDK for this particular encapsulation but the "dcd.c" had no difference.
Couldn't it happen that the DCD configures the CPU to 500MHz at startup and some problem occurs on the MIMXRT1024CAG4B before we can get to our clock configuration based on the "clock_config.c".

 

Thanks in advance.

Labels (1)
0 Kudos
1 Solution
420 Views
jeremyzhou
NXP Employee
NXP Employee

Hi @ManuelSN ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is there a specific "dcd.c" for the MIMXRT1024CAG4B?
-- Before talking about the question, you should have an idea that the DCD is usually to initialize the SDRAM, so it's mainly related to the SDRAM itself, not the MCU, further, DCD is option, not necessary.
2) It needs to adjust the DCD based on your board's MCU and SDRAM.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
421 Views
jeremyzhou
NXP Employee
NXP Employee

Hi @ManuelSN ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is there a specific "dcd.c" for the MIMXRT1024CAG4B?
-- Before talking about the question, you should have an idea that the DCD is usually to initialize the SDRAM, so it's mainly related to the SDRAM itself, not the MCU, further, DCD is option, not necessary.
2) It needs to adjust the DCD based on your board's MCU and SDRAM.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos