Reading the Device Registers Directly
Valid data is only available to be read back after writing one of the query registers such as 0x20. As soon
as one of these registers is written, data is available on the device to be read back through USB. When
reading the device, the MSB is returned as the first byte for a total of five bytes. Valid data starts on the
first byte, and if the data is less than 5 bytes the tail bytes are padded with zeros.
USB Driver API
The SC5511A USB driver provided by SignalCore is based on libusb-1.0 (www.libusb.org) and its API
library is available for the Windows
available upon request by emailing support@signalcore.com. The API functions are nothing more than
register wrappers called through the USB bulk transfer function. The C/C++ API library functions are
summarized in the list below and each function description is provided in the API description section.
SignalCore's philosophy is to provide products to our customers whose lower hardware functions are
easily accessible. For experienced users who wish to use direct, low-level control of frequency and gain
settings, having the ability to access the registers directly is a necessity. However, others may wish for
simpler product integration using higher level function libraries and not having to program registers
directly. The functions provided in the SC5511A API dynamic linked library with call type __cdecl
(sc5511a.dll) are:
•
sc5511a_search_devices
•
•
•
•
•
sc5511a_initialize
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
sc5511a_set_power_level
•
sc5511a_set_output
•
SC5511A User Manual
TM
TM
and Linux
operating systems. Source code for both platforms is
Rev 1.7.0
27
Need help?
Do you have a question about the SC5511A and is the answer not in the manual?