SPRADQ5 March   2025 AM2612 , AM2612-Q1 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P2-Q1 , AM263P4 , AM263P4-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction of AC or Servo Drive Hot-Side Control Architecture
  5. 2PRU and FSI Implementation for Time Synchronization and Data Transmitting
    1. 2.1 Importance of Clock in Industrial Systems With MCUs
    2. 2.2 IEP Timer Interface
    3. 2.3 PRU_ICSSG Task Manger
    4. 2.4 Fast Serial Interface
    5. 2.5 Two-Chip System Scheme for Time Synchronization and Data Transmitting
      1. 2.5.1 Device 1 Configuration
        1. 2.5.1.1 Pad Configuration
        2. 2.5.1.2 Clock Source Configuration
        3. 2.5.1.3 IEP Timer Configuration
        4. 2.5.1.4 Task Manager Configuration
      2. 2.5.2 Device 2 Configuration
        1. 2.5.2.1 Pad Configuration
        2. 2.5.2.2 Clock Configuration
        3. 2.5.2.3 IEP Timer Configuration
        4. 2.5.2.4 TSR Configuration
        5. 2.5.2.5 Task Manager Configuration
  6. 3Verification
  7. 4Summary
  8. 5References

Clock Source Configuration

Configure the CTRLMMR_ICSSG0_CLKSEL register (0x43008040), set CORE_CLKSEL bit field = 0x1 to select the ICSSG0 core clock as PLL0_HSDIV_CTRL9 and IEP_CLKSEL bit field = 0x1 to select the ICSSG0 IEP clock as PLL0_HSDIV_CTRL6.

The ICSSG0 core clock is set to 333MHz and the IEP clock is set to 250MHz. This is achieved by selecting the appropriate PLL dividers.

Configure HSDIV bit field = 0x2 in PLL0_HSDIV_CTRL9 register (0x006800a4), resulting in 333MHz for the ICSSG0 core clock.

Configure HSDIV bit field = 0x3 in PLL0_HSDIV_CTRL6 register (0x00680098), resulting in 250MHz for the ICSSG0 IEP clock.