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.

Documentation error c5504/05/14/15 UART user's guide sprufo5.pdf

In section 2.8 initialization, step 3, "Enable the UART input clock by setting UARTCG to 1 in the peripheral clock gating configuration
register (PCGCR1)."

I think that should be set UARTCG to 0, since 1 means disabled according to the system user's guide. Also initialization procedures in documents for other peripherals set to 0. Am I correct?

  • Further the system user's guide says "After the boot process is complete, the external bus selection register must be modified only once", not sure what is meant by boot process complete, but I'm taking it to mean the EBSR should only be written once after reset, so therefore it shouldn't be modified as part of any particular peripheral initialization procedure (step 1 here), but once only at a system level. Other peripheral documents make what I think is this same mistake.

    step 2 is also incorrect (should write 1 to UART_RST, not 0)

     

  • Yes. You are correct. We will update it.

    Regards.

  • Boot process refers to bootloader in the ROM. Thus, yes, EBSR should only be written once after reset.

    Actually writing a 0 to UART_RST has no effect. But writing a 1 to UART_RST will force a hardware reset. Should not write 1.

    Regards.

  • Steve Tsang said:

    Actually writing a 0 to UART_RST has no effect. But writing a 1 to UART_RST will force a hardware reset. Should not write 1.

    Regards.

    So step 2 should read "Ensure the UART is out of reset by waiting until UART_RST = 0 in the peripheral reset control register
    (PRCR)."

    Is that correct?

  • Yes. Thanks. Will update documents.

    Regards.