Detecting External Clock on SMB

Discussions related to embedded firmware, driver, and user mode application software development

Moderator: robert.ghilduta

Post Reply
sergemalo
Posts: 14
Joined: Tue Nov 03, 2015 1:50 pm
Location: Montreal, Qc, Canada
Contact:

Detecting External Clock on SMB

Post by sergemalo » Wed Nov 16, 2016 8:32 am

Hi all,

I would like to know if it is possible, from the libbladerf library, to detect the presence (or absence) of a clock connected to the SMB port.
I thought it would be possible to use "bladerf_get_smb_frequency" after setting "bladerf_set_smb_mode(bladeRFdev, BLADERF_SMB_MODE_INPUT)", but the value returned is always 0.

Let me know if there is a way to do this, I would like to report an error to the user when no clock is connected.
I'm using release 2016.06.

Regards,
Serge
--------------------------------------------------------------------------------
Serge Malo
CDO & Co-founder, Skydel Solutions
www.skydelsolutions.com
Twitter: @skydelsol

Post Reply