Part Number: TDA4VH-Q1
Hello,
The DSP program has been loaded offline using uboot. Refer to:https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1358333/tda4vh-q1-start-remote-cores-c71-from-u-boot-prompt?tisearch=e2e-sitesearch&keymatch=k3_dsp%20dsp%4064800000%3A%20Boot%20vector%200x70147bc0%20not%20aligned%20on%200x200000%20boundary#
Now we have a problem.
The calculation time of offline loading algorithm is longer.
Offline loading time: 1120us (INFO: size.Cache_L2Size = 0)
CCS XDS110 download program calculation time: 180us (INFO: size.Cache_L2Size = 2)
Use the Cache_getSize(&size) function to get the information. The difference between the two is that L2 cache configurations are different.
My guess is that the c71 run factory program (vx_app_rtos_linux_c7x_1.out) has already initialized the L2 Cache before loading the ccs algorithm. So downloading our algorithm directly through XDS110 can make the algorithm run faster.
I tried to configure L2 cache myself first. Using the Cache_enable(uint16_t type) function of the csl library, but this doesn't seem to be working.
What can I do to configure the L2 cache size of C71?
Thanks,