Need to here the wishbone snap

How would you suggest adding an interrupt to the wishbone interface?

Comments

  • Do you want the FPGA to generate an interrupt to the begalebone ? I already did this in the past (with Angstrom and no device-tree ...) and with newer versions of the software of BBB you have two ways to do this :

    1) you can modify the device tree description of the LOGI-Bone and state that one of the pins is used as GPIO (the best pin options are GPIO1_28 that can also be used for byte addressing but we don't use it). Then you can either modify the LOGI-Bone driver code to handle the interrupt (i can share code on that)  or use the GPIO driver of beaglegbone to detect event (http://hipstercircuits.com/capture-input-events-via-gpio-on-beaglebone-black/)

    2) wire one of the arduino connector pin to an unused GPIO of the beaglebone-black and use the method described in http://hipstercircuits.com/capture-input-events-via-gpio-on-beaglebone-black/.

    You then just need to design a FPGA architecture that generates this event. I also have a basic interrupt handler for wishbone that takes multiple input from peripherals and generate an interrupt signal on a single pin. When this event is generated, the user code and access teh wishbone bus and read the interurpt handler to see how triggered that interrupt. Let me know if this is unclear or if you need help on the coding.

    Regards,

    Jonathan Piat
Sign In or Register to comment.