I extended the Arty Z7 DMMShield demo to use a MTDSShield. The touch screen was a natural for selecting the function and ranging and displaying the measurements.
This turned out to be a bit tricky for several reasons.
The DMMShield does not have a SPI pass through connector. I ended up using tall stackable connectors to provide enough clearance to use a cable from the Arty SPI connector to the MTDSShield SPI connector.
The DMMShield used IO10 for its SPI chip select which is also the default chip select for the MTDSShield. I had to specify the alternate SPI chip select of IO8 for the MTDSShield in the constraints.
The Arty Z7 board definition has MISO and MOSI swapped as compared to the Arty A7 and S7 boards. I had to specify the correct pins in the constraints as described in this forum post.
You can see the swap if you compare the following section in the Arty Z7, Arty S7 and Arty A7 board.xml files and observe the logical to physical mapping for spi_miso and spi_mosi.
Question
kwilber
I extended the Arty Z7 DMMShield demo to use a MTDSShield. The touch screen was a natural for selecting the function and ranging and displaying the measurements.
This turned out to be a bit tricky for several reasons.
You can see the swap if you compare the following section in the Arty Z7, Arty S7 and Arty A7 board.xml files and observe the logical to physical mapping for spi_miso and spi_mosi.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.