enjoy-digital / litex_xtrx

XTRX LiteX/LitePCIe based alternative Gateware/Software.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

LimeSuiteNG #8

Open trabucayre opened 5 months ago

trabucayre commented 5 months ago

From soapySDR to the device class

SoapyLMS7:  sdrDevice = DeviceRegistry::makeDevice(handle); (plugins/SoapyLMS7/Settings.cpp)
  |
  +--> DeviceRegistry::makeDevice ->  return entry.second->make(realHandle); (src/boards/DeviceRegistry.cpp)
            +--> DeviceFactoryPCIe::make -> return new LimeSDR_XTRX(route_lms7002m, route_fpga, streamPorts.front(), controlPipe); (src/boards/DeviceFactoryPCIe.cpp)

See the big picture and the full picture

Device detect

Device's enumerate (at DeviceFactoryPCIE) is based on specific node naming : /dev/LimeXTRX_ followed by trx0 and control. So a driver must respect this scheme or it is ignored by LimeSuiteNG. Device must also provides firmware informations.

trabucayre commented 5 months ago

Status (2024-04-26)