I have two questions about the SystemInit() function on the mbed 1768 device:
Thanks so much for the help,
they are both good questions.
The short answer is that the current system configuration has been "inherited" from an early NXP recommendation and that this legacy configuration seems to support quite well the existing mbed codebase.
In the latest reference configuration USB is clocked from PLL1, the CPU clock is 100MHz and the Flash Access Time is 5 CPU clocks.
Until now, avoiding the risk of breaking user code that may rely on the old system configuration prevailed over the advantages that the new configuration would bring.
Personally, I would favour the new configuration. When we will have a slightly improved test coverage we will update it.
Emilio, thanks for the response. I appreciate it.
I was thinking of changing these parameters in a one-off project but I thought it first wise to find out why the mbed SDK configured it as it did :) Definitely appears to be worth me trying to make the changes to see what happens.
Please log in to post a reply.
mbed, the fastest way to prototype with ARM based microcontrollers.
^ back to top