• Content Count

  • Joined

  • Last visited

About Vishnuk

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I am new to FPGA, can somebody tell me how to use uart ipcore , how can we modify the vhdl code for the same. iam working on basys 3 board.
  2. Hi, Can somebody help me by sending a working UART vhdl code for echo test. i want to test it on my basys 3 board. Kind regards
  3. Vishnuk

    Fpga XADc

    Hi, i want to used fpga basys 3 xadc . i want to know what kind of interface to be used like when AXi -lite/stream and DRP interface is used and for what purpose? for example if i am connecting externally a voltage divider circuit with a potentiometer to the Xadc port , how do i do real time data monitoring?
  4. problem solved i used Vaux 15 instead of Vp VN channel. Thanks lot for the reply. I have a query though. i will be using xadc for reading a ccd image so inorder to read 1000 pixel whose analog signal will be around 1Mhz, what do i do jus use a for loop i.e for i=1 to 1000 data=getadc(channel); end is this the right method?
  5. Why do i need to set VCCINT? I am using VP/VN channel
  6. Hi, I have used XADC IP Core on my Basys 3 board, I am unable to get updated value. i Keep getting 0V Can you please help me out with this. I have attacthed the block design and SDK Code. Kind regards R Vishnu Kumar Code #include <stdio.h> #include "xparameters.h" #include "xsysmon.h" #include "xil_cache.h" //#include "xsysmon.h" #include "sysmon_header.h" #define SYSMON_DEVICE_ID XPAR_SYSMON_0_DEVICE_ID //ID of xadc_wiz_0 static XSysMon SysMonInst; //a sysmon instance //static int SysMonFractionToInt(float FloatNum); int main() { u32 TempRawData,VccIntRawData,ExtVolRawData; float TempData,VccIntData,ExtVolData; int xStatus; XSysMon_Config *SysMonConfigPtr; XSysMon *SysMonInstPtr = &SysMonInst; //init_platform(); printf("Hello World\n\r"); printf("Test1\n\r"); //‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ SysMon Initialize SysMonConfigPtr = XSysMon_LookupConfig(SYSMON_DEVICE_ID); if(SysMonConfigPtr == NULL) printf("LookupConfig FAILURE\n\r"); printf("Test2\n\r"); xStatus = XSysMon_CfgInitialize(SysMonInstPtr, SysMonConfigPtr, SysMonConfigPtr->BaseAddress); if(XST_SUCCESS != xStatus) printf("CfgInitialize FAILED\n\r"); printf("Test3\n\r"); //‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ XSysMon_GetStatus(SysMonInstPtr); // Clear the old status XSysMon_SetSequencerMode(SysMonInstPtr, XSM_SEQ_MODE_SINGCHAN); XSysMon_SetAlarmEnables(SysMonInstPtr, 0x0); //XSysMon_StartAdcConversion(SysMonInstPtr); while(1) { //wait until EOS activated while ((XSysMon_GetStatus(SysMonInstPtr) & XSM_SR_EOC_MASK ) != XSM_SR_EOC_MASK ); VccIntRawData = XSysMon_GetAdcData(SysMonInstPtr,XSM_CH_VPVN); //Read the on‐chip Vccint Data VccIntData = XSysMon_RawToVoltage(VccIntRawData); printf("The Current VCCINT is %0d Volts. \n\r",VccIntData); XSysMon_ResetAdc(SysMonInstPtr); usleep(5000000);XSysMon_GetStatus(SysMonInstPtr); // Clear the old status //XSysMon_SetSequencerMode(SysMonInstPtr, XSM_SEQ_MODE_SINGCHAN); XSysMon_SetAlarmEnables(SysMonInstPtr, 0x0); //XSysMon_StartAdcConversion(SysMonInstPtr); } return 0; } //‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
  7. hi Dan, i got the Led blinking, i made an error in xdc file. Thanks for your response.
  8. Hi D@n, i am using BAsys 3 Board. I intend to use Pmod JC connector for interfacing LED externally. i am following this tutorial So i configured the PMOD JC as GPIO. Output port but i am unable to blink or either turn on the LED. Can you please help me with it. I tried with other PMOD like JA, but unable to glow or blink the LED
  9. Hi i am unable to blink led using PMOD connector. i have used PMOD Ip as GPIO.