Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21593 Diskussionen

Arria 10 HPS, SPIM mapped to FPGA

TomCarpenter
Neuer Beitragender I
1.260Aufrufe

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;

 

Beschriftungen (1)
  • I|O

0 Kudos
1 Lösung
TomCarpenter
Neuer Beitragender I
1.191Aufrufe

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;

 

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
aikeu
Mitarbeiter
1.215Aufrufe

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


TomCarpenter
Neuer Beitragender I
1.192Aufrufe

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;

 

aikeu
Mitarbeiter
1.172Aufrufe

Hi TomCarpenter,


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


Thanks.

Regards,

Aik Eu


aikeu
Mitarbeiter
1.133Aufrufe

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


Antworten