I am using FLEXCOMM8 for SPI. Chip is LPC55S69. SDK version is 2.7.1. kFC8_RST_SHIFT_RSTn is not defined anywhere in the code. I can see kFC0_RST_SHIFT_RSTn through kFC7_RST_SHIFT_RSTn defined in fsl_reset.h, but no kFC8_RST_SHIFT_RSTn.
Here is the auto generated function in peripherals.c:
void FLEXCOMM8_init(void) {
RESET_PeripheralReset( kFC8_RST_SHIFT_RSTn);
/* Initialization function */
SPI_MasterInit(FLEXCOMM8_PERIPHERAL, &FLEXCOMM8_config, FLEXCOMM8_CLOCK_SOURCE);
}
Is this a bug in the SDK? As a work around can I just comment out the RESET_PeripheralReset function call? I only configure this peripheral after the processor comes out of reset and then never change it. Or can some one tell me the correct define for kFC8_RST_SHIFT_RSTn and I can put that in my code.
Thanks.