Part Number: TMS320F280025C
Other Parts Discussed in Thread: SYSCONFIG
Hi there,
I am developing on the Launchpad with the TMS320F280025C.
I am trying to increase my SPI speed by decreasing the LSPCLK divider value from 4 to 2 as per the instruction in the device.c file:
//
// Make sure the LSPCLK divider is set to the default (divide by 4)
//
SysCtl_setLowSpeedClock(SYSCTL_LSPCLK_PRESCALE_2);
I am building successfully but when I run the project it goes to an ESTOP which looks like it references line 104 in the device.c file:
ASSERT(SysCtl_getLowSpeedClock(DEVICE_OSCSRC_FREQ) == DEVICE_LSPCLK_FREQ);
I am not sure why it says in the comment / Make sure the LSPCLK divider is set to the default (divide by 4)?
I am not too clear on the error here, is there an issue with decreasing this divider value? Is there another setting that must be modified as well? I am Sysconfig for this project.
Many thanks