This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6748: sata读写问题

Part Number: TMS320C6748


例程主要是芯片手册上相关代码

;添加相关cmd命令(读或写)后,p0ie全部set为1,将p0cmd.st set 为1,随后将p0ic寄存器set为1,然后p0ic位始终不清零,不触发p0is中断,随后(很长时间后)p0is触发,观察相关变量发现是phy进行了复位,且p0ic始终无法清空。将cmd中的R_OK位set为1同样无法清空p0ci。