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

Fast Integer Division (FINTDIV)

The C28x processor Fast Integer Division (FINTDIV) unit provides an open and scalable approach to facilitate different data type sizes (16/16, 32/16, 32/32, 64/32, 64/64), signed and unsigned or mixed data type versions (ui32/ui32, i32/ui32, i32/i32) and for additional performance, the operations return both the integer and remainder portion of the calculation simultaneously. The division operations are interruptible so as to enable minimum latency for higher priority tasks, a critical requirement for high performance real-time control applications. Unique to this fast integer division unit is support for Truncated, Modulo and Euclidean division formats without any cycle penalty. Each of these formats represents the integer and remainder result in different forms. Below is a brief summary of the various division formats:

  • Truncated format is the traditional division performed in C language (/ = integer, % = remainder), however, the integer value is non-linear around zero.
  • Modulo division is commonly found when performing division on an Excel worksheet.
  • Euclidean format is another format similar to Modulo, the difference is the sign on the remainder value.

Both the Euclidean and Modulo formats are more appropriate for precise control applications because the integer value is linear around the zero point and, hence, avoid potential calculation hysteresis. The C28x compiler supports all three division formats for all data types.