在 USRP2 中对 LED 进行编程

发布于 2024-12-03 01:45:45 字数 173 浏览 10 评论 0原文

软件可以对 USRP2 的 LED 进行编程吗?

目前我正在使用中断机制(使用 IRQ)并读取固件中的这些中断服务。

我正在寻找一种方法,是否可以在 FPGA 代码中对 LED 进行编程。

我了解 LED 具有一些预定义的功能。我可以使用未使用的 LED。

谢谢 基兰

Is it possible to the Software Programm the LED's of the USRP2 ?

At the moment I am using the Interrupt mechanism (Using IRQ's) and reading servicing these interrupts in the firmware.

I am looking at a way, if I can program the LEDs in the FPGA code.

I understand the LEDS have some pre-defined functionality. I could use the LEDS which are not being used.

Thanks
Kiran

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流心雨 2024-12-10 01:45:45

控制 LED 非常简单!这一切都在 FPGA 代码中完成,只需将引脚设置为低电平或高电平即可。

打开Verilog并找到它们的控制位置。这是一个简单的更改,您只需使用 Xilinx 工具链重建 FPGA 代码即可。

但请注意,如果您不习惯使用 FPGA 工具,那么这并不容易完成。

Controlling the LEDs is really simple! It's all done in the FPGA code, and it is just a matter of setting the pins low or high.

Open up the Verilog and find where they are controlled. It is a simple change, and you'll just need to rebuild the FPGA code with the Xilinx toolchain.

Note, though, that if you aren't comfortable working with FPGA tools, this isn't easy to accomplish.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文