Search the Community

Showing results for tags 'pmodsd'.



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
    • 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 6 results

  1. So for my senior design project we're using a microblaze to poll a number generator and then write that data to an SD card. I've adapted the demo code provided in the PMOD microsd driver files to take input variables and write them to a string. Then I take that string and write it to the SD card. My problem is that no matter what I try I can't print to multiple lines. I've looked in the DFATFS.h file where all the functions are abstracted but I'm at a bit of a loss. I'll attach a text file containing the subroutine that writes to the SD card (it gets called when ever there is a new value to write). Let me know if theres any other details i didn't provide. sd write.txt
  2. Hello, Does PmodSD (https://reference.digilentinc.com/reference/pmod/pmodsd/reference-manual) support SD mode of operation? Is it designed only to work with SPI mode as written in the reference manual? Please let me know Regards, Vinay Shenoy
  3. Hello, I am using Arty board attached to 2 peripheral modules (PmodSD and PmodNAV) to write navigation data to SD card. To do so, I am combining the C example codes provided on Github for each module, and simplified it a bit which is attached. My problem is that each one of the modules are working fine individually with their own code, as long as the other Pmod is not initialized in the C code, but when I am using them at the same time it destroys my output to terminal and writes zero to both terminal and SD card. I am suspicious that the issue is because PmodSD and PmodNAV are both using AXI_LITE_SPI to talk to Microblaze, and I do not have any control on SPI bus when I am writing data. As a result, Microblaze does not know how to communicate with both of Pmods at the same time. Does this make sense? What is the best way to control the AXI_LITE_SPI when there are multiple modules connected to the Microblaze? I am trying to keep this as simple as possible, so I can use the example codes. Any help is highly appreciated. -Mahdi main.cc
  4. Hi, Inside file https://github.com/Digilent/vivado-library/blob/master/ip/Pmods/PmodSD_v1_0/drivers/PmodSD_v1_0/data/PmodSD.tcl shouldn't 'PmodWIFI' not be replaced by 'PmodSD' ? wkr Eddy
  5. Hi everyone, I am working on the tutorial of the Pmod Wifi (found here https://www.youtube.com/watch?v=KTeTMv3oiPw) and I don't really understand the role of the Pmod SD. From what I saw, in the tutorial, the Pmod SD is used to hold the static HTML pages that are then loaded in the browser. I would like to try something simpler, basic Wifi communication, and I wanted to leave out the Pmod SD IP from the block design, but then I got critical warnings at the bitstream generation. No problems arise when the Pmod SD IP is added, though. So I was wondering, is there a more important role to the Pmod SD that I did not seem to get? The critical warnings say: [IP_Flow 19-3298] Detected external port differences while upgrading IP 'PmodWIFI_axi_quad_spi_0_0'. These changes may impact your design. [IP_Flow 19-3298] Detected external port differences while upgrading IP 'PmodWIFI_axi_gpio_0_0'. These changes may impact your design. [IP_Flow 19-3298] Detected external port differences while upgrading IP 'PmodWIFI_axi_gpio_1_0'. These changes may impact your design. I am using Vivado 2015.4. I would appreciate any ideas on how these modules work or what I could have done wrong. Thanks a lot!
  6. Hello Is there any example on hoe to use the MX3kck with Pmod Ad5 and saving data to Pmod SD? I got them both working individually but having trouble getting them to work together. I pretty sure its something to do with the SPI or DSPI setups or calls. After I run this command which makes the SD selected " SD.begin(chipSelect_SD) " I can no longer get PmodAD5 data. How would I turn the Pmodad5 back on make it the active one? Whats an good way to get data from PmodAd5 and save it to Pmod SD at fast rates. Thanks for all the help Code below if you want to look at it PmodAD5 on JE connector Pmod SD on JC connector Using Mx3ck board. #include <AD7193.h> #include <DSPI.h> #include <SD.h> /******************************************************************************/ /************************ Variables Definitions *******************************/ /******************************************************************************/ AD7193 myAD7193; //char tempString [10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; unsigned long data = 0; double voltage = 0; File myFile; const int chipSelect_SD=16; //CS is at logical port 16 const int LD4=42; //LD4 is at logical port 42 const int LD5=43; //LD4 is at logical port 43 void setup() { Serial.begin(115200); if(myAD7193.Init()) { Serial.println("AD7193 OK"); } else { Serial.println("AD7193 Error"); } /*! Resets the device. */ myAD7193.Reset(); /*! Select Channel 0 */ myAD7193.ChannelSelect(AD7193_CH_0); /*! Calibrates channel 0. */ myAD7193.Calibrate(AD7193_MODE_CAL_INT_ZERO, AD7193_CH_0); /*! Selects unipolar operation and ADC's input range to +-2.5V. */ myAD7193.RangeSetup(0, AD7193_CONF_GAIN_1); //myAD7193.SetRegisterValue(1,0x010008,3,1); pinMode(LD4,OUTPUT); //set LD4 as output pinMode(LD5,OUTPUT); //set LD5 as output digitalWrite(LD4,LOW); //turn OFF LD4 to start with digitalWrite(LD5,LOW); // turn OFF LD5 to start with pinMode(chipSelect_SD,OUTPUT); digitalWrite(chipSelect_SD,HIGH); if(!SD.begin(chipSelect_SD)) //************************************** <<<<After I run this command I can no longer get A/D data*************************************************** { digitalWrite(LD4,HIGH); //was digitalWrite(LD4,HIGH); return; } } void loop() { data = myAD7193.SingleConversion(); voltage = myAD7193.BinaryToVoltage(data); myFile.println(voltage); Serial.println(voltage); }