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.

CCMR4 self-test

Other Parts Discussed in Thread: HALCOGEN

Hello,

I have suddenly difficulties to reproduce results of the CCMR4 self-test. The 8th bit for the CCM-R4F status register (CCMSR) is not set, which would mean that the self-test is not completed.

I've updated my code with newly generated code base from HalCoGen 3.00.01, which shouldn't be and the issue because even the former version of my software has difficulties this particular test now.

Any idea why this happened? I cannot believe that hardware is defect.

// Setting the Self-test mode
CCMR4Reg->CCMKEYR = 0x00000006;

// Waiting for STC flag (Self-Test Complete)
while ((CCMR4Reg->CCCMSR & 0x100) != 0x100);

Thank you

Vaclav