在semaphore的user guide中“The module supports up to 64 semaphores that can be accessed by all four cores.”和SEMFLAG Registers (0 – N)N=0~3.
为什么是4个core怎么使用?为什么不是1个或8个?
对应的csl库中的masterID又有什么用?
与c66的corepac数量什么关系?
谢谢
Shine:
以数据手册为准,8个核都可以访问semaphore2.
The semaphore module supports 8 masters and contains 32 semaphores to be used within the system.masterID表示核号
The semaphore module is accessible only by masters with privilege ID (privID) 0 to 7, which means only CorePac 0 to 7 or the EDMA transactions initiated by CorePac 0 to 7 can access the semaphore module.www.ti.com/…/tms320c6678.pdf