This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069F: How to set clock running at 90MHz

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE

Hi,

How to set clock running at 90MHz? It has external 20M crystal.

Currently, we are debugging based on motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2806xF\projects\ccs\proj_lab10a

Thanks.

 

 

  • Hi Daniel,

    Any particular need to use an XTAL ?

    Please check the hal.c functions below 

    // setup the clocks
    HAL_setupClks(handle);

    This function needs to be modified to use the XTAL rather than the intosc .


    // Setup the PLL
    HAL_setupPll(handle,PLL_ClkFreq_90_MHz);

    This function provides the parameters needed to getup the clk freq to run at 90 Mhz.

    done as part of 

    // set the hardware abstraction layer parameters
    HAL_setParams(halHandle,&gUserParams);

    Please check motorware_1_01_00_18\docs\tutorials\ for more details.

    Regards.