Incorrect USB1 Base Address in FM4 Header File in PDL 2.1.0 - KBA229123

Version 1

    Author: TakashiM_61         Version: **

     

    Question:

    Which is the correct USB1 base address, the definition in FM4 series header files in PDL 2.1.0, or that provided in FM4 Family Peripheral Manual?

     

    Answer:

    The USB1 base address described in FM4 Family Peripheral Manual is correct.

     

     

    However, USB1 base address is incorrectly defined in FM4 series header file, especially for S6E2C and S6E2G series, as the following code snippets.

     

    #define FM_USB1_BASE                              (0x40052100UL) /* USB1 Base Address */

    #define FM4_USB1_BASE                             (0x40052100UL) /* USB1 Base Address */

     

    S6E2C and S6E2G series header files are located in:

    <PDL2.1.0 installed directory>\devices\fm4\<S6E2C series device>\common\<S6E2C series device>.h

    <PDL2.1.0 installed directory>\devices\fm4\<S6E2G series device>\common\<S6E2G series device>.h

     

    You must modify the USB1 base address definition in header files with the following code snippets:

    #define FM_USB1_BASE                              (0x40050000UL) /* USB1 Base Address */

    #define FM4_USB1_BASE                             (0x40050000UL) /* USB1 Base Address */