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.

Flash Wait States / Bug in Flash configuration in HalCoGen?

Other Parts Discussed in Thread: RM48L952, HALCOGEN, RM48L950

Hello

I am using the RM48L952 at 220MHz, Silicon Revision B and HalCoGen 3.6.0.

In Halcogen it is not possible to configure the Flash wait states to 3. If I enter 3 and set the focus to another GUI element, Halcogen corrects the value back to 4.

I am aware that in silicon revision A an entry in the errata-sheet required to configure 4 waitstates. However, the current errata sheet does not list that bug anymore.

Am I right, that this is a HalCoGen bug? Or is it still necessary to configure 4 wait-states at 220MHz?

Best regards,

Flurin

  • Hello Flurin,

    HALCoGen 3.06.00 sets the flash access data wait states register field to 3 by default. See below image pasted from the GUI showing the configuration.

    Also, the code generated is correct, See below.

    Can you post the HALCoGen .hcg and .dil files if you still have the issue?

    Regards, Sunil

  • Hello Sunil

    I work on the RM48L952PGE. This device is not supported in Halcogen. Therefore I configured RM48L950GPE and clocked it to 220MHz.

    If RM48L950GPE is configured, Halcogen resets the field if the focus is changed. Could you check wether you have the same problem using RM48L950PGE?

    Regards,

    Flurin

  • Hello Flurin,

    This matches the datasheet for the RM48L950 configurations which are limited to 200MHz CPU clock for 3 data wait states. As per this, 220MHz is not even supported for RM48L950.

    My suggestion would be to create a project by selecting the RM48L952ZWT as the target device. There are no clock frequency differences between the PGE and ZWT packages for this configuration.

    Regards, Sunil