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.

关于omapl138的upp传数的问题



fpga将128个32bit的数,拆分成256个16bit数之后传给DSP。upp_CLK一直都有,upp_ENABLE的长度是256个CLK,没有使用upp_START和upp_WAIT。当USB口接GPS等会产生信号的设备时。upp传送给DSP的数据会产生高低位的错位(本来高低高低排列的数据,会变成低高低高),reset upp的话,下一组数据会恢复正常,否则的话,需要等到下一个不确定因素的产生才能恢复。

upp的设置和使用如下:

#define UPP_UPCTL 0x02220000

#define UPP_UPICR 0x0f000010

#define UPP_UPIVR 0x00000000

#define UPP_UPTCR  0

#define UPP_UPDLB  0

#define UPP_UPIES  0

#define UPP_UPPCR  0

UPP->UPID0 = UPP_Read_Addr;

UPP->UPID1 = 0x00010200;

UPP->UPID2 = 0x00000200;

有什么地方设置错误吗?