01-10-2014 01:38 AM
What I'm trying to do is on receiving data through CAN, I want to send that data through GPIO EMIO to LPC FMC Connector.
I enabled the EMIO in XPS to a width of 32, and in ports tab made it external and connected the ps7_0_GPIO_O to the external ports as I'm basically outputting data to the LPC FMC connector.
Then I added the ucf file assigning the ps7_0_GPIO_O to the xc7z020 pins connected to the LPC FMC.
I am running the CAN transceiver program written in SDK and loaded the system.bit file too.
I've set the DIRM and OEN for bank 2 of GPIO as 0xFFFF_FFFF
Yet I receive no data on the FMC connector terminals. The transceiver works perfectly without adding the GPIO part, but when adding the GPIO part, its not working.
What could be the possible errors in my method?
Also, I think any error would probably be in enabliing EMIO in XPS and its subsequent routing using the PlanAhead. If any material describing data transfer through EMIO to PL is available, then it would be great.
Note: I had already done according to zynq 7000 ctt but it didn't help
The PlanAhead project I made is attached if it could be of any use
My C code in SDK is as in helloworld.c
01-15-2014 02:23 AM
I think I should make it more concise.
CAN transmission working properly by polling method and also the program I made.
The received message is to be sent to the LPC FMC connector pins through PL.
My approach is sending the received message through GPIO bank 2 to LPC FMC connector pins.
Modifying the working program to send data to GPIO and programming the FPGA using the system.bit file generated in PlanAhead is not giving the desired result.
The board is not sending the data to LPC FMC connector pins.
I toggle an LED on receiving data, and it toggles. Yet no data on connector pins
01-15-2014 10:30 PM