Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21588 讨论

Arria 10 HPS, SPIM mapped to FPGA

TomCarpenter
新分销商 I
1,248 次查看

I am trying to wire up a SPIM peripheral from the Arria 10 HPS to FPGA IO pins, and there is one point of confusion in the technical reference manual.

In Table 214, the naming of pins, there is an output enable for the MOSI line when using the peripheral as a master. The name of this signal is given as "spim_mosi_oe"

TomCarpenter_2-1708726975800.png

This matches the RTL signal names.

However in Figure 112, a different naming convention is used:

TomCarpenter_1-1708726933877.png

Could you confirm whether the output enable is active high as implied by the signal naming:

assign mosi = spim_mosi_oe ? spim_mosi_o : 1'bz;

Or active low (as in the diagram):

assign mosi = spim_mosi_oe ? 1'bz : spim_mosi_o;

 

标签 (1)
0 项奖励
1 解答
TomCarpenter
新分销商 I
1,179 次查看

So my issue was actually a pin assignment rather than the output enable logic.

 

After a bit of testing, it would seem for the Arria 10 the diagram in the technical reference manual is wrong. The output enable is active high

 

Following the signal naming convention not the diagram. The output enable is active high:

assign mosi = spim_mosi_oe ? spim_mosi_o : 1'bz;

 

在原帖中查看解决方案

0 项奖励
4 回复数
aikeu
员工
1,203 次查看

Hi TomCarpenter,


From the technical reference manual, referring to the signal data transfer diagram, ssi_oe_n will be active low when going to perform a tx operation.


Thanks.

Regards,

Aik Eu


0 项奖励
TomCarpenter
新分销商 I
1,180 次查看

So my issue was actually a pin assignment rather than the output enable logic.

 

After a bit of testing, it would seem for the Arria 10 the diagram in the technical reference manual is wrong. The output enable is active high

 

Following the signal naming convention not the diagram. The output enable is active high:

assign mosi = spim_mosi_oe ? spim_mosi_o : 1'bz;

 

0 项奖励
aikeu
员工
1,160 次查看

Hi TomCarpenter,


Noted with the respond. I will inform and discuss the issue to the team regarding the matter.


Thanks.

Regards,

Aik Eu


0 项奖励
aikeu
员工
1,121 次查看

Hi TomCarpenter,


Since the issue has been resolve I will close the thread for now. I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


Thanks.

Regards,

Aik Eu


0 项奖励
回复