This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432E411Y: CRC_init() problem

Part Number: MSP432E411Y
Other Parts Discussed in Thread: MSP432E401Y, MSP-EXP432E401Y,

Tool/software: Code Composer Studio

Hi,

I'm trying to use the CRC driver from Ti and it hangs on the CRC_init(). This function is called at the beginning of the mainThread, where all the driver init functions are called following the same pattern of any Ti example.

Someone also had the same problem and he solved implementing a software CRC. Is it there any fix for this problem? I would like to use the hardware accelerator.

e2e.ti.com/.../884146

I can see the driver enables and provides clock to the CRC module on the Clock Gating Control register. but it the PRCCM register never flags the peripheral is ready.

The PRCCM_R0 bit never turns to 1 and the driver hangs on the while loop.

Can someone help with this issue?

Thanks,

  • Eugenio Penate1 said:
    I'm trying to use the CRC driver from Ti and it hangs on the CRC_init().

    I imported the crc_MSP_EXP432E401Y_tirtos_ccs example from SimpleLink MSP432E SDK - 4.20.00.12 and ran it on a MSP-EXP432E401Y and couldn't repeat the hang. That was using a MSP432E401Y rev B part.

    I also couldn't repeat the hang with the crc32_MSP_EXP432E401Y_nortos_ccs example.

    Given the following in the driverlib CRC_init() function it appears the software developer found an intermittent issue with the CCM hardware:

    /* ======== CRC_init ======== */
    void CRC_init(void) {
        uintptr_t key;
    
        key = HwiP_disable();
    
        if (!isInitialized) {
    
            /* 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. */
            resetHardware();
            isInitialized = true;
        }
    
        HwiP_restore(key);
    }

    Looking at the MSP432E device errata I can't find a description of any such issue.

    What revision of  MSP432E411Y have you seen the issue on?

    https://www.ti.com/lit/er/slaz709/slaz709.pdf shows where the die revision is marked on the part.

  • It is a rev B part as well.