You are here

DiolanUsbSpi does not work

1 post / 0 new
K Y
K Y's picture
Offline
Last seen: 1 month 4 weeks ago
Joined: 03/24/2017 - 00:29
DiolanUsbSpi does not work

Hello!

I am working with Diolan UsbSpi Adapter and have faced with error. Trying to make a program, but have some troubles, api do not help with them. 

1) I have connected an adapter to pc 

2) DlnOpenDevice returned 0x00

3) DlnDeviceId return id 

4) DlnSpiMasterEnable returns 0xA8 with conflict = 25

5) DlnGetPinCfg with pin = conflict returned 0x00 but DlnSpiMasterEnable does not work again

6) DlnRestart return 95 and doesn't work 

So I can't transfer data via DlnSpiMasterReadWrite cause it returned 0xA8

i can't watch cfg structure from DlnGetPinCfg

and I can't find something which can help me in API manul

can you suggest something?

Rate: 
No votes yet

Languages

User login

User login