Tool/software:
Hi experts,
This is a continuation of the answer below from the original thread.
From 4fa3af8d3f1b3ad653417c19af4bb1c3470be83b Mon Sep 17 00:00:00 2001
From: Anand <s-anand@ti.com>
Date: Wed, 16 Jul 2025 12:19:10 +0530
Subject: [PATCH 1/2] Enabled C7X CPU Clock modification
---
bootloader_soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bootloader_soc.c b/bootloader_soc.c
index eaf28f1..8516b55 100644
--- a/bootloader_soc.c
+++ b/bootloader_soc.c
@@ -552,7 +552,7 @@ int32_t Bootloader_socCpuSetClock(uint32_t cpuId, uint32_t cpuHz)
uint32_t sciclientCpuDevId;
uint32_t sciclientCpuClkId;
- if((cpuId != CSL_CORE_ID_HSM_M4FSS0_0) && (cpuId != CSL_CORE_ID_C75SS0_0))
+ if((cpuId != CSL_CORE_ID_HSM_M4FSS0_0))
{
sciclientCpuDevId = Bootloader_socGetSciclientCpuDevId(cpuId);
sciclientCpuClkId = Bootloader_socGetSciclientCpuClkId(cpuId);
--
2.33.0.windows.2
From de16d9281c30f277355d6b4ff9e10874633dc244 Mon Sep 17 00:00:00 2001
From: Anand <s-anand@ti.com>
Date: Wed, 16 Jul 2025 12:30:51 +0530
Subject: [PATCH 2/2] Updated C7x clock to 1GHz
---
bootloader_soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bootloader_soc.c b/bootloader_soc.c
index 8516b55..e943c39 100644
--- a/bootloader_soc.c
+++ b/bootloader_soc.c
@@ -163,7 +163,7 @@ Bootloader_CoreBootInfo gCoreBootInfo[] =
.tisciProcId = SCICLIENT_PROC_ID_C7X256V0_C7XV_CORE_0,
.tisciDevId = TISCI_DEV_C7X256V0_C7XV_CORE_0,
.tisciClockId = TISCI_DEV_C7X256V0_C7XV_CORE_0_C7XV_CLK,
- .defaultClockHz = (uint32_t)(500*1000000),
+ .defaultClockHz = (uint32_t)(1000*1000000),
.coreName = "c7x0-0",
},
};
--
2.33.0.windows.2
A customer created SBL NULLs for the AM62AxRTOS SDK c7x, operating at 500MHz and 1000MHz, based on the above.
After booting them up and using the CCS profile clock, both clock speeds appeared to be running at 850MHz.
(A 50msec sleep operation was measured at 42041576 cycles, approximately 840.83MHz.)
Q1: Does the profile clock frequency change depending on the CCS load program?
Best regards,
O.H