• Content count

  • Joined

  • Last visited

  • Days Won


Notarobot last won the day on June 14

Notarobot had the most liked content!

About Notarobot

  • Rank
    Prolific Poster

Recent Profile Visitors

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

  1. Notarobot

    What FPGA to buy..? What FPGA to buy..?

    It is hard to make useful recommendations without knowing how much time do you have and what is your background. From my experience I would go with Zynq-7000. In the past I used Spartan FPGA and lately Zynq boards Zybo and MicroZed. I've found Zynq boards vastly superior in capabilities. Both above mentioned boards are around $200, allow for running Linux if you need, have SD cards for storage, Ethernet PHY for fast communication. Important to note that all communication can be implemented using C code on dual core ARM. FPGA side is also "easy" to utilize as well, when you need. There are plenty of training materials and Xilinx design tools are pretty usable. Very important to note that Xilinx provides a lot of IP free of charge. You can find various opinions on this matter. Mine is sort of pragmatic one.
  2. Notarobot

    Simple Dual Port BRAM

    Hi newkid_old, It is difficult to diagnoze your problem since the diagram is not complete and it is not clear what is the FPGA code. I assume that BRAM is used by both FPGA logic and Microblaze. Anyway, I would make two notes: 1. The signal wea should be either 8-bit or 4-bit depending your your BRAM configuration. 2. If you write to one port and read from the second you don't need to toggle wea or check it when writing. It can be set once only. Both ports A and B are independent. Make sure that in properties you set write_first for port A and read_first for port B. Since you are using Vivado block design no instantiation of BRAM is needed in the HDL code. It is very easy but for the price of very limited configuration options. It works for me though. Highly recommend to create and run workbench BRAM simulation. BTW, Vivado has help with RAM coding examples explaning proper usage.
  3. Notarobot

    How to read from SD card on ZYBO

    Hi shahbaz, I can't help you because information you provided is very sketchy. Did the example work for you? Did you follow the file operations sequence of the TestSD example? I suggest to spend some time learning how to work with the FAT file system. It is very simple.
  4. Mahdi, The idea of using mailbox is interesting but I am not sure that it is helping you to speed up data processing. It definitely adds extra overhead latencies which you wanted to reduce. In similar situations I conducted measurements of latencies using XScuTimer Timer; /* Cortex A9 SCU Private Timer Instance */ Xilinx provides examples of its utilization with Vivado. Obtaining accurate profiling information will make clear where is your bottleneck. Using it with Zybo board I've found that writing to micro SD card can be done at speeds over 10 MB/s, 32-bit RAM operations with AXI at about 30 MB/s. It should be noted that writing to SD card is faster in blocks of 32kB and SD card should be formatted with 32kB sectors aligned. Good luck!
  5. Notarobot

    Fpga XADc

    It is very similar to what you would do using any microprocessor, for example Arduino. The difference is in the hardware. I would recommend seaching this forum for relevant posts.
  6. Notarobot

    How to read from SD card on ZYBO

    shahbaz, Typically src folder contains C-code written by the person who design the project. It should contain the main function. You can try attached Xilinx test code. It's rudimentary but you can change it to your needs. Also you don't need to copy Xilinx files into src folder, they will be added to your project from the BSP. TestSD.c
  7. Notarobot

    How to read from SD card on ZYBO

    Hi shahbaz, If you are Ok using micro SD card adapter embedded in Zybo I would recommend to use it with the driver xsdps provided by Xilinx. Please note that it is connected and intended for use by PS not PL. The driver is located in Vivado library \embeddedsw\XilinxProcessorIPLib\drivers\sdps In Vivado the only thing is needed is enabling SD card in the processing system. Everything else is done in SDK. There you will need to add library xilffs to the BSP. File system and functions are described in here Good luck!
  8. Notarobot

    Zynq - data copy from PS to PL without importing IPs?

    Why don't you use BRAM for getting access to PS data? PS can write to BRAM directly.
  9. Notarobot

    stdin and stdout for uartlite

    I would recommend to check Xilinx IP located in Vivado in the folde embeddedsw\XilinxProcessorIPLib\drivers\uartlite\examples Typically, stdin/stdout are designated for system messaging.
  10. Notarobot

    FPGA for DSP on Adaptive Dynamic Vibration Absorber

    Derry, zygot and all who find this post, Having experience using all the above mentioned computer tools I wanted to share my opinion. Matlab is powerful and very good tool but it is overpriced and I am afraid will loose customers because very few small companies can afford paying license fee + annual maintenance fees. The problem that you never know how many toolboxes will be needed to get the required functionality. Working for a small company we've spent 14k for bare minimum. It was no substitution for Simulink and we bit the bullet. It is indespensible if you need time domain simulation of a system. Today Matlab itself can be completely replaced by Python 3. It has overlapping functionality and examples exist for pretty much everything. In fact processing of large data sets is done mostly in Python. Since everything is open source I can share Jupyter notebooks with others without requiring licenses. It is not difficult to create application distribution with GUI. From contributions from thousands developers Python is getting more powerful every day and its penetration into embedded is probably deeper than Matlab/Simulink which is geared mostly to car manufacturers. At this time I use only Python 3 and Matlb/Simulink. Octave and SCILAB are nice but Python can easilty replace both.
  11. Notarobot

    FPGA for DSP on Adaptive Dynamic Vibration Absorber

    I think it is important factor but might be not the first priority. However, we can see examples of people choosing careers with earning potential below the cost of college educations as well. In my experience in the EE field the best jobs are in the R&D area. The most valuable skill is creative system design. Knowing FPGA and being able to utilize FPGA multiply your abilities to implement ideas on time and on budget. Companies don't care how you do it, they care for customer to be happy with their product and to come back for more.
  12. Notarobot

    FPGA for DSP on Adaptive Dynamic Vibration Absorber

    Hi Derry, Let me try to answer some of your questions. First of all my personal recommendation is start on Zynq. There are plenty of development boards available either on Digilent or Avnet sites. I've started on Zybo and MicroZed. Zynq boards include ARM CPUs which will cut development time tremendously when you need to implement various communication functionality, use SD card memory, supervisory functions, Linux OS etc. Effort of implementing of all of these and glueing together in one application using just FPGA is probably possible but at significant cost. Personally, I find it unnecessary painful and wasteful. There are a lot of other reasons not to choose this way. However, opinions vary. Since Zynq is more complex it takes more time to get comfortable with it, that is to understand its architecture, learn HDL FPGA programming, learn Vivado development tool, design methodology, etc. Luckily, there are a lot of resources available at this time. I'd recommend watching video tutorials and get into one of online classes. I've started Zynq having VHDL FPGA experience in the past. It took some time for me to make the first demo of my project but the time was well spent. I would never accomplish that much without the Zynq. My personal recommendation is to use VHDL for FPGA programming because it is typed and well structured language. Stupid omissions are typically spotted before they propagate into the design. Noise issues and mitigation measures should be taken seriously. Using 24-bit ADC means that the input signal range floor is at sub uV levels. Obviously at this high sensitivity ADC will be able to pick up voltages induced from any surrounding sources, for example, computer, AC, monitor, DC-DC converters, etc. I recommend to start with materials published by Analog Devices. Good guidance you can get understanding designs of 24-bit evaluation boards from different manufacturers. For the project like yours I would use evaluation boards but add input low pass filters. I like and used Mathworks a lot, especially, Simulink. However, commercial license cost puts it out of reach for many small enterprises. Luckily, these days Python has functionality on par with Matlab (not Simulink). Take a look at the "PYNQ-Z1 Python Productivity for Zynq" on Digilent.
  13. Notarobot

    FPGA for DSP on Adaptive Dynamic Vibration Absorber

    @Derry In my opinion your choices in great extent depend on how much time you have for your project. Learning FPGA on Zynq will take substantial time. I would say 3 months at least. You will need to know architecture, learn VHDL or Verilog and be comfortable with simulation and programming tools. Using FPGA will give you ability to utilize many ADC boards in parallel easily. FMC cards/boards are expemely helpful but still you will need to get on a top of Zynq system development. I would agree with xc6lx45 that to be safe you can try to accomplish your project without FPGA, for example, by using multiple evaluation and processor boards. It should be said that Digilent forum is very helpful (if questions are well defined and demonstrated that the poster did his homework). BTW, consider one of the challenges of 24-bit ADC conversion that is digital noise and parasitic coupling from anywhere. To mitigate it you will need to use galvanic isolation and shielding of various modules.
  14. Notarobot

    Accessinng OCM memory from PL side

    In my opinion the best answer you will find reading Xilinx ug585 document and searching Xilinx knowledge base. In short OCM is intended for fast memory storage used by ARM or Microblaze processors. The fastest and simplest memory storage for PL is BRAM. You can read/write BRAM directly from both PS and PL. You can send blocks of memory from BRAM to OCM. OCM is located on the Zynq chip while DDR is on separate chip. The size of DDR memory depends on the board manufacturer while the OCM memory size is always the same.
  15. Notarobot

    connecting IP blocks for PL side - project includes GPS module, GSM module,Memory, Debug TAP controller

    Hi Sridhar, 1. What gps module do you have in mind? 2. There is no problem to have two UARTs. You can set GPS UART operating with interrupt and use polling of data from the GSM module. You can also have two interrupts with different priorities and the CPU will get data accordingly. 3. Also read a datasheet for any commercial product with similar functionality and try to create similar one for you project/product. Keep it for yourself, don't publish. Creating this datasheet will force you to make several important decisions and better understand scope of the project, its challenges and find solutions. Separate problems and solve them one by one. 4. I suggest to start experimental work with any of selected modules. You will learn a lot and gain confidence.