SPRACK2A September   2019  – March 2020 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1

 

  1.   1
    1.     2
    2.     3
      1.      4
    3.     5
      1.      6
      2.      7
      3.      8
      4.      9
      5.      10
      6.      11
    4.     12
      1.      13
        1.       14
        2.       15
        3.       16
        4.       17
        5.       18
        6.       19
        7.       20
      2.      21
      3.      22
      4.      23
      5.      24
        1.       25
          1.        26
          2.        27
          3.        28
        2.       29
          1.        30
          2.        31
        3.       32
        4.       33
        5.       34
      6.      35
        1.       36
        2.       37
        3.       38
      7.      39
      8.      40
        1.       41
        2.       42
      9.      43
      10.      44
    5.     45
      1.      46
      2.      47
      3.      48
      4.      49
      5.      50
        1.       51
        2.       52
        3.       53
      6.      54
        1.       55
        2.       56
        3.       57
    6.     58
  2.   59

Flash API

F28004x has two Flash banks. F28002x has only one Flash bank. Hence, the F28002x Flash API library (FlashAPI_F28002x_FPU32.lib) supports erase, program and verify operations only for the Flash Bank0 address range. Compared to the F28004x Flash API library (F021_API_F28004x_FPU32.lib), the F28002x Flash API is enhanced to return an error when an invalid address is provided for erase, blank-check, program and verify functions. Also, the F28002x Flash API is enhanced to return an error when an invalid programming mode is provided for program operation. Fapi_getLibraryInfo() in FlashAPI_F28002x_FPU32.lib returns the Flash API minor version as 57 (F28004x Flash API returns 56 as the API minor version). The F28002x Flash API library is compiled for EABI format, whereas, the F28004x Flash API library is compiled for legacy COFF. F28002x Flash API size is approximately 5.5KB. Note that F28004x and F28002x have the same Bank0 memory map and sector sizes. Also, the Flash wait-state configuration requirement is the same between the two devices. Hence, the F28002x Flash API version is chosen as 1.57.00.00, an update of F28004x Flash API V1.56.01.00. These features are summarized in Table 20

Table 20. Flash API Differences

Feature F28004x F28002x
Library Name F021_API_F28004x_FPU32.lib FlashAPI_F28002x_FPU32.lib
Library Executable Output COFF (with future EABI support) EABI
Erase, Blank-check, Program and Verify Operation on two banks Operation on one bank
Flash Wait States Same wait states on both devices
FlashAPI Minor Version 56 57