AnsweredAssumed Answered

How to set the input clock for Master LFST of s32r274

Question asked by 刘 波 on Jun 18, 2019
Latest reply on Jun 24, 2019 by Peter Vlna

Clock source setting:

//Auxiliary Clock 8
// LFAST DIVIDER COMES FROM AUX CLOCK SELECTOR 8
#if(CONFIGURED_AS_MASTER)
CGM.AC8_SC.B.SELCTL=5; /*! Input from LFAST-SysClk Pin */
CGM.AC8_DC0.R=0x80000000;
#else
CGM.AC8_SC.B.SELCTL=2; /*! PLL0 PHI for Aux Clock 0 */
CGM.AC8_DC0.R=0x80090000; /*! Aux Clock 1 divider 10 (LFAST) */
#endif

 

Slave lfast of clock settings:SIUL2.MSCR[135].R = 0x32000001; 

How to set the clock for master lfast???

 

Hope to answer,Thanks.

Outcomes