Other Parts Discussed in Thread: MSP-EXP432E401Y
Tool/software: Code Composer Studio
Using Simplelink Ethernet MSP432E401Y MCU Launchpad with CCS updated to latest 9.3 version.
My application needed a CRC calculation so I used the CRC driver from the TI driver library.
I found that the call to CRC_init() hangs waiting for the peripheral to be ready when run under debug.
If I reset the board without the debugger running, my app runs fine.
I loaded the CRC example application "crc32_MSP_EXP432E401Y_nortos_ccs" to test with minimal code. The example does not use the TI driver library, but it has similar logic in its CRCInit() function that waits for the peripheral to be ready. This example also hangs waiting for the CRC peripheral to be ready when run under debug.
I noticed this comment in the source code for the driver:
/* CCM hardware has a rare issue where any given power state change can cause the state to hang. * As a workaround, we only change the power state once, at init(), and do not power it down. */
What can be done to allow the debugger to run with an application that uses the CRC peripheral?