Search the Community

Showing results for tags 'Pmod'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 211 results

  1. Hello all, I would like to generate a user-defined clock (1.8V 24MHz) out from the board. (for other devices) After I use a clock_wizard to generate a 24MHz clock and make external, which pin is suitable for assignment? 1) Choose Pmod JA1 (EPP pin = Y11), however, the pin is 3.3V in default. Should I buy a Pmod level-shiftier ? 2) Is there any other proper external IO recommended? Thanks.
  2. Hi everybody, I have an RFID module which can be controlled through an RS232 communication. I have tested it with a rs-232 connection with a PC and with an also with an usb-serial converter. I can connect with the RFID module an receive its data through a terminal emulator such as Teraterm, PuTTY, etc. The data are simply ASCII strings of codes. The module can also be configured by sending some ASCII commands, this is also tested. Now I want to do the same with a microcontroller (Arduino, Lopy, etc.), i.e., the microcontroller would act as the PC, getting data from the RFID reader. I have acquired a Pmod rs232. The needed connection with the RFID module is shown in the attached image. The RFID module comes with a rs232 wire with the connections made. I connected the d9-female side connector to the Pmod rs232 through a female-male gender like this one. My understanding is that the RFID module is a DTE since RXD and TXD are crossed as can be seen from the image. I have connected the Pmod rs232 to Arduino but I am not able to see anything. So the scheme is: Arduino UNO serial connection --> Pmod rs232 --> rs232 wire --> RFID module. The connection is 9600 8N1. I tried some code such as "if some character is received activate internal LED", or getting the data through a configured software UART and sending data through the USB and see them in serial monitor. So far with no success. I have some questions: 1- My understanding is that this Pmod rs232 is a max232. Can be any problem if I am doing a DTE-DCE connection or DTE-DTE? I seem to understand I just would have to connect the TTL pins accordingly. Pins 1 and 2 are unconnected. 2- How can I test the Pmod rs232 is working? This is connected to arduino 1, on the ttl side pin 6 is connected to 5V, pin 5 to gnd, and 4 and 3 to RX and TX respectively. 3- Is there any other way to check where the problem is? Any advice will be very welcome, I am stuck with this. Thanks in advance. PS: Long time ago I designed a PCB based on a PIC and a max232 and I could succesfully communicate with the RFID module.
  3. Hi, I want to connect the pmod oled display to my raspberry pi, but I'm not really getting the hang of how I should wire it. If someone can explain where to plug in each pin and how to code it that would be great. Thank you.
  4. Looking at https://reference.digilentinc.com/reference/pmod/specification?redirect=1 I see what appears to be template text lower in the page. Wondering whether that's intended to be filled out at some point?
  5. I am trying to use a Pmod485 (P/N 410-310) to connect an Arduino (TTL) to a motor controller (RS485). I am only using 1 Pmod485 and I am assuming I do need to short JP1, is this done just by sliding the blue cap over both pin headers? Also, the IC block diagram shows 2 separate GND (GND1 and GND2) but the module only has 1 GND available on the pin header. Does this mean both GND on the IC are connected together? pmod_pmod_pmodrs485_rm.pdf
  6. elAmericano

    pmod esp32

    Hello, I am working with Artix A7 board, implementing various PMODs successfully. I am having some issue with PMOD-ESP32 unfortunately. The source files from a project off github (ESP32.c/ESP32.h) from https://github.com/mitchellorsucci/PMODESP32 as well as the included libraries (PmodESP32.c/PmodESP32.h) GitHub Project: I believe the following macros need to be re-defined in the ESP32.h file from github, however in XILINX project for Artix A7, there is a uart-lite that is connected via AXI and there is a uart connected to the ESP32 IP. I have tried to define both. When I define this as the uart-lite device ID, I get some output on console, but I cannot successfully connect to WIFI (which makes me believe the AT commands are being sent to AXI-UART , but not to ESP32 device uart). When I define uart_device as ESP device, nothing prints to console terminal. Please let me know if you have any suggestion. #define UARTLITE_DEVICE_ID XPAR_UARTLITE_1_DEVICE_ID #define INTC_DEVICE_ID XPAR_INTC_0_DEVICE_ID #define UARTLITE_INT_IRQ_ID XPAR_INTC_0_UARTLITE_1_VEC_ID When I try to use the PmodESP32.h / PmodESP32.c included with IP, I am also not able to succesfully communicate with device. I basically do the following ESP32_HardwareEnable(ESP32); ESP32_Initialize(ESP32, u32 UartBaseAddr, u32 GpioBaseAddr); ESP32_HardwareReset(ESP32); ESP32_SendBuffer(ESP32, u8 *buffer, u32 count); The commands i try to send are for connecting to WIFI and for configuring TCP, the functions return 0, which i understand means not succesful. I have reconfigure some of the functions from the github project to work with PmodESP32.c/PmodESP32.h files (the github project uses a UART only devicePtr, whereas the included PmodESP32 files have GPIO / UART structure). int set_wifi_mode(PmodESP32 * devicePtr, unsigned int mode) { u8 tx_buf[50]; if(mode > 3) { xil_printf("Mode %d is not supported for setting the WiFi mode\n\r"); xil_printf("Please Use Modes:\n\r"); xil_printf("\tNULL_MODE\n\r\tSTATION_MODE\n\r\tSOFTAP_MODE or\n\r\tSOFTAP_AND_STATION_MODE\n\r"); return XST_FAILURE; } sprintf(tx_buf, "AT+CWMODE=%d", mode); ESP32_SendBuffer(devicePtr, tx_buf, strlen(tx_buf)); send_n_clr(devicePtr); return XST_SUCCESS; } int get_current_AP(PmodESP32 * devicePtr) { u8 tx[] = "AT+CWJAP?"; ESP32_SendBuffer(devicePtr, tx, strlen(tx)); send_n_clr(devicePtr); return XST_SUCCESS; } int set_current_AP(PmodESP32 * devicePtr, char * ssid, char * pwd, char * bssid) { u8 tx_buf[100]; sprintf(tx_buf, "AT+CWJAP=\"%s\",\"%s\"", ssid, pwd); if(bssid != NULL) { int cursor = strlen(tx_buf); sprintf(tx_buf + cursor, ",\"%s\""); } ESP32_SendBuffer(devicePtr, tx_buf, strlen(tx_buf)); sendNLCR(devicePtr); return XST_SUCCESS; } int list_available_APs(PmodESP32 * devicePtr, char * ssid) { u8 tx_buf[100]; sprintf(tx_buf, "AT+CWLAP"); if(ssid != NULL) { int cursor = strlen(tx_buf); sprintf(tx_buf + cursor, "=\"%s\"", ssid); } ESP32_SendBuffer(devicePtr, tx_buf, strlen(tx_buf)); sendNLCR(devicePtr); return XST_SUCCESS; } ESP32.c ESP32.h PmodESP32.c PmodESP32.h
  7. Hello, I'm new to this form, looking for some help with the Dual H bridge PMOD DHB1. I connected my power supplier to J4, my motors to J5 and J6. I have a custom IP that uses switches to drive motor speed with most significant bits of a duty cycle for PWM output at 2kz. I also have 2 switches connected to the DIR1 and DIR2 respectively. I also have button 3 connected to a reset condition to initialize code, inputs and outputs. To help debug, I connected the EN1 and EN2 output of the custom IP to the board LEDs to confirm that the signals are working correctly. I also checked the voltage at EN1 and appears to be doing what I expect. However, I do not have any motor actuation. I checked the voltage at the J4 = 8V, but neither J5 or J6 have any voltage differential between M+ and M-. I checked the sleep and fault pins they are both high, which is normal behavior as they are pulled low when in sleep or faulted state. Any advice on what I can do to find an issue would be appreciated. Thanks, Dave HBridgeTOP Hbridgecode (1)
  8. Hi, I recently purchased one of the LabVIEW Home Computing Kits with the Beagle Bone Black along with a PmodDA2 (I2C interface) and a PmodDA1 (SPI interface) from Digilent. My goal is to make low cost, LabVIEW based controller for an EV that I have built. I was able to get the BLINK VI to work without any issue once I realized what Debian Image would work with LINX. (As mentioned on this forum 8.6 is the latest). I am currently running 8.4 on my BBB but I cannot seem to get the LINX I2C interface to work. The code required for the PmodDA1 appears straight forward compared to other, more complex I2C Pmods. I have attached a screen shot of the LINX I2C Write error I keep getting. I get a similar error if I try to perform a read. I know that channel 2 is the only I2C channel available on the BBB according to a LINX pinout for the BBB I found on the LabVIEW MakerHub site, so the only issue I can think of is that I am just not sending the 17 bit slave address (0101000b) correctly. Any assistance would be greatly appreciated.
  9. anavarrot

    PMOD NIC100

    I am working on a project that involves a PIC24E and a PMOD NIC100. Is there any library or examples about how to make them interact with each other? Thank you in advance.
  10. Hello, I am currently working on a university project where I want to record video frames using the Pcam 5MP and wirelessly transmit them via the Pmod WiFi to my laptop. I am using the Zybo Z7-20, Vivado 2017.4 and the Digilent vivado library from the master branch. My goal is to make a TCP server on my laptop and create a TCP client using the Pmod WiFi. In order to familiarize myself with the Pmod I have successfully implemented the following examples: HTTPServer and TCPEchoServer. In the TCPEchoServer example I have created a TCP client on my laptop using Python and I was able to send and receive simple messages like "Hello World", which were displayed in the serial terminal and echoed back to the TCP Client. I believe this shows that both HDL design and SDK project were correctly built. The SDK application is targeted to C++ and I do not have any compilation errors, just a few warnings. The HDL design is identical to the one in this post: https://forum.digilentinc.com/topic/17224-pmod-wifi-sdk-problem/?do=findComment&comment=52875 However, I could not run the TCPEchoClient C++ example. In this case I used Python to create a TCP Server on my laptop and I tried to connect the Pmod TCP Client to this server. Every time I run the example the serial terminal outputs the following: Serial Terminal Output This demonstrates that the Pmod WiFi is able to connect to my WiFi network, but it cannot establish a connection with the TCP Server. The "state" does change to "TCPCONNECT" but the application gets stuck in the TCPCONNECT case, because the if statement " if (deIPcK.tcpConnect(szIPServer, portServer, tcpSocket)) " never becomes true. The szIPServer and portServer variables were set according to the DHCP IP allocation obtained from my WiFi router as seen in the screenshot below. const char *szIPServer = "192.168.1.154"; uint16_t portServer = DEIPcK::iPersonalPorts44 + 300; // Port 44300 Where DESKTOP is my laptop and Unknown is the Pmod WiFi. Parameters which match the IP:port values were set in my Python script for the TCP server, which can also be found attached here. Initially I thought that there might be an issue with the TCP Server, but I have downloaded a TCP Client app on my phone and using this I was able to send and receive messages from my phone to my laptop. Therefore, my laptop does not seem to block any inbound TCP connections. I have also used a TCP Server app on my phone and modified the szIPServer and portServer variables in SDK to match the new setup. Once again, I was unable to establish a connection between the Pmod WiFi TCP Client and the TCP server on my phone. Is the TCPEchoClient example only meant to work with the TCPEchoServer example? I cannot test this as I only have one Pmod WiFi. I would really appreciate any help with this issue. Please let me know if I forgot to include other vital information about my setup. Kind regards, Daniel EDIT: I have added a few print statements in the "DEIPcK.cpp" file, more exactly inside of the switch(tcpSocket._classState) of the tcpConnect() function. These print statements show that my application cannot leave the ipsInUseW case. I have found that this case means " // we are in use, may not be establised, but just waiting to be established" but I am not exactly sure how to proceed from this point as I do not really understand what is happening. It also appears that the state of the TCP socket is always equal to 11 (tcpSynSent) which was obtaiend from "pSocket->tcpState". EDIT2: I have also managed to connect my Pmod TCP client to google's server as done by the user in this post: https://forum.digilentinc.com/topic/19611-pmod-wifi-sdk-issues/?do=findComment&comment=53905. It seems like we both have the same issue where we cannot use the TCP Client to connect to our local servers. TCP_Server.py main.cc
  11. elAmericano

    ESP32

    Hello, I am working on integrating ESP32 PMOD into a vivado 2018.2 project. I have imported DIgilent IP library into Vivado. When I place PMOD and connect to board, during compilation. It is actually a general message from the block design (See attached image). It apperas to me that this IP is for ArtyZ7? or some other Zync product? If so, is there IP available for Arty A7 or is this message to be ignored?
  12. elAmericano

    Artix7 & ZedBoard

    Hello, My group has acquired the two boards Artix A7 and ZedBoard for developing some applications. I am noticing couple differences regarding projects and documentation. One such difference has to do with the reference base design. For Artix A7 I am finding the PMOD ports, and I2C, SPI, UART, Ethernet included in Board connections. For ZedBoard, very few peripherals are included in the base design I was able to locate. Question: For developing new applications for Zynq, can you provide some information regarding Zynq base desing. Is there more complete project for integrating HDMI / PMODS/ etc.. Does the Arty Z7 provide better support with respect to this feature? If so we may consider to develop on this board alternatively. I appreciate your feedback,
  13. Hello, I've been trying for over a two months to make a project including the PmodWifi for sending data from PIR motion sensors to a computer with wifi. At fisrt I was working with Basys 3 board that I had but I undrstood that it doesn't have enough memory space. So I got Nexys 4 DDR board and tried using it there. Unfourtunatly I had some trouble with configuring the DDR so I reached some professional help from an engineer that works in the field. He gave me a new board, Zynq UltraScale+ MPSoC ZCU106, that he knows for sure how to work with and configure. We managed to generate bitstream and started working on the SDK by trying to use the TCPEchoClient example from the PmodWifi library ip (2019.1). We tried using this ip library first but it had errors so we switched to this one. We are currently working with Vivado 2017.4 because of what we learned that other versions have errors (flexible array member 'DHCPDG_T...). We got some other errors that we can't find any information how to solve. The first one is that from the beginnig when I just make a new application project I see an error in the bsp on the System.h file: 'XPAR_CPU_CORE_CLOCK_FREQ_HZ' undeclared (first use in this function) Final_Project_bsp line 73 C/C++ Problem This error happened also with the other library and to be clear, I didn't modify any of the files. After I edited the main.cc file (copy/paste from the TCPEchoClient example code) about 20 other errors showed up: undefined reference to `DEIPcK::begin()' main.cc /Final_Project/src line 186 C/C++ Problem undefined reference to `DEIPcK::periodicTasks()' main.cc /Final_Project/src line 244 C/C++ Problem ... undefined reference to `vtable for DEMRF24' AdaptorClass.h /Final_Project_bsp/psu_cortexa53_0/include line 61 C/C++ Problem I've been trying to make this thing work for too long, please help me finish this project. I'm attaching some screenshots of the project and the main.cc file. Thank you, Netanel. main.cc
  14. MoGamaal

    Pmod OledRGB

    I think my question is general but i want to know how to initialize Pmod OledRGB using case when-statment i found some vhdl codes using this method but i cant understand it
  15. Hi, I'm new to this and am considering buying these items chipKIT Max32 pmod OLEDrgb pmod JSTK2 My question is, how do I connect the pmod devices to the Max32? Do I need the following? Digilent Arduino PMOD shield I'm also considering getting a MPLAB Snap, would I need some sort of cable for that, like they mention in the video? Also, if I'd like to use https://www.microchip.com/wwwproducts/en/PIC32MZ2048EFM144#additional-features what hardware do I need? Breadboard and cables?
  16. We are trying to communicate between two PMOD BT2 modules. We first configured one module as master and the other as slave using SM command in tera term ,then we searched from the master terminal for the other device and we got the MAC of the other device then we tried connecting to the device using the SR command but we didn’t get any response. Can you help us resolve this issue?
  17. Hi everyone ! I have little project to do :displaying an image on PMOD Oled in VHDL Language. I took the Nexys4 vhdl project and tried to make it run, i have an Basys 3 Board,so i've just replaced some constraints with mine on the Board,and it gives me Failed Bitream Write:W5,J1,L1 are not valid site or package pin .Why are they not valid pins,Do I need to make extra stuff to make it work on this Different Board ? I'll attach the constraint file below.Thank you in Advance. Nexys4_Master.xdc
  18. herve

    PMod AD4 (16 bits/1MSPS)

    Dear all, Has Digilent stopped manufacturing and selling the Pmod AD4 (16 bits and 1 MSPs)? I can not find it online. Thank you. B.R Herve
  19. Hi, My setup is using Avnet Ultrazed board with PMOD AD1. Also I am using Xilinx Vivado & SDK 2019.1. I am successfully being able to use 1 channel of the PMOD AD1. I am trying to use both the ADC channels on the PMOD AD1. As the PMOD libraries has no board support files for the Avnet Ultrazed board I went ahead and created a QSPI IP block to get a single channel working. I am having trouble getting the second channel working. Few doubts I have are: 1. For the QSPI IP block, should I use it in standard mode or Dual SPI mode. (I have set the data pins as MISO. Also selected the number of slaves as 1) 2. In the C code how do I switch between the 2 ADC channels as the 2 slaves are connected to the same chip select. I have set the slave select in initialize as --> XSpi_SetSlaveSelect(SpiInstancePtr, 0x01); 3. Should I use manual slave select or automatic slave select? --> XSpi_SetOptions(SpiInstancePtr, XSP_CLK_ACTIVE_LOW_OPTION | XSP_MASTER_OPTION | XSP_MANUAL_SSELECT_OPTION); Thanks!
  20. Hey all, First off, I apologize - I'm at work, now, with no access to the hardware, o-scope, etc. So all from memory for now, until I can get some time at home.... NOTE: All development being done under Xilinx ISE 14.7 WebPack. Target platform is an Opal Kelly XEM3005 (Xilinx Spartan 3E) Day 1: Wrote & sim'd Verilog to drive a PMODAD1 12b ADC. Seemed to work as planned. Day 2: Tried interfacing to an Opal Kelly XEM3005 (Spartan 3E) board with 3.3V logic & power. No joy. Funky stuff going on. Began troubleshooting. Day 3: Wrote code for Raspberry Pi Zero W (using WiringPi) to drive the AD1. Everything works as it should. Data reads work as close to perfect as I can ask for. Day 4: Continue troubleshooting FPGA - realize my constraints file is no bueno, and is assigning FPGA pins incorrectly. Fixed that. (So, reasonably sure that constraints file is copacetic) Day 5: Wrote code to drive a PMOD DA2 2-channel 12b DAC. Code Sim'd. Works well. Integrated into FPGA - code works well, DA2 works as advertised. Also works well with OK's FrontPanel - I can give a command from the PC, and the DA2 spits out the appropriate voltage. (This was another step to validate FPGA platform functionality & correctness). Day 6: Re-code and re-sim DA1 Verilog. Works as expected. Day 7: Integrate code onto XEM3005 - still no joy. Probe with oscilloscope: Power good - 3.3V, rock solid Ground good: little to no noise. Chip Select (CS) looks good - ~990kHz rate, normally high, Goes low for readout periods. Less than perfect due to being on a protoboard connected via a 6: cable. Serial clock (SCK) looks good - ~16MHz, only active during CS Low periods, high when CS is high (quiet time) DO and D1 outputs - constant low. A fair amount of digital noise. Sometimes, having a probe attached to D0 or D1 with the other probe attached to SCK or CS will couple noise in to the FPGA, giving me a noisy signal that is meaningless (except for the fact that it tells me my inputs are working - or so I think) It appears as though (bare with me - I'm an analog guy) the lines are heavily loaded - i.e., something is pulling the lines to ground. I see on the AD1 datasheet that the outputs are protected by 100 Ohm resistors, so this seems a potential (likely?) culprit (?) Not instantiating IOB's in my code, but those normally aren't necessary except to override defaults in the constraints file. Double- and triple-checked that the D0 and D1 ports are set up as inputs. Constraints file does not explicitly turn on Pull-ups or pull-downs. (LOGIC_3v3, IIRC) Recoded main fixture to move connections to different pins. No change in results - everything (appears) identical. Day 8: Just got home - did some double checking and disconnected the PMOD outputs from the FPGA: With the FPGA disconnected, the signals look pretty darned good: Took some quick measurements of the FPGA input pins - they seem to hava a constant ~0.75V on them with quite a bit of digital trash... This is clearly (I think) an FPGA setup problem.. So, here I am... Looking for clues. Anyone have any? Thanks in advance
  21. Hello, I'm a student and currently working on my final project including Basys 3 board and wifi pmod. I'm trying to get started working with the module to understand how it works. This is my first project working with Pmods. I've been using the Getting Started with Digilent Pmod IPs tutorials. I added the newest Vivado library including the PmodWifi IP and I bulit a block design with the MicroBlaze and other GPIO IPs. I followed the instructions of the tutorials and got to the part of validating the design, there I got a warning saying few of the wifi pmod pin are not connected. I've got a few other warnings and errors so I really don't understand what went wrong. If anyone know what the issue is and can help me, that would be awesome! Also I'm looking for an example project for wifi pmod using Microblaze to learn from. I'm attaching some screenshots of my project. thanks, Netanel.
  22. I purchased a PMOD-BT2 recently and since (according to your documentation) the SPI connector uses the same power as the regular PMOD connector, I though I could just connect it via the SPI header (not supplied), for programming. Strangely enough, the FPGA board (a Nexys4-DDR) would not power up. An investigation reveals a strange fact: according to an ohm-meter the power on the SPI header is reversed compared to your documentation. I would appreciate it if someone from Digilent could confirm this from the PCB schematics and update your documentation ASAP, as well as issue an errata, because connecting the power the wrong way round has a habit of blowing things up.
  23. I would like to know the crystal ppm for the crystal populated on PMOD-RTCC (using the MCP791410T real time clock calendar). Is a BOM available for this module?
  24. I'm working with a Xilinx Spartan-7 (Arty S7-25) FPGA and was wondering if the "P" and "N" for the PMOD differential pairs are reprogrammable or swappable? Will swapping them damage any components or just not work? I notice their naming scheme but is there any significance beyond that. The banks I'm referring to are the JA and JB PMOD connections (See JB bank below). Thank you!
  25. i wanted to interface multiple digital serialiser with arty A7 35T board through pmod pins. And transmit the same data through UART. help me with the verilog code and other resource.