I have connected my Pmod BT2 device into PmodB of the Pynq-Z2 board.
I’m able to get it working in SDK/Vitis by creating a block diagram from an empty design on Vivado and using the Pmod IP provided by Digilent. I accomplished this by simply using the Z2 board file, adding the ZYNQ PS, and directly connecting the Pmod IP’s output to the PmodB connector.
I had a couple of questions.
1st, with my custom block design that does not make use of the PYNQ base overlay, will I still be able to import and use the pynq.lib.pmod libraries? (I want to use PmodOLED in my design too, but not use the Digilent IP block for it). If not, should I modify the base overlay to include the PmodBT2 IP block and connect the pins with reference to Z2’s xdc file?
2nd, how can I access the BT2 device through Jupyter Notebook? In my attempts to interface BT2 using UART via the MicroBlaze library with my current block design, I get an “unable to parse” error. is it wrong to assume that the UART class will work with the PmodB interface? A potential solution I was thinking about was to use the base overlay and connect the PmodBT2’s pins to the Rpi/Arduino(Z1) header, but I’m not really sure…