Hi,
I’m trying to configure the PLL with python to be 50Mhz. I’m getting the following error:
[CODE]
class OpalKellyFPGA:
def init(self):
return
def InitializeDevice(self):
self.xem = ok.FrontPanel()
if (self.xem.NoError != self.xem.OpenBySerial("")):
print "A device could not be opened. Is one connected?"
return(False)
print(self.xem.GetBoardModel())
self.pll = ok.PLL22150()
self.pll.SetReference(48, False)
self.pll.SetVCOParameters(400,48)
self.pll.SetDiv1(self.pll.DivSrc_VCO,8)
self.pll.SetOutputSource(0,self.pll.ClkSrc_Div1ByN)
self.pll.SetEepromPLL22150Configuration()[/CODE]
Error:
File "c:\Python27\Lib\ok.py", line 74, in
__getattr__ = lambda self, name: _swig_getattr(self, PLL22150, name)
File "c:\Python27\Lib\ok.py", line 55, in _swig_getattr
raise AttributeError(name)
AttributeError: SetEepromPLL22150Configuration
Any insight would be great.
Thanks,