取消
显示结果 
搜索替代 
您的意思是: 

Help with SERIAL FPGA

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!

0 项奖励
1 条消息(共 12 条)
4,152 次查看

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

https://forums.ni.com/t5/LabVIEW-Robotics-Documents/RS-232-Interface-Reference-Example-for-LabVIEW-F...

 

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,

Mauro Vera
Applications Engineer
National Instruments
0 项奖励
2 条消息(共 12 条)
4,136 次查看

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!

0 项奖励
3 条消息(共 12 条)
4,119 次查看

Good morning,

Please tell us what hardware you are using.

Sincerely,

Mauro Vera
Applications Engineer
National Instruments
0 项奖励
4 条消息(共 12 条)
4,111 次查看

Good day,

 

I am using c-Rio 9074 a output device 9474.

0 项奖励
5 条消息(共 12 条)
4,106 次查看

Alex,

Follow the link to PWM example. Any questions please contact us.

Generate PWM Clock on cRIO Using Scan Mode

https://forums.ni.com/t5/Example-Code/Generate-a-PWM-Pulse-width-modulation-Output-Signal-On-cRIO/ta...

 

Sincerely,

Mauro Vera
Applications Engineer
National Instruments
0 项奖励
6 条消息(共 12 条)
4,100 次查看

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?

0 项奖励
7 条消息(共 12 条)
4,089 次查看

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

https://forums.ni.com/t5/Example-Code/Pulse-Width-Modulation-PWM-IP-Core-for-LabVIEW-FPGA/ta-p/39961...


graciously,

Mauro Vera
Applications Engineer
National Instruments
0 项奖励
8 条消息(共 12 条)
4,072 次查看

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.

下载全部
0 项奖励
9 条消息(共 12 条)
4,062 次查看

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,

Mauro Vera
Applications Engineer
National Instruments
0 项奖励
10 条消息(共 12 条)
4,050 次查看