Manas

Members
  • Content Count

    29
  • Joined

  • Last visited

About Manas

  • Rank
    Member

Recent Profile Visitors

945 profile views
  1. Hi I have taken your suggestion and ran it in Vivado 2015.2. I tried using 2'h0 instead of 0, 2'h1 instead of 1 but the in vivado its showing synthesis error. The problem I am facing is that this code is not giving any output. I made some changes in the uart state fsm logic. The output I am expecting to see is a string of characters in the TeraTerm. The code is shown below: module transmitter( input clk, //UART input clock //input reset, // reset signal input transmit, //btn signal to trigger the UART communication //input [7:0] data, // data transmitted output reg TxD
  2. Hi [email protected] I have made some changes in the transmitter module to send a string of characters but I am only getting the first character on the pc, remaining characters are not coming through. Below is the code : `timescale 1ns / 1ps module transmitter( input clk, //UART input clock //input reset, // reset signal input transmit, //btn signal to trigger the UART communication //input [7:0] data, // data transmitted output reg TxD // Transmitter serial output. TxD will be held high during reset, or when no transmissions aretaking place. ); //internal variables re
  3. Hi In the code below a character array is declared using vhdl. I am unable to come up with verilog code. I am using the digilent github resource on GPIO for Nexys 4 Artix 7. In it there is GPIO_Demo.vhd, which declares ascii character in vhdl. I am trying to do the same but not able to get the module to work. I am facing errors with the verilog transition. Please find time to resolve this issue. ------------------------------------------------------- ---------------------------------------- GPIO_Demo.vhd: constant WELCOME_STR : CHAR_ARRAY(0 to 26) := (X"0A", --\n
  4. Hi [email protected], Thanks for the feedback. Following your suggested i was able to get it working. Now I am trying to send string of characters instead of using the switches to send a single character. The problem is I am not able to get it done with by code. I am facing issues with how to properly declare the string and connect it with "data" of transmitter module. Suggestions on how to achieve this will very helpful. Regards Manas
  5. Hi The following code is where i set the initial condition.Modules 'transmit' and 'transmitter' are sub-modules. Using State, I am trying to set the transmit module to initiate the trigger operation. module XADCdemo( input CLK100MHZ, input vauxp11, input vauxn11, output reg [15:0] LED, output [7:0] an, output dp, output [6:0] seg, output TxD, input [7:0] sw ); wire transmit; wire enable; wire [6:0] Address; wire ready; wire [15:0] data; reg State = 0; reg triggeredState; reg [32:0] decim
  6. Hi I am trying to send data from Nexys 4 Artix 7 FPGA Board to PC. I using uart to send the data at 9600 baud rate. The uart takes data through the switch and I am using SW(0 to 7) for this. The data transfer takes place only when button is press(btnU). I wanted to make this transfer automatic without having the need to use the button but have not been able to get it done. I have taken the code from http://www.instructables.com/id/UART-Communication-on-Basys-3-FPGA-Dev-Board-Power/?ALLSTEPS. I have made some change to replace the btnU with "State" to initiate the the data transfer. For th
  7. Manas

    XADC demo

    Hi, In the XADC resource, the port for using the UART_TX_CTRL is not specified in the xdc file. Is there a way set any of the I/O ports for this purpose? Please suggest a way. Regards Manas
  8. Manas

    XADC demo

    Hi In the resource, there is a uart_tx_ctrl to connect with an external uart device. How can this be done?
  9. Hi I'm not clear on how to connect the suggested PModUSBUART with the Xbee. Since I don't have the PMOdUSBUART, i was thinking to the on board usb-uart via FTDI adapter to connect with the Xbee. For power the FPGA board i plan to use the power jack. Kindly look into this. With regards Manas
  10. Hi [email protected], Thanks for help. I only intend to do point to point communication using the either series 1 0r 2 XBEE. I was contemplating on using the usb-uart onboard the Nexys4 Artix 7 FPGA board. Even if i go wiith the PModUSBUART, i still have confusion on how the connection should be done with the FPGA board. Do we make use of an general FTDI cable available? Yes, the Xbee operates on 3.3V, so I was contemplating on using the PMod connectors since it give 3.3V output. Is it necessary to use PModUSBUART. I still have difficulty in visualising how connection should be done. Kindly look into
  11. Hi, I have read the possibilities of Xbee and used it using arduino Uno board. Now, I facing problem on how to interface this on Nexys 4 Artix 7 FPGA Board. Basically i'm confuse on how to proceed on FPGA board. I have already started looking on UART protocol and its implementation. Please help me out on how to proceed forward. With regards Manas
  12. Manas

    XADC demo

    Hi Sam, I have manually solved the math behind the conversion to get the voltage using your logic but I'm still unable to figure out the multiplication of 250000. Could you please share light on this? I took 0.2V for the calculation, 0.2V in decimal comes out to be (819)10. (819)10 = (00110110011)2. After following your logic, I compared the voltage i got after using your logic and following the formula i.e. voltage = (12-bit_ADC_code)/4096 and it comes out be same. I Thanks Regards Manas
  13. Manas

    XADC demo

    Hi Is there a way to solve this timing issue? Also when i give 0.5 V sine wave to ADXP11, i get all zeroes in the seven segment display. This problem i haven't been able to solve. Thanks Regard Manas
  14. Manas

    XADC demo

    Hi I have found out that the binary data obtained from the VAUXP[11] can be converted to its corresponding voltage value using below equation.. Voltage = 12-bit_ADC_code/4096. I'm interested in setting up a fixed voltage level to be compared with the data from VAUXP[11] so as to generate an external alarm. I have calculated with 0.2V and got the corresponding binary representation. I was wondering if its better to set up comparison between the XADC reading and fixed voltage level using the binary representation or the corresponding voltage value. Please help me out. Regards
  15. Manas

    XADC demo

    Hi Sam I keep getting same error as shown in attached file after generating the XADC IP. I'm using vivado 2015.2. I have made necessary changes to the XADC IP still I'm getting the same error. Could you please help me out? Regards Manas