I rercently work with k60. In the processor Expert, how to enable the CLOCK for CRC configuration?
I want processor expert enable CRC so it can generate some like this
SIM_SCGC6 |= (uint32_t)0x00040000UL;
anyone know if processor expert has this setting?
Hi,
If you'd like to use CRC pripheral you need to add one of these components to the project (using the Components Library view):
- The CRC_LDD provides both initialization code and also methods (functions) for runtime use like GetCRC8, getCRCResult etc. In this case the clock gate is automatically enabled.
- The Init_CRC provides just initialization. You can control clock gate initialization by the property Clock Gate as you can see on the following picture:
best regards
Petr Hradsky
Processor Expert Support Team