I have a PWM project runing in FPGA target. And my execution file is working very well but just with Ethernet. I would like to do a project that a person who will execute this file can choose witch communication to use. Other words I just want to know how to implement serial communication on my project.
Of portuguese: Eu tenho um projeto em FPGA de um pwm simples. Criei o meu arquivo executavel e esta tudo funcionando bem porem em comunicacao Ethernet. Gostaria agora de criar o mesmo projeto, porem em comunicao serial.
Please someone give me a help!
Good morning,
Here are some links with examples to assist in its implementation. Any questions please contact us.
RS-232 Interface Reference Example for LabVIEW FPGA
Can You Implement RS-232, RS-422, or RS-485 with NI FPGA Hardware?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9GYSA0&l=en-US
Sincerely,
Thank you Mauro. I had been seen that examples already. They are very hard. But I need to compile just FPGA MAIN?
And where i will put wich outputs I want set?
Thanks!
Good morning,
Please tell us what hardware you are using.
Sincerely,
Alex,
Follow the link to PWM example. Any questions please contact us.
Generate PWM Clock on cRIO Using Scan Mode
Sincerely,
Thank you Mauro. I have already my PWM done. I just want to set serial communicate to 9474 output. I this example is not for serial, is not it?
Good afternoon,
Here's an example of PWM done in FPGA module NI 9474. Any questions please contact us.
Pulse Width Modulation (PWM) IP Core for LabVIEW FPGA
graciously,
Good Afternoon,
Mauro I have did a PWM and works good. I have just one problem. Actually I have 2 pwms and I control them by frequency and duty cicle. But the problem is, when one pwm is working the other must be off but doesn´t. It stay at high. In attachment are my FPGA file and Host vi. If you see something wrong please help me.
Good morning,
There are examples of serial communication with FPGA, you will have to develop the communication protocol using their outputs and inputs of the module. Any questions please contact us.
Sincerely,