TI中文支持网
TI专业的中文技术问题搜集分享网站

28033,28035 CLA

28033中,CLA能够直接控制GPIO吗,比如某一个GPIO翻转,变高,拉低等。如果可以的话用哪些汇编指令?

Seven Han:F2803x的cla不可以直接操作gpio:
Q: How can I interface to GPIO control from the CLA?
On most devices, the CLA does not have access to the GPIO control registers. GPIO control is typically handled by the main CPU. One thing that you could do is toggle a ePWM pin by accessing the ePWM registers with the CLA (see the ePWM's AQCSFRC register). If instead you want to toggle a GPIO pin at the end of the task, this could be done by the main CPU when it services the CLA interrupt.
On the 2837xD/S, the CLA can directly access the GPIO control and data registers -in fact, it takes ownership of the peripheral bus. For a given CPU subsystem, the CLA and DMA share secondary access to some peripherals, the primary owner being the subsystem CPU itself. The secondary ownership of the bus is determined by the CpuSysRegs.SECMSEL[VBUS32_x] bit. If it is set to 0, the CLA is the secondary owner. If it is set to 1, the DMA is the secondary owner. By default, at reset, the CLA is given the secondary ownership of the bus and, therefore, can access all the peripherals connected to it.

processors.wiki.ti.com/…/Control_Law_Accelerator_(C2000_CLA)_FAQ

28033中,CLA能够直接控制GPIO吗,比如某一个GPIO翻转,变高,拉低等。如果可以的话用哪些汇编指令?

user3900194:

回复 Seven Han:

非常感谢,帮助我解决此问题

赞(0)
未经允许不得转载:TI中文支持网 » 28033,28035 CLA
分享到: 更多 (0)