MPC5746C.h v6.0.0 missing FXOSC and MC_CGM.AC3_SC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5746C.h v6.0.0 missing FXOSC and MC_CGM.AC3_SC

880 Views
cholland
Contributor V

I copied FXOSC and MC_CGM.AC3_SC from version 4.0.0.

I'm not sure if I added them or they were already in 4.0.0.

I believe they should be there.

Labels (1)
Tags (1)
3 Replies

797 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Chris,

FXOSC is not missing in the header file. It's just called XOSC, not FXOSC. I have no idea why but it's there:

#define XOSC (*(volatile struct XOSC_tag *) 0xFFFB0040UL)

and

/* ============================================================================
   =============================== Module: XOSC ===============================
   ============================================================================ */

typedef union XOSC_CTL_union_tag {     /* XOSC Control Register */
  vuint32_t R;
  struct {
    vuint32_t OSCBYP:1;
    vuint32_t OSCM:1;                  /* Crystal Oscillator Mode. */
    vuint32_t MON:1;
    vuint32_t _unused_3:5;
    vuint32_t EOCV:8;                  /* End of Count Value */
    vuint32_t M_OSC:1;                 /* Crystal oscillator clock interrupt mask */
    vuint32_t _unused_17:2;
    vuint32_t _unused_19:5;
    vuint32_t I_OSC:1;
    vuint32_t _unused_25:5;
    vuint32_t _unused_30:1;
    vuint32_t _unused_31:1;
  } B;
} XOSC_CTL_tag;

struct XOSC_tag {
  XOSC_CTL_tag CTL;                    /* XOSC Control Register */
};

There's no register MC_CGM.AC3_SC in the reference manual.

Regards,

Lukas

797 Views
cholland
Contributor V

 MON was added and OSCDIV removed.

pastedImage_1.png

0 Kudos

797 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Thanks for pointing this out, I will report it.

Regards,

Lukas

0 Kudos