- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody,
I have a project with my team for which we want to use the CYUSBS234 USB-SPI-Bridge. Unfortunately I only found one C ++ library for it. But we need the library for Ansi C, C # and for Windows console applications.
Are there libraries for this and if so, where can I find them?
Thank you for your feedback
Jakob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakob,
We have the library files in CYUSBS234 DVK written in C++ only.
However, I'm attaching a demo project for your reference. It is written in C#. Please note this application is created for I2C. Also, this API will fail if it is configured for CDC. It has to be in vendor mode.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakob,
We have the library files in CYUSBS234 DVK written in C++ only.
However, I'm attaching a demo project for your reference. It is written in C#. Please note this application is created for I2C. Also, this API will fail if it is configured for CDC. It has to be in vendor mode.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all, thank you for the sample program.
Unfortunately, in my question I did not specify what we need the library for,
because we want to use the chip as a USB-SPI bridge.
Do you also have an example of an SPI program?
Greetings Jakob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jakob,
I don't know if this helps. I've provided C# source code for a PC terminal (console) program.
It opens a selectable COM port at 115.2Kps 8N1. However since I provided the source code, it can be changed.
PC-Terminal-Program-with-C-Source-Code
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakob,
Apologies but we don't have a specific example code in C# for SPI implementation. The reference project which I provided in my previous response is using the cyusbserial.dll file. You could use it as a reference for creating a wrapper dll on top of cyusbserial.dll to use in C#.
Regards,
Mallika