Search the Community

Showing results for tags 'analog'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Test and Measurement
    • Measurement Computing (MCC)
    • Add-on Boards
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions
    • Archived

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 5 results

  1. Hello, I'm trying to set up a serial port connection between my Analog Discovery 2 and my RaspberryPi 4B+. When I open the "Protocol" window and manually send and receive data, everything seems to work. But when I run the UART example script, no data gets received. I'm using DIO 7 for TX and DIO6 for RX, my baudrate is 115200. I have GND attached between the Pi and the AD2. I'm running a python interpreter on my Raspberry Pi and just sending a simple "write" command each time I want to read data from the AD2. e.g. ser.write(b'hello\r\n'). When I'm looking at the Protocol window and click "Receive", I see the word "hello" pop right in the window (see attached image titled "Protocol Working"). When I run the UART example script, nothing gets printed into my output window, even though I'm filling the buffer with several "hello\r\n" messages sent from my Raspberry Pi. Note: I slightly modified the example based on the UART_initialize() function definition in this post: When I read the buffer from the Raspberry Pi, I can read the messages being sent by the AD2. I just can't read the messages from the Pi on the AD2. I can transmit, but not receive. Any idea what's going on? Another clue might be that my logic analyzer does not work unless I change the source to "Scope". Having the source set to "Digital" does not do anything. Pictures attached. Any assistance would be greatly appreciated!
  2. memo

    Arty S7 XADC Pins

    Hi there, I hope everyone is safe and doing well, and thank you checking out my forum post; I would greatly appreciate your help :D I was trying to get the XADC working on the Arty S7; I tried setting it up using the XADC IP in Vivado, and while I think I may have properly used the signals the IP has instantiated for me, I'm just a little confused which pins to connect the analog inputs to. To be more specific, the IP created two signals "vauxp0" and "vauxn0" which I think are the analog inputs: vauxp0 => Vaux0_v_p, vauxn0 => Vaux0_v_n, I suspect these need to be connected to analog input header pins on the Arty S7, and I found two pins called "Vaux0_v_p" and "Vaux0_v_n" in the .xdc constraint file which I connected to the signals above: ## ChipKit Single Ended Analog Inputs ## NOTE: The ck_an_p pins can be used as single ended analog inputs with voltages from 0-3.3V (Chipkit Analog pins A0-A5). ## These signals should only be connected to the XADC core. When using these pins as digital I/O, use pins ck_io[14-19]. set_property -dict { PACKAGE_PIN B13 IOSTANDARD LVCMOS33 } [get_ports { Vaux0_v_p }]; #IO_L1P_T0_AD0P_15 Sch=ck_an_p[0] set_property -dict { PACKAGE_PIN A13 IOSTANDARD LVCMOS33 } [get_ports { Vaux0_v_n }]; #IO_L1N_T0_AD0N_15 Sch=ck_an_n[0] My questions were: 1) Have I connected the IP-generated input signals to the right pins from the .xdc file? 2) If so, which header pins are these on the Arty S7 board? That is, where in the board should I connect my external analog signal to? Thank you all very much!
  3. Hi, folks. Does the Analog Discovery Studio have overvoltage protection for its digital IO, like the Analog Discovery 2? As far as I can tell, the underlying hardware for the Studio is the same as the AD2, but while the AD2 reference manual details +/- 20V overvoltage protection for digital IO (on pages 31 and 32), the Studio's reference manual states (on page 9): "Important Note: To prevent damage to the device, care must be taken not to drive input signals to the digital input/output channels over 5V." This is concerning, especially in the context of education. If true, this means a student could cause damage by inadvertently connecting the fixed 12V rails to the digital IO. Any clarification would be helpful. Thanks!
  4. Hi I've been using the AD1 for about a year. But now it seems the second scope doesn't function properly. When i run the scope on WaveForms it stays at -29V. Does anyone know if it's an SMD or something i can fix myself? Thanks
  5. Hello, I have seen a lot of contradictory information online regarding the sampling frequency of the Analog Discovery 2 ADC channel. Is it possible to sample at around 30 MHz for 20s and store the data in a csv for example with a time stamp? Second Is it possible to run several processes on the board simultaneously such as: 1) 2x analog read and data storage 2) motor control 3) Waveform generator assumming I have enough cores on my computer to run there respective programs.