Cristian.Fatu

Technical Forum Moderator
  • Content count

    113
  • Joined

  • Last visited

  • Days Won

    7

Cristian.Fatu last won the day on December 15 2017

Cristian.Fatu had the most liked content!

About Cristian.Fatu

  • Rank
    Prolific Poster

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1768 profile views
  1. PMOD OLED2 Lib with Arduino UNO

    As James answered, unfortunately you can't use the library as it is. For example, if you take a look in Oled2Driver.cpp, you will notice that it uses PIC32 register names. But maybe this library can be used as a starting point if you want to build your functionality. See how Microchip PMP (Parallel Master Port) is used and you can build your own functionality to access OLED2. The library is rather complex, as it also implements character generator, some graphic directives. Still you can focus only on the part you are interested.
  2. Vivado-SDK 2017.2 Linux

    Regarding the specific errors you mention, we tried to create a simple helloworld application (which just includes <stdio.h>). Although the eclipse highlights “Unresolved inclusion: <stdio.h>” (similar to the situation described by you), the project builds without errors, and the C/C++ Build Settings (right mouse option on project) identifies the linux compiler arm-linux-gnueabihf-gcc. The conclusion is that this might be just an eclipse issue. Creating a linux application is a complex task, more difficult than creating a standalone application. There are several tutorials available on the Internet of how to handle Linux applications in SDK. https://www.xilinx.com/video/hardware/how-to-create-linux-applications.html Also, please read https://forums.xilinx.com/t5/Embedded-Development-Tools/Trouble-creating-Linux-Application-in-SDK-2016-2-or-2016-4/td-p/752561 Apart from Linux approach, we direct you to some tutorials for understanding basic concepts of Vivado / SDK. Please start with the following tutorial, which guides you through the process of creating the Block Design (in Vivado), export the hardware to SDK: http://www.zynqbook.com/php/getDownload.php?req=1 Also, you can read the following tutorials / wiki pages: http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/ http://www.wmelectronic.at/PDFS/digilent/ZedBoard_GSwEL_Guide.pdf http://www.wiki.xilinx.com/Linux Good luck.
  3. Vmodcam project's read and write batches

    The last version of VmodCAM is rev. C. Anyway, this example is the only one we have, so try to use it "as it is". When you add new questions, please add new posts, as editing the previous posts is not a good approach because existing answers seem to "float" over replaced questions.
  4. Vmodcam project's read and write batches

    Yes, it is stereo vision implementation. Please read the documentation inside the zip file to find more, as I know very few about this project.
  5. Vmodcam project's read and write batches

    Hello, Hoping that this might help you, I am sending you a demo application. It is a 3D Vision demo, based on VmdoCAM. Please note that this demo was not released, so it is not "polished". https://www.dropbox.com/s/zoyo4ja8cbgzv2j/3D Camera Demo Project.zip?dl=0. Good luck!
  6. CANNOT MAKE AN ORDER TO RUSSIAN FEDERATION ADDRESS

    Hello, Cristina is providing via e-mail all the needed information (she is already in contact with him since yesterday). Regards, Cristian
  7. zybo power supply

    You are welcome. I was happy to provide a positive answer for your question.
  8. zybo power supply

    Yes, this power supply is good. According to the reference manual https://reference.digilentinc.com/reference/programmable-logic/zybo/reference-manual you need 5V and at least 2.5 A. Regards, Cristian
  9. Cerebot 32MX4 With PModCls

    Hello, First of all you should understand that there are major differences between Cerebot 32mx4 http://store.digilentinc.com/cerebot-32mx4-limited-time-see-chipkit-pro-mx4/ and Cerebot 32mx4cK (also called chipKIT Pro MX4): http://store.digilentinc.com/chipkit-pro-mx4-embedded-systems-trainer-board-limited-time/ regarding MPIDE usage: The first one does not have the UART USB connector therefore it can't be used with MPIDE (or Arduino IDE). Apart from this, the boards are pretty similar. So, what can we do? Obviously, my advice is to focus on using the board with standard Microchip tools (MPLABX). But you don't have a MPLABX library for PmodCLS, so you will have to take a look at the MPIDE library (linked by Dan), see how it works, and implement it on MPLABX. Basically there are some low level access function (like SendBytes) that implement the SPI communication and there are upper level functions that call the low level functions. You will have to implement the low level functions using the PIC32MX4 registers. You can find examples of SPI implementations over the Internet, or at Microchip documentation. You can also use Microchip Harmony for this (although we preferred to do direct register access). I am attaching here some kind of SPI library that I used for a PIC32MX370F512L (a similar but yet different microcontroller) to communicate over SPI with a flash memory. You should only use the low level functions like ConfigureSPI, TransferByte, TransferBytes. Also note that these source files are in work, they are not polished to be released. Good luck. SPI.zip
  10. ZyBo -3 speed grade available?

    No, Digilent is not offering customized versions of the products. We are sorry for this. Best Regards, Cristian
  11. JTAG-HS3 has died

    Please open Device Manager and see if something appears when you plug the HS3. Thank you, Cristian
  12. ZyBo -3 speed grade available?

    Hello, Unfortunately we do not provide different speed grade FPGAs on our boards, therefore the answer is negative. Regards, Cristian
  13. Pic32mx7, Keyboard, LCD, Code

    Briefly, this is what you have to do: - start MPLABX - create a new project, entering precisely the microcontroller your board has (see reference manual) - copy the files I sent you in the project folder and add them to project (add existing items) - edit ClpLib_config.h so that the definitions match with the pins (see reference manual, there is a table at the end) - include in your functions (main, for example) calls to CLP functions Good luck.
  14. PmodACL DSPI library for Arduino

    Hello, As James wrote, you will need to port the library to your available SPI library. PmodACL performs very simple (basic) SPI operations (read and write), therefore porting will be very easy. Just replace the calls to DSPI transfer functions with calls to SPI transfer functions. And, after you've done it, you may chose to share your work with other potentials users. Good luck !
  15. Pic32mx7, Keyboard, LCD, Code

    Hello, Please take a look on the board's name. Is it Cerebot 32mX7 http://store.digilentinc.com/cerebot-32mx7-retired/ or Cerebot 32mX7cK http://store.digilentinc.com/cerebot-mx7ck-retired/ ? In both cases, the approach is similar. You should read the board's reference manual and identify the IO pins where Pmods are connected. I am attaching here a kind of MPLABX library for CLP. You have to edit the ClpLib_config.h and define the proper IO pins for your board. Regarding the keyboard, please take a look on https://reference.digilentinc.com/pmod:pmod:KYPD. There you will find examples of using the keyboard (just in MPIDE, unfortunately, but you can learn how to do it, it's not very difficult). Good luck ! CLPLib.zip