[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] UNNAMED PROJECT branch, gpio, created. 937846d6770dbdc
From: |
git version control |
Subject: |
[Commit-gnuradio] UNNAMED PROJECT branch, gpio, created. 937846d6770dbdcc1dc4fae1d8862e4fdc8394dd |
Date: |
Sun, 14 Aug 2011 00:05:35 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, gpio has been created
at 937846d6770dbdcc1dc4fae1d8862e4fdc8394dd (commit)
- Log -----------------------------------------------------------------
commit 937846d6770dbdcc1dc4fae1d8862e4fdc8394dd
Author: Johnathan Corgan <address@hidden>
Date: Sat Aug 13 16:46:30 2011 -0700
Adds asynchronous notification of GPIO pin state changes
This changeset adds asynchronous GPIO state change notification to the
USRP N-series and USRP2 FPGA and UHD host code. This is useful to monitor
external digital signals and be able to register their changes along side
the RF sample stream. It can also be used to debug daughterboard control
code.
Whenever the io_tx or io_rx pin values change, a timestamped notification
packet is sent to the UHD. The packet contains the the old value of the
pins, the new value of the pins, and the VITA49 timestamps of the previous
transition and the current transition.
These packets are turned into async_metadata objects which are pushed into
a FIFO by the UHD receiver code (see updated include/uhd/types/metadata.hpp
for details.)
The UHD device API call 'recv_async_msg' is used to retrieve these messages
from the queue.
The implementation supports the following devices, some with restrictions:
USRP N210R4
USRP N210R3
USRP N200R4
USRP N200R3 (does not meet timing)
USRP2 (io_rx only)
(The B100 and E100 FPGA Makefiles modified to account for a new directory,
but have not had the GPIO notification function implemented.)
Internal changes to the FPGA code to implement this:
* The existing gpio modules in control_lib were moved to a new
gpio directory.
* A new gpio_sender module was added to the top-level core for
each device.
* A new VRT context packet generator was created.
* The packet router has a new port and MUXing for GPIO notification
packets. A FIFO was lengthened to meet timing.
* A new async stream id, USRP2_RX_GPIO_SID was allocated.
UHD host code modifications:
* The async_metadata structure was modified to include GPIO transition
data members
* A new async event code EVENT_CODE_GPIO_CHANGE was allocated
* The usrp2/io_impl.cpp receive loop was modified to parse the new
event notifications arriving from the USRP
-----------------------------------------------------------------------
hooks/post-receive
--
UNNAMED PROJECT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] UNNAMED PROJECT branch, gpio, created. 937846d6770dbdcc1dc4fae1d8862e4fdc8394dd,
git version control <=