AM273x MCU+ SDK  08.06.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 
119 typedef enum SOC_WarmResetCause_e
120 {
141 
148 typedef enum SOC_RcmResetCause_e
149 {
198 
200 
204 typedef enum SOC_RcmPeripheralId_e
205 {
322 
324 
328 typedef enum SOC_RcmPeripheralClockSource_e
329 {
374 
376 
380 typedef enum SOC_RcmDspClockSource_e
381 {
398 
400 
405 {
410 
412 
416 typedef enum SOC_RcmPllFoutFreqId_e
417 {
458 
460 
464 typedef enum SOC_RcmQspiClockFreqId_e {
481 
483 
487 typedef enum SOC_RcmEfuseFlashClkModeId_e {
488 
502 
506 typedef struct SOC_RcmPllHsDivOutConfig_s
507 {
508  uint32_t hsdivOutEnMask;
509  uint32_t hsDivOutFreqHz[SOC_RCM_PLL_HSDIV_OUTPUT_COUNT];
511 
515 typedef struct SOC_RcmEfuseQspiConfig_s
516 {
526 
534 
541 
549 
557 
566 int32_t SOC_rcmSetR5Clock(uint32_t r5FreqHz, uint32_t sysClkFreqHz);
567 
573 uint32_t SOC_rcmGetR5Clock(void);
574 
583 int32_t SOC_rcmSetDspClock(SOC_RcmDspClockSource clkSource, uint32_t freqHz);
584 
590 uint32_t SOC_rcmGetDspClock(void);
591 
601 int32_t SOC_rcmSetPeripheralClock(SOC_RcmPeripheralId periphId, SOC_RcmPeripheralClockSource clkSource, uint32_t freqHz);
602 
611 
616 
621 
626 
631 
636 
640 void SOC_rcmCr5bUnhalt(void);
641 
645 void SOC_rcmC66xStart(void);
646 
653 
660 
665 
670 
675 
680 
685 
690 
695 
700 
704 void SOC_rcmStartMemInitDSSL2(uint32_t l2bankMask);
705 
709 void SOC_rcmWaitMemInitDSSL2(uint32_t l2bankMask);
710 
714 void SOC_rcmStartMemInitDSSL3(uint32_t l3bankMask);
715 
719 void SOC_rcmWaitMemInitDSSL3(uint32_t l3bankMask);
720 
725 
733 uint32_t SOC_rcmIsR5FInLockStepMode(uint32_t r5fClusterGroupId);
734 
739 
746 
751 
754 #ifdef __cplusplus
755 }
756 #endif
757 
758 #endif
SOC_RcmEfuseFlashClkModeId_MAX_VALUE
@ SOC_RcmEfuseFlashClkModeId_MAX_VALUE
max value
Definition: soc_rcm.h:500
SOC_RcmPeripheralId_DSS_RTIA
@ SOC_RcmPeripheralId_DSS_RTIA
Value specifying DSS RTIA (Timer)
Definition: soc_rcm.h:269
SOC_RcmEfuseFlashClkModeId_0
@ SOC_RcmEfuseFlashClkModeId_0
Phase 0 : Polarity 0.
Definition: soc_rcm.h:492
SOC_RcmQspiClockFreqId_CLK_80MHZ
@ SOC_RcmQspiClockFreqId_CLK_80MHZ
Value specifying QSPI clock of 80 Mhz.
Definition: soc_rcm.h:476
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:524
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:273
SOC_RcmResetCause_MMR_CPU0_VIM0_RESET
@ SOC_RcmResetCause_MMR_CPU0_VIM0_RESET
Value specifying R5 Core A Subsytem Reset.
Definition: soc_rcm.h:165
SOC_RcmPeripheralId_CSIRX
@ SOC_RcmPeripheralId_CSIRX
Value specifying CSI RX.
Definition: soc_rcm.h:209
SOC_RcmDspClockSource
SOC_RcmDspClockSource
DSP Clock Sources.
Definition: soc_rcm.h:381
SOC_RcmDspClockSource_DPLL_CORE_HSDIV0_CLKOUT1
@ SOC_RcmDspClockSource_DPLL_CORE_HSDIV0_CLKOUT1
Value specifying PLL Core Clock Out 1.
Definition: soc_rcm.h:393
SOC_RcmResetCause_MMR_CPU0_RESET
@ SOC_RcmResetCause_MMR_CPU0_RESET
Value specifying R5 Core A (core only) Reset.
Definition: soc_rcm.h:173
SOC_RcmEfuseFlashClkModeId
SOC_RcmEfuseFlashClkModeId
Efuse value for flash clock mode.
Definition: soc_rcm.h:487
SOC_RcmPeripheralId_MSS_SPIB
@ SOC_RcmPeripheralId_MSS_SPIB
Value specifying MSS SPI-B.
Definition: soc_rcm.h:245
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:353
SOC_RcmPeripheralId_RCSS_SPIB
@ SOC_RcmPeripheralId_RCSS_SPIB
Value specifying RCSS SCIB.
Definition: soc_rcm.h:301
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:520
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:213
SOC_RcmPeripheralClockSource
SOC_RcmPeripheralClockSource
Peripheral Clock Sources.
Definition: soc_rcm.h:329
SOC_RcmPllFoutFreqId_CLK_1800MHZ
@ SOC_RcmPllFoutFreqId_CLK_1800MHZ
Value specifying PLL Fout of 1800 Mhz.
Definition: soc_rcm.h:433
SOC_RcmPeripheralClockSource_XREF_CLK1
@ SOC_RcmPeripheralClockSource_XREF_CLK1
Value specifying XREF_CLK1 Clock (From IO)
Definition: soc_rcm.h:369
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:297
SOC_RcmPeripheralId_MSS_RTIB
@ SOC_RcmPeripheralId_MSS_RTIB
Value specifying MSS RTIB (Timer)
Definition: soc_rcm.h:229
SOC_RcmPllFoutFreqId_CLK_1966p08MHZ
@ SOC_RcmPllFoutFreqId_CLK_1966p08MHZ
Value specifying PLL Fout of 1966.08 Mhz.
Definition: soc_rcm.h:449
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:277
SOC_RcmPeripheralId_RCSS_I2CB
@ SOC_RcmPeripheralId_RCSS_I2CB
Value specifying RCSS I2CB.
Definition: soc_rcm.h:289
SOC_RcmQspiClockFreqId
SOC_RcmQspiClockFreqId
QSPI frequency values.
Definition: soc_rcm.h:464
SOC_WarmResetCause_EXT_PAD_RESET
@ SOC_WarmResetCause_EXT_PAD_RESET
Value specifying External Pad Reset.
Definition: soc_rcm.h:136
SOC_RcmPeripheralId_DSS_SCIA
@ SOC_RcmPeripheralId_DSS_SCIA
Value specifying DSS SCI-A (UART)
Definition: soc_rcm.h:281
SOC_RcmPeripheralId_MSS_CPTS
@ SOC_RcmPeripheralId_MSS_CPTS
Value specifying CPTS (Timesync module)
Definition: soc_rcm.h:261
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:153
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:217
SOC_RcmPeripheralId
SOC_RcmPeripheralId
Peripheral IDs.
Definition: soc_rcm.h:205
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:357
SOC_RcmResetCause_RST_CAUSE_UNKNOWN
@ SOC_RcmResetCause_RST_CAUSE_UNKNOWN
Value specifying R5 Reset due to Unknown reason.
Definition: soc_rcm.h:193
SOC_RcmPllFoutFreqId_CLK_2000MHZ
@ SOC_RcmPllFoutFreqId_CLK_2000MHZ
Value specifying PLL Fout of 2000 Mhz.
Definition: soc_rcm.h:429
SOC_RcmPeripheralId_MSS_SCIA
@ SOC_RcmPeripheralId_MSS_SCIA
Value specifying MSS SCI-A (UART)
Definition: soc_rcm.h:253
SOC_rcmWaitMemInitDSSL3
void SOC_rcmWaitMemInitDSSL3(uint32_t l3bankMask)
Wait memory initialization to complete for DSS L3.
SOC_RcmPeripheralClockSource_SYS_CLK
@ SOC_RcmPeripheralClockSource_SYS_CLK
Value specifying System Clock (200Mhz)
Definition: soc_rcm.h:337
SOC_RcmPllHsDivOutConfig
Structure to specific PLL HS divider output frequencies.
Definition: soc_rcm.h:507
SOC_RcmPllFoutFreqId_CLK_900MHZ
@ SOC_RcmPllFoutFreqId_CLK_900MHZ
Value specifying PLL Fout of 900 Mhz.
Definition: soc_rcm.h:425
SOC_RcmDspClockSource_MAX_VALUE
@ SOC_RcmDspClockSource_MAX_VALUE
max value
Definition: soc_rcm.h:397
SOC_RcmPeripheralId_RCSS_MCASPC_AUX
@ SOC_RcmPeripheralId_RCSS_MCASPC_AUX
Value specifying RCSS MCASPC AUX.
Definition: soc_rcm.h:317
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:389
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:516
SOC_RcmPllFoutFreqId_MAX_VALUE
@ SOC_RcmPllFoutFreqId_MAX_VALUE
max value
Definition: soc_rcm.h:457
SOC_RcmPeripheralId_RCSS_I2CA
@ SOC_RcmPeripheralId_RCSS_I2CA
Value specifying RCSS I2CA.
Definition: soc_rcm.h:285
SOC_rcmR5TriggerReset
void SOC_rcmR5TriggerReset(void)
Trigger R5 core reset.
SOC_RcmPeripheralId_MAX_VALUE
@ SOC_RcmPeripheralId_MAX_VALUE
max value
Definition: soc_rcm.h:321
SOC_RcmEfuseFlashClkModeId_3
@ SOC_RcmEfuseFlashClkModeId_3
Phase 1 : Polarity 1.
Definition: soc_rcm.h:496
SOC_RcmResetCause_FSM_TRIGGER_RESET
@ SOC_RcmResetCause_FSM_TRIGGER_RESET
Value specifying R5 Reset due to FSM Trigger.
Definition: soc_rcm.h:189
SOC_rcmIsR5FInLockStepMode
uint32_t SOC_rcmIsR5FInLockStepMode(uint32_t r5fClusterGroupId)
Return R5SS status operating in lockstep or dual core mode.
SOC_RcmResetCause
SOC_RcmResetCause
Reset Causes.
Definition: soc_rcm.h:149
SOC_clearWarmResetCause
void SOC_clearWarmResetCause(void)
Clear Reset Cause register.
SOC_RcmResetCause_DBG_CPU1_RESET
@ SOC_RcmResetCause_DBG_CPU1_RESET
Value specifying R5 Core B Debug Reset.
Definition: soc_rcm.h:185
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:373
SOC_RcmResetCause_DBG_CPU0_RESET
@ SOC_RcmResetCause_DBG_CPU0_RESET
Value specifying R5 Core A Debug Reset.
Definition: soc_rcm.h:181
SOC_rcmWaitMemInitMSSL2
void SOC_rcmWaitMemInitMSSL2(void)
Wait memory initialization to complete for MSS L2.
SOC_WarmResetCause_TOP_RCM_WARM_RESET_CONFIG
@ SOC_WarmResetCause_TOP_RCM_WARM_RESET_CONFIG
Value specifying Software Warm Reset.
Definition: soc_rcm.h:132
SOC_RcmPllHsDivOutConfig::hsdivOutEnMask
uint32_t hsdivOutEnMask
Definition: soc_rcm.h:508
SOC_WarmResetCause_HSM_WDT
@ SOC_WarmResetCause_HSM_WDT
Value specifying HSM WDT.
Definition: soc_rcm.h:140
SOC_RcmPeripheralId_RCSS_MCASPB_AUX
@ SOC_RcmPeripheralId_RCSS_MCASPB_AUX
Value specifying RCSS MCASPB AUX.
Definition: soc_rcm.h:313
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:385
SOC_RcmPllFoutFreqId_CLK_1699p21875MHZ
@ SOC_RcmPllFoutFreqId_CLK_1699p21875MHZ
Value specifying PLL Fout of 1699.21875 Mhz.
Definition: soc_rcm.h:441
SOC_RcmR5ClockSource
SOC_RcmR5ClockSource
R5 Clock Sources.
Definition: soc_rcm.h:405
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:453
SOC_RcmPeripheralId_MSS_WDT
@ SOC_RcmPeripheralId_MSS_WDT
Value specifying MSS WatchDog.
Definition: soc_rcm.h:237
SOC_RcmPeripheralId_MSS_CPSW
@ SOC_RcmPeripheralId_MSS_CPSW
Value specifying CPSW (2 port ethernet switch)
Definition: soc_rcm.h:265
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:309
SOC_RcmQspiClockFreqId_CLK_40MHZ
@ SOC_RcmQspiClockFreqId_CLK_40MHZ
Value specifying QSPI clock of 40 Mhz.
Definition: soc_rcm.h:468
SOC_rcmStartMemInitDSSL3
void SOC_rcmStartMemInitDSSL3(uint32_t l3bankMask)
Start memory initialization for DSS L3.
SOC_WarmResetCause_POWER_ON_RESET
@ SOC_WarmResetCause_POWER_ON_RESET
Value specifying Power ON Reset.
Definition: soc_rcm.h:124
SOC_RcmPeripheralId_MSS_QSPI
@ SOC_RcmPeripheralId_MSS_QSPI
Value specifying QSPI (Quad SPI)
Definition: soc_rcm.h:221
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:349
SOC_RcmPeripheralId_MSS_SCIB
@ SOC_RcmPeripheralId_MSS_SCIB
Value specifying MSS SCI-B (UART)
Definition: soc_rcm.h:257
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:293
SOC_generateSwWarmReset
void SOC_generateSwWarmReset(void)
Generate SW WARM reset.
SOC_RcmR5ClockSource_DPLL_CORE_HSDIV0_CLKOUT2
@ SOC_RcmR5ClockSource_DPLL_CORE_HSDIV0_CLKOUT2
Value specifying PLL Core Clock Out 2.
Definition: soc_rcm.h:409
SOC_RcmPeripheralId_RCSS_ATL
@ SOC_RcmPeripheralId_RCSS_ATL
Value specifying RCSS ATL.
Definition: soc_rcm.h:305
SOC_RcmPeripheralClockSource_XREF_CLK0
@ SOC_RcmPeripheralClockSource_XREF_CLK0
Value specifying XREF_CLK0 Clock (From IO)
Definition: soc_rcm.h:365
SOC_RcmPeripheralId_MSS_I2C
@ SOC_RcmPeripheralId_MSS_I2C
Value specifying MSS I2C.
Definition: soc_rcm.h:249
SOC_RcmPllFoutFreqId_CLK_800MHZ
@ SOC_RcmPllFoutFreqId_CLK_800MHZ
Value specifying PLL Fout of 800 Mhz.
Definition: soc_rcm.h:421
SOC_RcmResetCause_STC_RESET
@ SOC_RcmResetCause_STC_RESET
Value specifying STC Reset.
Definition: soc_rcm.h:161
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:341
SOC_RcmPeripheralId_MSS_RTIA
@ SOC_RcmPeripheralId_MSS_RTIA
Value specifying MSS RTIA (Timer)
Definition: soc_rcm.h:225
SOC_RcmPllFoutFreqId_CLK_1920MHZ
@ SOC_RcmPllFoutFreqId_CLK_1920MHZ
Value specifying PLL Fout of 1920 Mhz.
Definition: soc_rcm.h:437
SOC_rcmGetDspClock
uint32_t SOC_rcmGetDspClock(void)
Get DSP frequency.
SOC_RcmResetCause_WARM_RESET
@ SOC_RcmResetCause_WARM_RESET
Value specifying Warm Reset.
Definition: soc_rcm.h:157
SOC_RcmQspiClockFreqId_CLK_60MHZ
@ SOC_RcmQspiClockFreqId_CLK_60MHZ
Value specifying QSPI clock of 60 Mhz.
Definition: soc_rcm.h:472
SOC_WarmResetCause
SOC_WarmResetCause
Definition: soc_rcm.h:120
SOC_RcmResetCause_MMR_CPU1_VIM1_RESET
@ SOC_RcmResetCause_MMR_CPU1_VIM1_RESET
Value specifying R5 Core B Subsytem Reset.
Definition: soc_rcm.h:169
SOC_getWarmResetCause
SOC_WarmResetCause SOC_getWarmResetCause(void)
Returns cause of WARM reset.
SOC_rcmGetPeripheralClock
uint32_t SOC_rcmGetPeripheralClock(SOC_RcmPeripheralId periphId)
Get peripheral frequency.
SOC_RcmPllFoutFreqId
SOC_RcmPllFoutFreqId
PLL Fout values.
Definition: soc_rcm.h:417
SOC_RcmQspiClockFreqId_MAX_VALUE
@ SOC_RcmQspiClockFreqId_MAX_VALUE
max value
Definition: soc_rcm.h:480
SOC_RcmPeripheralClockSource_WUCPU_CLK
@ SOC_RcmPeripheralClockSource_WUCPU_CLK
Value specifying Analog Wakeup CPU Clock.
Definition: soc_rcm.h:361
SOC_RcmPeripheralId_MSS_RTIC
@ SOC_RcmPeripheralId_MSS_RTIC
Value specifying MSS RTIC (Timer)
Definition: soc_rcm.h:233
SOC_RcmResetCause_MMR_CPU1_RESET
@ SOC_RcmResetCause_MMR_CPU1_RESET
Value specifying R5 Core B (core only) Reset.
Definition: soc_rcm.h:177
SOC_RcmResetCause_MAX_VALUE
@ SOC_RcmResetCause_MAX_VALUE
max value
Definition: soc_rcm.h:197
SOC_RcmPeripheralClockSource_XTAL_CLK
@ SOC_RcmPeripheralClockSource_XTAL_CLK
Value specifying Crystal Clock.
Definition: soc_rcm.h:333
SOC_WarmResetCause_MSS_WDT
@ SOC_WarmResetCause_MSS_WDT
Value specifying MSS WDT.
Definition: soc_rcm.h:128
SOC_RcmPllFoutFreqId_CLK_1728MHZ
@ SOC_RcmPllFoutFreqId_CLK_1728MHZ
Value specifying PLL Fout of 1728 Mhz.
Definition: soc_rcm.h:445
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:345
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:241
SOC_rcmR5ConfigDualCore
void SOC_rcmR5ConfigDualCore(void)
Configure R5 in dual core mode.