AM273x MCU+ SDK  08.02.00
soc_rcm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifndef SOC_RCM_AM273X_H_
34 #define SOC_RCM_AM273X_H_
35 
36 #include <stdint.h>
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif
42 
52 #include <kernel/dpl/SystemP.h>
53 
54 #define SOC_RCM_FREQ_HZ2MHZ(hz) ((hz)/(1000000U))
55 #define SOC_RCM_FREQ_MHZ2HZ(mhz) ((mhz)*(1000000U))
56 
58 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB00 (1U << 0U)
59 
60 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB01 (1U << 1U)
61 
62 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB10 (1U << 2U)
63 
64 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB11 (1U << 3U)
65 
66 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB20 (1U << 4U)
67 
68 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB21 (1U << 5U)
69 
70 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB30 (1U << 6U)
71 
72 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB31 (1U << 7U)
73 
74 #define SOC_RCM_MEMINIT_DSSL2_MEMBANK_ALL (SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB00 | \
75  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB01 | \
76  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB10 | \
77  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB11 | \
78  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB20 | \
79  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB21 | \
80  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB30 | \
81  SOC_RCM_MEMINIT_DSSL2_MEMBANK_VB31)
82 
84 #define SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM0 (1U << 0U)
85 
86 #define SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM1 (1U << 1U)
87 
88 #define SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM2 (1U << 2U)
89 
90 #define SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM3 (1U << 3U)
91 
92 #define SOC_RCM_MEMINIT_DSSL3_MEMBANK_ALL (SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM0 | \
93  SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM1 | \
94  SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM2 | \
95  SOC_RCM_MEMINIT_DSSL3_MEMBANK_RAM3)
96 
98 #define SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_0 (1U << 0U)
99 
100 #define SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_1 (1U << 1U)
101 
102 #define SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_2 (1U << 2U)
103 
104 #define SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_3 (1U << 3U)
105 
106 #define SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_ALL (SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_0 | \
107  SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_1 | \
108  SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_2 | \
109  SOC_RCM_PLL_HSDIV_OUTPUT_ENABLE_3)
110 
111 /* @brief HSDIV output enable bitmask, used with \ref SOC_RcmPllHsDivOutConfig */
112 #define SOC_RCM_PLL_HSDIV_OUTPUT_COUNT (4U)
113 
117 typedef enum SOC_RcmResetCause_e
118 {
167 
169 
173 typedef enum SOC_RcmPeripheralId_e
174 {
291 
293 
297 typedef enum SOC_RcmPeripheralClockSource_e
298 {
331 
333 
337 typedef enum SOC_RcmDspClockSource_e
338 {
355 
357 
362 {
367 
369 
373 typedef enum SOC_RcmPllFoutFreqId_e
374 {
415 
417 
421 typedef enum SOC_RcmQspiClockFreqId_e {
438 
440 
444 typedef enum SOC_RcmEfuseFlashClkModeId_e {
445 
459 
463 typedef struct SOC_RcmPllHsDivOutConfig_s
464 {
465  uint32_t hsdivOutEnMask;
466  uint32_t hsDivOutFreqHz[SOC_RCM_PLL_HSDIV_OUTPUT_COUNT];
468 
472 typedef struct SOC_RcmEfuseQspiConfig_s
473 {
483 
491 
498 
506 
514 
523 int32_t SOC_rcmSetR5Clock(uint32_t r5FreqHz, uint32_t sysClkFreqHz);
524 
530 uint32_t SOC_rcmGetR5Clock(void);
531 
540 int32_t SOC_rcmSetDspClock(SOC_RcmDspClockSource clkSource, uint32_t freqHz);
541 
548 
558 int32_t SOC_rcmSetPeripheralClock(SOC_RcmPeripheralId periphId, SOC_RcmPeripheralClockSource clkSource, uint32_t freqHz);
559 
568 
573 
578 
583 
588 
593 
597 void SOC_rcmCr5bUnhalt(void);
598 
602 void SOC_rcmC66xStart(void);
603 
610 
617 
622 
627 
632 
637 
642 
647 
652 
657 
661 void SOC_rcmStartMemInitDSSL2(uint32_t l2bankMask);
662 
666 void SOC_rcmWaitMemInitDSSL2(uint32_t l2bankMask);
667 
671 void SOC_rcmStartMemInitDSSL3(uint32_t l3bankMask);
672 
676 void SOC_rcmWaitMemInitDSSL3(uint32_t l3bankMask);
677 
682 
685 #ifdef __cplusplus
686 }
687 #endif
688 
689 #endif
SOC_RcmEfuseFlashClkModeId_MAX_VALUE
@ SOC_RcmEfuseFlashClkModeId_MAX_VALUE
max value
Definition: soc_rcm.h:457
SOC_RcmPeripheralId_DSS_RTIA
@ SOC_RcmPeripheralId_DSS_RTIA
Value specifying DSS RTIA (Timer)
Definition: soc_rcm.h:238
SOC_RcmEfuseFlashClkModeId_0
@ SOC_RcmEfuseFlashClkModeId_0
Phase 0 : Polarity 0.
Definition: soc_rcm.h:449
SOC_RcmQspiClockFreqId_CLK_80MHZ
@ SOC_RcmQspiClockFreqId_CLK_80MHZ
Value specifying QSPI clock of 80 Mhz.
Definition: soc_rcm.h:433
SOC_rcmWaitMemInitTCMB
void SOC_rcmWaitMemInitTCMB(void)
Wait memory initialization to complete for R5 TCMB.
SOC_RcmEfuseQspiConfig::qspiClockFreqId
SOC_RcmQspiClockFreqId qspiClockFreqId
Efuse value for QSPI clock frequency.
Definition: soc_rcm.h:481
SOC_rcmWaitMemInitDSSL2
void SOC_rcmWaitMemInitDSSL2(uint32_t l2bankMask)
Wait memory initialization to complete for DSS L2.
SOC_RcmPeripheralId_DSS_RTIB
@ SOC_RcmPeripheralId_DSS_RTIB
Value specifying DSS RTIB (Timer)
Definition: soc_rcm.h:242
SOC_RcmResetCause_MMR_CPU0_VIM0_RESET
@ SOC_RcmResetCause_MMR_CPU0_VIM0_RESET
Value specifying R5 Core A Subsytem Reset.
Definition: soc_rcm.h:134
SOC_RcmPeripheralId_CSIRX
@ SOC_RcmPeripheralId_CSIRX
Value specifying CSI RX.
Definition: soc_rcm.h:178
SOC_RcmDspClockSource
SOC_RcmDspClockSource
DSP Clock Sources.
Definition: soc_rcm.h:338
SOC_RcmDspClockSource_DPLL_CORE_HSDIV0_CLKOUT1
@ SOC_RcmDspClockSource_DPLL_CORE_HSDIV0_CLKOUT1
Value specifying PLL Core Clock Out 1.
Definition: soc_rcm.h:350
SOC_RcmResetCause_MMR_CPU0_RESET
@ SOC_RcmResetCause_MMR_CPU0_RESET
Value specifying R5 Core A (core only) Reset.
Definition: soc_rcm.h:142
SOC_RcmEfuseFlashClkModeId
SOC_RcmEfuseFlashClkModeId
Efuse value for flash clock mode.
Definition: soc_rcm.h:444
SOC_RcmPeripheralId_MSS_SPIB
@ SOC_RcmPeripheralId_MSS_SPIB
Value specifying MSS SPI-B.
Definition: soc_rcm.h:214
SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT2
@ SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT2
Value specifying PLL Core Clock Out 2 (96 Mhz)
Definition: soc_rcm.h:322
SOC_RcmPeripheralId_RCSS_SPIB
@ SOC_RcmPeripheralId_RCSS_SPIB
Value specifying RCSS SCIB.
Definition: soc_rcm.h:270
SOC_rcmMemInitDssMailboxMemory
void SOC_rcmMemInitDssMailboxMemory(void)
Initialize the DSS mailbox memory.
SOC_RcmEfuseQspiConfig::flashClockModeId
SOC_RcmEfuseFlashClkModeId flashClockModeId
Efuse value for flash clock mode.
Definition: soc_rcm.h:477
SystemP.h
SOC_rcmStartMemInitMSSL2
void SOC_rcmStartMemInitMSSL2(void)
Start memory initialization for MSS L2.
SOC_RcmPeripheralId_MSS_MCANA
@ SOC_RcmPeripheralId_MSS_MCANA
Value specifying MCANA.
Definition: soc_rcm.h:182
SOC_RcmPeripheralClockSource
SOC_RcmPeripheralClockSource
Peripheral Clock Sources.
Definition: soc_rcm.h:298
SOC_RcmPllFoutFreqId_CLK_1800MHZ
@ SOC_RcmPllFoutFreqId_CLK_1800MHZ
Value specifying PLL Fout of 1800 Mhz.
Definition: soc_rcm.h:390
SOC_rcmDspPllConfig
void SOC_rcmDspPllConfig(SOC_RcmPllFoutFreqId outFreqId, SOC_RcmPllHsDivOutConfig *hsDivCfg)
Set DSP PLL Config.
SOC_rcmGetEfuseQspiConfig
void SOC_rcmGetEfuseQspiConfig(SOC_RcmEfuseQspiConfig *qspiEfuseCfg)
Get QSPI Efuse configuration.
SOC_rcmDspPowerOnReset
void SOC_rcmDspPowerOnReset(void)
Reset Dsp Core.
SOC_RcmPeripheralId_RCSS_SPIA
@ SOC_RcmPeripheralId_RCSS_SPIA
Value specifying RCSS SPIA.
Definition: soc_rcm.h:266
SOC_RcmPeripheralId_MSS_RTIB
@ SOC_RcmPeripheralId_MSS_RTIB
Value specifying MSS RTIB (Timer)
Definition: soc_rcm.h:198
SOC_RcmPllFoutFreqId_CLK_1966p08MHZ
@ SOC_RcmPllFoutFreqId_CLK_1966p08MHZ
Value specifying PLL Fout of 1966.08 Mhz.
Definition: soc_rcm.h:406
SOC_rcmWaitMemInitTCMA
void SOC_rcmWaitMemInitTCMA(void)
Wait memory initialization to complete for R5 TCMA.
SOC_RcmPeripheralId_DSS_WDT
@ SOC_RcmPeripheralId_DSS_WDT
Value specifying DSS WatchDog.
Definition: soc_rcm.h:246
SOC_RcmPeripheralId_RCSS_I2CB
@ SOC_RcmPeripheralId_RCSS_I2CB
Value specifying RCSS I2CB.
Definition: soc_rcm.h:258
SOC_RcmQspiClockFreqId
SOC_RcmQspiClockFreqId
QSPI frequency values.
Definition: soc_rcm.h:421
SOC_RcmPeripheralId_DSS_SCIA
@ SOC_RcmPeripheralId_DSS_SCIA
Value specifying DSS SCI-A (UART)
Definition: soc_rcm.h:250
SOC_RcmPeripheralId_MSS_CPTS
@ SOC_RcmPeripheralId_MSS_CPTS
Value specifying CPTS (Timesync module)
Definition: soc_rcm.h:230
SOC_rcmGetResetCause
SOC_RcmResetCause SOC_rcmGetResetCause(void)
Get SOC reset cause.
SOC_RcmResetCause_POWER_ON_RESET
@ SOC_RcmResetCause_POWER_ON_RESET
Value specifying Power ON Reset.
Definition: soc_rcm.h:122
SOC_rcmMemInitMssMailboxMemory
void SOC_rcmMemInitMssMailboxMemory(void)
Initialize the MSS mailbox memory.
SOC_RcmPeripheralId_MSS_MCANB
@ SOC_RcmPeripheralId_MSS_MCANB
Value specifying MCANB.
Definition: soc_rcm.h:186
SOC_RcmPeripheralId
SOC_RcmPeripheralId
Peripheral IDs.
Definition: soc_rcm.h:174
SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT3
@ SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT3
Value specifying PLL Core Clock Out 3 (172.8 Mhz)
Definition: soc_rcm.h:326
SOC_RcmResetCause_RST_CAUSE_UNKNOWN
@ SOC_RcmResetCause_RST_CAUSE_UNKNOWN
Value specifying R5 Reset due to Unknown reason.
Definition: soc_rcm.h:162
SOC_RcmPllFoutFreqId_CLK_2000MHZ
@ SOC_RcmPllFoutFreqId_CLK_2000MHZ
Value specifying PLL Fout of 2000 Mhz.
Definition: soc_rcm.h:386
SOC_RcmPeripheralId_MSS_SCIA
@ SOC_RcmPeripheralId_MSS_SCIA
Value specifying MSS SCI-A (UART)
Definition: soc_rcm.h:222
SOC_rcmWaitMemInitDSSL3
void SOC_rcmWaitMemInitDSSL3(uint32_t l3bankMask)
Wait memory initialization to complete for DSS L3.
SOC_rcmGetDspClock
uint32_t SOC_rcmGetDspClock()
Get DSP frequency.
SOC_RcmPeripheralClockSource_SYS_CLK
@ SOC_RcmPeripheralClockSource_SYS_CLK
Value specifying System Clock (200Mhz)
Definition: soc_rcm.h:306
SOC_RcmPllHsDivOutConfig
Structure to specific PLL HS divider output frequencies.
Definition: soc_rcm.h:464
SOC_RcmPllFoutFreqId_CLK_900MHZ
@ SOC_RcmPllFoutFreqId_CLK_900MHZ
Value specifying PLL Fout of 900 Mhz.
Definition: soc_rcm.h:382
SOC_RcmDspClockSource_MAX_VALUE
@ SOC_RcmDspClockSource_MAX_VALUE
max value
Definition: soc_rcm.h:354
SOC_RcmPeripheralId_RCSS_MCASPC_AUX
@ SOC_RcmPeripheralId_RCSS_MCASPC_AUX
Value specifying RCSS MCASPC AUX.
Definition: soc_rcm.h:286
SOC_RcmDspClockSource_DPLL_DSP_HSDIV0_CLKOUT1
@ SOC_RcmDspClockSource_DPLL_DSP_HSDIV0_CLKOUT1
Value specifying PLL DSP Clock Out 2 (450 Mhz)
Definition: soc_rcm.h:346
SOC_rcmR5ConfigLockStep
void SOC_rcmR5ConfigLockStep(void)
Configure R5 in lock step mode.
SOC_rcmSetPeripheralClock
int32_t SOC_rcmSetPeripheralClock(SOC_RcmPeripheralId periphId, SOC_RcmPeripheralClockSource clkSource, uint32_t freqHz)
Set peripheral frequency.
SOC_rcmStartMemInitTCMB
void SOC_rcmStartMemInitTCMB(void)
Start memory initialization for R5 TCMB.
SOC_rcmSetDspClock
int32_t SOC_rcmSetDspClock(SOC_RcmDspClockSource clkSource, uint32_t freqHz)
Set DSP frequency.
SOC_rcmPerPllConfig
void SOC_rcmPerPllConfig(SOC_RcmPllFoutFreqId outFreqId, SOC_RcmPllHsDivOutConfig *hsDivCfg)
Set Peripheral PLL Config.
SOC_RcmEfuseQspiConfig
Efuse value for QSPI config.
Definition: soc_rcm.h:473
SOC_RcmPllFoutFreqId_MAX_VALUE
@ SOC_RcmPllFoutFreqId_MAX_VALUE
max value
Definition: soc_rcm.h:414
SOC_RcmPeripheralId_RCSS_I2CA
@ SOC_RcmPeripheralId_RCSS_I2CA
Value specifying RCSS I2CA.
Definition: soc_rcm.h:254
SOC_rcmR5TriggerReset
void SOC_rcmR5TriggerReset(void)
Trigger R5 core reset.
SOC_RcmPeripheralId_MAX_VALUE
@ SOC_RcmPeripheralId_MAX_VALUE
max value
Definition: soc_rcm.h:290
SOC_RcmEfuseFlashClkModeId_3
@ SOC_RcmEfuseFlashClkModeId_3
Phase 1 : Polarity 1.
Definition: soc_rcm.h:453
SOC_RcmResetCause_FSM_TRIGGER_RESET
@ SOC_RcmResetCause_FSM_TRIGGER_RESET
Value specifying R5 Reset due to FSM Trigger.
Definition: soc_rcm.h:158
SOC_RcmResetCause
SOC_RcmResetCause
Reset Causes.
Definition: soc_rcm.h:118
SOC_RcmResetCause_DBG_CPU1_RESET
@ SOC_RcmResetCause_DBG_CPU1_RESET
Value specifying R5 Core B Debug Reset.
Definition: soc_rcm.h:154
SOC_rcmSetR5Clock
int32_t SOC_rcmSetR5Clock(uint32_t r5FreqHz, uint32_t sysClkFreqHz)
Set R5 and SycClk frequency.
SOC_RcmPeripheralClockSource_MAX_VALUE
@ SOC_RcmPeripheralClockSource_MAX_VALUE
max value
Definition: soc_rcm.h:330
SOC_RcmResetCause_DBG_CPU0_RESET
@ SOC_RcmResetCause_DBG_CPU0_RESET
Value specifying R5 Core A Debug Reset.
Definition: soc_rcm.h:150
SOC_rcmWaitMemInitMSSL2
void SOC_rcmWaitMemInitMSSL2(void)
Wait memory initialization to complete for MSS L2.
SOC_RcmPllHsDivOutConfig::hsdivOutEnMask
uint32_t hsdivOutEnMask
Definition: soc_rcm.h:465
SOC_RcmPeripheralId_RCSS_MCASPB_AUX
@ SOC_RcmPeripheralId_RCSS_MCASPB_AUX
Value specifying RCSS MCASPB AUX.
Definition: soc_rcm.h:282
SOC_RCM_PLL_HSDIV_OUTPUT_COUNT
#define SOC_RCM_PLL_HSDIV_OUTPUT_COUNT
Definition: soc_rcm.h:112
SOC_RcmDspClockSource_XTAL_CLK
@ SOC_RcmDspClockSource_XTAL_CLK
Value specifying Crystal Clock.
Definition: soc_rcm.h:342
SOC_RcmPllFoutFreqId_CLK_1699p21875MHZ
@ SOC_RcmPllFoutFreqId_CLK_1699p21875MHZ
Value specifying PLL Fout of 1699.21875 Mhz.
Definition: soc_rcm.h:398
SOC_RcmR5ClockSource
SOC_RcmR5ClockSource
R5 Clock Sources.
Definition: soc_rcm.h:362
SOC_rcmC66xStart
void SOC_rcmC66xStart(void)
Unhalt C66x Core.
SOC_RcmPllFoutFreqId_CLK_1806p336MHZ
@ SOC_RcmPllFoutFreqId_CLK_1806p336MHZ
Value specifying PLL Fout of 1806.336 Mhz.
Definition: soc_rcm.h:410
SOC_RcmPeripheralId_MSS_WDT
@ SOC_RcmPeripheralId_MSS_WDT
Value specifying MSS WatchDog.
Definition: soc_rcm.h:206
SOC_RcmPeripheralId_MSS_CPSW
@ SOC_RcmPeripheralId_MSS_CPSW
Value specifying CPSW (2 port ethernet switch)
Definition: soc_rcm.h:234
SOC_rcmConfigEthMacIf
void SOC_rcmConfigEthMacIf(void)
RCM configuration for MAC interface.
SOC_rcmCr5bUnhalt
void SOC_rcmCr5bUnhalt(void)
Unhalt R5 core 1.
SOC_rcmStartMemInitTCMA
void SOC_rcmStartMemInitTCMA(void)
Start memory initialization for R5 TCMA.
SOC_RcmPeripheralId_RCSS_MCASPA_AUX
@ SOC_RcmPeripheralId_RCSS_MCASPA_AUX
Value specifying RCSS MCASPA AUX.
Definition: soc_rcm.h:278
SOC_RcmQspiClockFreqId_CLK_40MHZ
@ SOC_RcmQspiClockFreqId_CLK_40MHZ
Value specifying QSPI clock of 40 Mhz.
Definition: soc_rcm.h:425
SOC_rcmStartMemInitDSSL3
void SOC_rcmStartMemInitDSSL3(uint32_t l3bankMask)
Start memory initialization for DSS L3.
SOC_RcmPeripheralId_MSS_QSPI
@ SOC_RcmPeripheralId_MSS_QSPI
Value specifying QSPI (Quad SPI)
Definition: soc_rcm.h:190
SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT1
@ SOC_RcmPeripheralClockSource_DPLL_PER_HSDIV0_CLKOUT1
Value specifying PLL Core Clock Out 1 (192 Mhz)
Definition: soc_rcm.h:318
SOC_RcmPeripheralId_MSS_SCIB
@ SOC_RcmPeripheralId_MSS_SCIB
Value specifying MSS SCI-B (UART)
Definition: soc_rcm.h:226
SOC_rcmCoreApllHSDivConfig
void SOC_rcmCoreApllHSDivConfig(SOC_RcmPllHsDivOutConfig *hsDivCfg)
Set CORE PLL Hs Div Config.
SOC_RcmPeripheralId_RCSS_SCIA
@ SOC_RcmPeripheralId_RCSS_SCIA
Value specifying RCSS SCIA.
Definition: soc_rcm.h:262
SOC_RcmR5ClockSource_DPLL_CORE_HSDIV0_CLKOUT2
@ SOC_RcmR5ClockSource_DPLL_CORE_HSDIV0_CLKOUT2
Value specifying PLL Core Clock Out 2.
Definition: soc_rcm.h:366
SOC_RcmPeripheralId_RCSS_ATL
@ SOC_RcmPeripheralId_RCSS_ATL
Value specifying RCSS ATL.
Definition: soc_rcm.h:274
SOC_RcmPeripheralId_MSS_I2C
@ SOC_RcmPeripheralId_MSS_I2C
Value specifying MSS I2C.
Definition: soc_rcm.h:218
SOC_RcmPllFoutFreqId_CLK_800MHZ
@ SOC_RcmPllFoutFreqId_CLK_800MHZ
Value specifying PLL Fout of 800 Mhz.
Definition: soc_rcm.h:378
SOC_RcmResetCause_STC_RESET
@ SOC_RcmResetCause_STC_RESET
Value specifying STC Reset.
Definition: soc_rcm.h:130
SOC_rcmStartMemInitDSSL2
void SOC_rcmStartMemInitDSSL2(uint32_t l2bankMask)
Start memory initialization for DSS L2.
SOC_rcmGetR5Clock
uint32_t SOC_rcmGetR5Clock(void)
Get R5 frequency.
SOC_RcmPeripheralClockSource_DPLL_CORE_HSDIV0_CLKOUT1
@ SOC_RcmPeripheralClockSource_DPLL_CORE_HSDIV0_CLKOUT1
Value specifying PLL Core Clock Out 1 (400 Mhz)
Definition: soc_rcm.h:310
SOC_RcmPeripheralId_MSS_RTIA
@ SOC_RcmPeripheralId_MSS_RTIA
Value specifying MSS RTIA (Timer)
Definition: soc_rcm.h:194
SOC_RcmPllFoutFreqId_CLK_1920MHZ
@ SOC_RcmPllFoutFreqId_CLK_1920MHZ
Value specifying PLL Fout of 1920 Mhz.
Definition: soc_rcm.h:394
SOC_RcmResetCause_WARM_RESET
@ SOC_RcmResetCause_WARM_RESET
Value specifying Warm Reset.
Definition: soc_rcm.h:126
SOC_RcmQspiClockFreqId_CLK_60MHZ
@ SOC_RcmQspiClockFreqId_CLK_60MHZ
Value specifying QSPI clock of 60 Mhz.
Definition: soc_rcm.h:429
SOC_RcmResetCause_MMR_CPU1_VIM1_RESET
@ SOC_RcmResetCause_MMR_CPU1_VIM1_RESET
Value specifying R5 Core B Subsytem Reset.
Definition: soc_rcm.h:138
SOC_rcmGetPeripheralClock
uint32_t SOC_rcmGetPeripheralClock(SOC_RcmPeripheralId periphId)
Get peripheral frequency.
SOC_RcmPllFoutFreqId
SOC_RcmPllFoutFreqId
PLL Fout values.
Definition: soc_rcm.h:374
SOC_RcmQspiClockFreqId_MAX_VALUE
@ SOC_RcmQspiClockFreqId_MAX_VALUE
max value
Definition: soc_rcm.h:437
SOC_RcmPeripheralId_MSS_RTIC
@ SOC_RcmPeripheralId_MSS_RTIC
Value specifying MSS RTIC (Timer)
Definition: soc_rcm.h:202
SOC_RcmResetCause_MMR_CPU1_RESET
@ SOC_RcmResetCause_MMR_CPU1_RESET
Value specifying R5 Core B (core only) Reset.
Definition: soc_rcm.h:146
SOC_RcmResetCause_MAX_VALUE
@ SOC_RcmResetCause_MAX_VALUE
max value
Definition: soc_rcm.h:166
SOC_RcmPeripheralClockSource_XTAL_CLK
@ SOC_RcmPeripheralClockSource_XTAL_CLK
Value specifying Crystal Clock.
Definition: soc_rcm.h:302
SOC_RcmPllFoutFreqId_CLK_1728MHZ
@ SOC_RcmPllFoutFreqId_CLK_1728MHZ
Value specifying PLL Fout of 1728 Mhz.
Definition: soc_rcm.h:402
SOC_rcmR5PowerOnReset
void SOC_rcmR5PowerOnReset(void)
Reset R5 Core.
SOC_RcmPeripheralClockSource_DPLL_CORE_HSDIV0_CLKOUT2
@ SOC_RcmPeripheralClockSource_DPLL_CORE_HSDIV0_CLKOUT2
Value specifying PLL Core Clock Out 2 (400 Mhz)
Definition: soc_rcm.h:314
SOC_rcmCoreApllConfig
void SOC_rcmCoreApllConfig(SOC_RcmPllFoutFreqId outFreqId, SOC_RcmPllHsDivOutConfig *hsDivCfg)
Set CORE PLL Config.
SOC_RcmPeripheralId_MSS_SPIA
@ SOC_RcmPeripheralId_MSS_SPIA
Value specifying MSS SPI-A.
Definition: soc_rcm.h:210
SOC_rcmR5ConfigDualCore
void SOC_rcmR5ConfigDualCore(void)
Configure R5 in dual core mode.