Hi Ed, I agree these sentences in the TRM are a little confusing. The same addresses can be used by the CPU and the CLA for registers of peripherals that both cores have access to . Different devices have their own cases where the address spaces are used differently between cores, especially for larger devices with a lot of peripherals like the F2838x where address space is more limited. I will make sure this section of the TRM is changed to be more accurate. In this specific case, the CLA doesn't have access to the PieCtrlRegs so there is no need to reserve addresses for it in the CLA's (limited) memory space. The addresses can be used to access the CLA_ONLY_REGS instead, which only the CLA has access to. If the CLA accesses registers using the defines in hw_memmap.h (for example like below), the compiler takes care of any address change when compiling for each core. For example, if accessing CLA1_ONLY_BASE in a .cla file, the compiler will use the address 0xC00. If you tried to access this register from a C file compiled for the C28x, the compiler would throw an error saying CLA1_ONLY_BASE is not defined, meaning it wouldn't accidentally access the PieCtrlRegs. Please upvote this response if it is helpful Best Regards, Delaney
↧