federicopy Posted August 2, 2019 Share Posted August 2, 2019 Hi. I want to read the switch with microblaze using nexys4 and the example input_demo.c of ip repository. Give me this error. Why?...... Hi Again. I can do to run my design but the input no change. PmodSW.pdf main.c Link to comment Share on other sites More sharing options...
jpeyron Posted August 2, 2019 Share Posted August 2, 2019 Hi @federicopy, Welcome to the Digilent Forums! I was able to get the Pmod SWT working with VIvado 2019.1 on JA with the Nexys 4. Looking at your block design it looks like you are altering the board files. I would suggest getting the project working before altering any of the board file settings. I have attach screen shots of most of the process in vivado, sdk and tera term output. Your main.c is altering the frequency? The GPIO_begin function in your main.c is setting the pins for output instead of input. You should be using 0xFF instead of 0x00. You can see this by looking at the GPIO_begin function in the PmodGPIO.c and how we call the GPIO_begin function in the two examples here. best regards, Jon Make sure to set the reset type to active low. Link to comment Share on other sites More sharing options...
Question
federicopy
Hi. I want to read the switch with microblaze using nexys4 and the example input_demo.c of ip repository. Give me this error. Why?......
Hi Again. I can do to run my design but the input no change.
PmodSW.pdf main.c
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.