Real Time Clock enable problem

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

Real Time Clock enable problem

251 Views
minjaekang99
Contributor I

Hello,

I’m currently using the S32K324 EVB board, and I’m trying to use the RTC module.

When I configure the RTC to use SXOSC (32.768 kHz external crystal oscillator) as the clock source,
the SXOSC_STAT register remains 0x00000000 — it never shows the “ready” status.

So I’d like to confirm the following:

Do I need to purchase and solder an external 32.768 kHz crystal on the EVB to use SXOSC,
or is it already available on the board and just needs to be enabled in software (MC_ME / Clock_Ip)?

Currently, it seems that no crystal is mounted at the Y1 position on my EVB.
If the external component is required, could you please let me know the recommended crystal specifications
(frequency, load capacitance, package size, etc.) for the S32K324?

Thank you very much for your support.

0 Kudos
Reply
1 Reply

231 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @minjaekang99,

To quote my colleague from another community post (Solved: S32K3X4EVB-Q172 32768Hz clock

"There is no 32.768 kHz crystal included on the S32K3x4EVB-Q172 or the S32K3X4EVB-T172 evaluation boards; although the crystal is present on boards such as the S32K344-WB, S32K3-T-BOX, S32K3X8EVB-Q289 and S32K388EVB-Q289 - DNP resistors must be soldered on the latter to connect the crystal to the chip."

You can use the external oscillator from these other boards as reference. For recommendations, you can look at the BOM.xlsx file included in the design files.

Best regards,
Julián

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2189048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EReal%20Time%20Clock%20enable%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%E2%80%99m%20currently%20using%20the%20%3CSTRONG%3ES32K324%20EVB%20board%3C%2FSTRONG%3E%2C%20and%20I%E2%80%99m%20trying%20to%20use%20the%20%3CSTRONG%3ERTC%3C%2FSTRONG%3E%20module.%3C%2FP%3E%3CP%3EWhen%20I%20configure%20the%20RTC%20to%20use%20%3CSTRONG%3ESXOSC%20(32.768%20kHz%20external%20crystal%20oscillator)%3C%2FSTRONG%3E%20as%20the%20clock%20source%2C%3CBR%20%2F%3Ethe%20SXOSC_STAT%20register%20remains%200x00000000%20%E2%80%94%20it%20never%20shows%20the%20%E2%80%9Cready%E2%80%9D%20status.%3C%2FP%3E%3CP%3ESo%20I%E2%80%99d%20like%20to%20confirm%20the%20following%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSTRONG%3EDo%20I%20need%20to%20purchase%20and%20solder%20an%20external%2032.768%20kHz%20crystal%20on%20the%20EVB%20to%20use%20SXOSC%2C%3CBR%20%2F%3Eor%20is%20it%20already%20available%20on%20the%20board%20and%20just%20needs%20to%20be%20enabled%20in%20software%20(MC_ME%20%2F%20Clock_Ip)%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3ECurrently%2C%20it%20seems%20that%20no%20crystal%20is%20mounted%20at%20the%20%3CSTRONG%3EY1%3C%2FSTRONG%3E%20position%20on%20my%20EVB.%3CBR%20%2F%3EIf%20the%20external%20component%20is%20required%2C%20could%20you%20please%20let%20me%20know%20the%20recommended%20crystal%20specifications%3CBR%20%2F%3E(frequency%2C%20load%20capacitance%2C%20package%20size%2C%20etc.)%20for%20the%20S32K324%3F%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20for%20your%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Real%20Time%20Clock%20enable%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242600%22%20target%3D%22_blank%22%3E%40minjaekang99%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ETo%20quote%20my%20colleague%20from%20another%20community%20post%20(%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3X4EVB-Q172-32768Hz-clock%2Ftd-p%2F2121175%22%20target%3D%22_blank%22%3ESolved%3A%20S32K3X4EVB-Q172%2032768Hz%20clock%3C%2FA%3E%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Adisappointed_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%0A%3CP%3E%22%3CSPAN%3EThere%20is%20no%2032.768%20kHz%20crystal%20included%20on%20the%20S32K3x4EVB-Q172%20or%20the%20S32K3X4EVB-T172%20evaluation%20boards%3B%20although%20the%20crystal%20is%20present%20on%20boards%20such%20as%20the%20S32K344-WB%2C%20S32K3-T-BOX%2C%20S32K3X8EVB-Q289%20and%20S32K388EVB-Q289%20-%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EDNP%20resistors%20must%20be%20soldered%20on%20the%26nbsp%3Blatter%26nbsp%3Bto%20connect%20the%20crystal%20to%20the%20chip.%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20can%20use%20the%20external%20oscillator%20from%20these%20other%20boards%20as%20reference.%20For%20recommendations%2C%20you%20can%20look%20at%20the%20BOM.xlsx%20file%20included%20in%20the%20design%20files.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E