- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently I have a CY8CKIT-042-BLE-A Pioneer kit that has the ability to drive a fan via PWM. The PWM value can be varied by modifying the compare value.
What I would like to achieve is to have the firmware setup in such a way that it can send and receive information from a GUI built in Visual Studio to readout the current PWM value and the ability to write a new PWM value.
One approach I can think of is to use the available serial port to parse commands on each side (Windows application and PSoC 4).
But I am concerned of the efficiency of this approach.
Maybe an approach where the GUI shows the current value of PWM register. I am using one value for sake of example but later additional registers will need to be modified, for example software version, date code..
Any approach recommendations or any distinct pros/cons would be most appreciated.
Solved! Go to Solution.
- Labels:
-
ispn:39612:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a similar application wherein the GUI is used to modify the PWM of the led through USB HID interface for data transfers on PSoC3/PSoC 5LP devices. You can find some inspiration there. Link: http://www.cypress.com/documentation/application-notes/an82072-psoc-3-and-psoc-5lp-usb-general-data-...
However, I do not have anything similar for PSoC 4 BLE, but you can replicate the same and then use the same GUI from the above project if you do not want to build from scratch. I will try to do the same on my side. Do let me know your observations.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a similar application wherein the GUI is used to modify the PWM of the led through USB HID interface for data transfers on PSoC3/PSoC 5LP devices. You can find some inspiration there. Link: http://www.cypress.com/documentation/application-notes/an82072-psoc-3-and-psoc-5lp-usb-general-data-...
However, I do not have anything similar for PSoC 4 BLE, but you can replicate the same and then use the same GUI from the above project if you do not want to build from scratch. I will try to do the same on my side. Do let me know your observations.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
deckhardt,
Please check this PWM generator example with C# GUI by Chris Keeser
Re: PSoC Today: USB / PSoC 3 pulse generator project and source code
/odissey1