2 Replies Latest reply on Sep 12, 2018 11:37 AM by odissey1

    What is the best approach to interface Visual Studio to PSoC 4?

    deckhardt_3109236

      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.