Content originally posted in LPCWare by bavarian on Thu Apr 03 03:15:10 MST 2014
Is the FPU available to the core M0 (through the LPC4357 overall core) of it's only available to the core M4?
--> it belongs to the Cortex-M4 exclusively. Using it even if no floating point values need to be handled increases the number of available core registers. This means that the compiler can decide to use these registers for stack purposes. This works a litte bit faster than doing it on the normal stack.
If I use an external SDRAM in both cores through EMC (not at the same time), must I do something special in the M0? I'm asking because I'm under the impression that accessing the SDRAM from the M0 is a little slower than from the M4. Must I enable a specific clock or configure a specific clock related to the M0?
--> The M4 and the M0 run on the same clock and have the same access rights.
However: Their instruction set it different, an M3 or M4 core has a small buffer which belongs to the core (the M0 has not), it plays a role which bus is used (Data / Instruction / System) etc.
So overall I don't wonder that the M0 performs slower than the M4
Is the M0 clock automatically enabled or must I do something special to ensure it is running at the same frequency than my M4 (156MHz)?
--> after reset the clock tree is fully configured for both cores, both are running on the same frequency
Regards,
NXP Support Team