AnsweredAssumed Answered

ADSP-SC58x/2158x CGU/CDU: Example code

Question asked by Nabeel Employee on Jun 12, 2015

Attached code demonstrates how to set up the CGU and CDU on ADSP-SC58x/2158x series of products. Following are the setting done:

  1. Configure the CDU
  2. Configure the CGU0
  3. Configure the CGU1


CDU is configured to route all the clocks form CGU0 which is same as default. In order to test different configuration, following structure should be modified(look into header files for more details about the structure members):


               _CDU_MAPPINGS Clock_Map0


Separate example for setting up the CGU/CDU form ARM as well as SHARC core are attached.