Part Number: MSP432P401R
We face a major problem, in which the MSP432 processor runs very slow.
The processor is fed by 32.768KHz crystal. The DCO is configured to output DCOCLK = 48MHz. MCLK (48MHz), HSMCLK (24MHz) and SMCLK (24MHz) are driven by DCOCLK.
ACLK (32.768KHz) is driven by LFXTCLK.
The Cortex M4 core runs on internal VCore1 (1.4V), either using the internal LDO or the internal DC-DC.
The number of waits-states for the Flash accessset to 1 wait state; Flash buffering is enabled (for Code and Data).
MCLK and HSMCLK were output to GPIOs and verified to have the right frequency.
The disassembly of the code snippet and the Clock System register values are attached.
The "P5->OUT = ~pinMask" line takes 165 nano seconds to run, as measured on scope.
This runtime seems to be very high.
There is not much difference when running this code from RAM.
Any idea why it takes so long?
Any idea how to speed up the processor?
Thanks in advance,
Avi Miller
Ido Gazit
