SPRACR2 March   2020 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1

 

  1.   Enabling Peripheral Expansion Applications Using the HIC
    1.     Trademarks
    2. 1 Introduction
    3. 2 HIC Configurations Overview
      1. 2.1 Access Modes
      2. 2.2 Data Width Selection
      3. 2.3 Base Address Selection
      4. 2.4 Read/write I/O Configuration
      5. 2.5 Device to Host Interrupts
        1. 2.5.1 Device Internal Events
        2. 2.5.2 Software Interrupts
    4. 3 Hardware Considerations
      1. 3.1 Common Signal Names
      2. 3.2 Address Pin Mapping
      3. 3.3 BASESEL Pin Mapping
    5. 4 Example Configuration for Pin Constrained Applications
      1. 4.1 Test Setup
      2. 4.2 Test Description
    6. 5 Example Configuration for Performance-Critical Applications
      1. 5.1 Test Setup
      2. 5.2 Test Description
    7. 6 Handling Device Reset and Low-Power Conditions
    8. 7 References
  2.   A Address Translation for Different Data Width Modes
    1.     A.1 Base Address and Offset Address Configuration

Base Address and Offset Address Configuration

The base address configuration and the offset address to be generated by the Host varies according to the data width modes. For example, to address a region inside the Device starting from Addr[x:0], the following translation has to be used:

  • Addr [x:n] should be programmed into the HICDBADDRx register
  • Addr[n-1:0] should be used to generate address on the I/O HIC_A[7:0]

Where:

  • n=8 for 16-bit data width mode
  • n=7 for 8-bit data width mode

Table 8 captures various HICDBADDRx and I/O address offset combinations to be generated from the Host for different data width modes.

Table 8. Address Translation for Different Data Width Modes

Address to be Accessed Data Width = 16 Data Width = 8
HICDBADDRx I/O Address Offset HICDBADDRx I/O Address Offset
0x6604 0x6600 0x4 0x6600 0x4
0x6688 0x6600 0x88 0x6680 0x8
0xFFFF0 0xFF00 0xF0 0xFF80 0x7F