C# .NET SPI Master examples (CYUSBS236).

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AlSh_4504481
Level 1
Level 1

Hello.

We are startup that developing solution for the cosmetics care market that incapsulated fast data communication inside. In order to establishing such a communication, for evaluation purpose, we purchased CYUSBS236 evaluation kit. We also downloaded all appropriative documents and DVK software from your website but didn’t found any example for C# .NET. We have no specialists in C++ but from the minimal knowledge about it we tried to convert examples to C# but with no success. We also found in your technical blog some examples C# .NET for I2C activation. Can you help us with the same examples for SPI Master evaluation? By the way, we found examples for I2C using framework 3.5, can you help us with examples compiled for newer framework?

Thank you,

Alexander Shteyn,

Software development leader,

BeShape Technologies Ltd.

0 Likes
1 Solution

Hello.

No, dll was preset. The problem was in dll you packed in the project example. The dll overridden by dll from DVK made project working.

View solution in original post

0 Likes
5 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

There are no official C# application projects for USB Serial on the web. I will send you a drive link of an example SPI C# project implemented using the cyusbserial.dll

Please have a look at it.

Best Regards,

Yatheesh

0 Likes

Good evening.

Thank you for fast reply. We are studying your example.

Alexander Shteyn,

Software development leader,

BeShape Technologies Ltd.

0 Likes

Hello,

During debugging your example we received such an exception :

System.DllNotFoundException: 'Unable to load DLL 'cyusbserial.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'

May be it is wrong version of dll?

Alexander Shteyn,

Software development leader,

BeShape Technologies Ltd.

0 Likes

Hello,

Please check if the cyusbserial.dll is present in the project folder.

I am able to compile the project successfully without any errors.

Best Regards,

Yatheesh 

0 Likes

Hello.

No, dll was preset. The problem was in dll you packed in the project example. The dll overridden by dll from DVK made project working.

0 Likes