9 Replies Latest reply on Sep 1, 2017 1:48 AM by anks

    CY8CKIT-059 self powered

    maskrtnik01_1570836

      Hello,

       

      I am writing a program for a project, which requires USB communication, and requires to be self-powered by external 5V supply. (Current requirement about 8 Amps.)

      I have read that self-powered USB device needs VBUS monitoring, but when I look at cy8ckit-059 schematics, I don't see VBUS routed to any of the pins.

      How should I monitor VBUS on this kit?

       

      Thanks,

      Stanislav

        • 1. Re: CY8CKIT-059 self powered
          anks

          VBUS Monitoring is done via Kitprog on CY8CKIT-059

          • 2. Re: CY8CKIT-059 self powered
            maskrtnik01_1570836

            Sorry, I don't understand. I am talking about usb on device side, not kitprog side - the microUSB connector on the other end than kitprog.

            • 3. Re: CY8CKIT-059 self powered
              anks

              Sorry, I got confused actually the vbusdet input provides the ability to connect the host VBUS for voltage monitoring.

              > This input is visible if the VBUS Monitoring and IO pin external to the component parameters in the Advanced tab are selected.

              > This input is hidden on the symbol and VBUS pin is available only in the .cydwr file if the VBUS Monitoring and IO pin internal to the component parameters in the Advanced tab are selected.

              • 4. Re: CY8CKIT-059 self powered
                maskrtnik01_1570836

                Yes, I know where these settings are. But I don't know correct configuration in this scenario. I have looked at the schematics for a clue, but I don't see vbus routed to any of psoc's pins. Is this kit designed for usb selfpowered? Or do I have to cut 5V input from my device's pcb and power kit board from usb?

                • 5. Re: CY8CKIT-059 self powered
                  anks

                  You can choose any option between "IO pin internal to the component" and "IO pin external to the component" for this kit.

                  The  difference between the two setups for VBUS monitoring is-

                  IO pin internal to the component-

                  After choosing this option, go to .cydwr and assign a port pin to VBUS and then externally connect VBUS to that port pin.

                   

                  IO pin external to the component-

                  After choosing this option, assign a port pin to vbusdet input in Topdesign.cysch  to the component USBFS and go to .cydwr and assign a port pin to VBUS and then externally connect VBUS to that port pin.

                   

                  For a PSoC 3/PSoC 5LP device, the VBUS monitoring pin can be directly connected to VBUS, if it is assigned to an SIO port. This configuration utilizes the hot swap capabilities of these pins.

                  It is recommended to connect the VBUS through the resistive network, when the IO pin external to the component option is selected. Main aim of such connection is to save pin from voltage picks on VBUS. An example schematic is shown in the USBFS datasheet at page#32

                   

                  1 of 1 people found this helpful
                  • 6. Re: CY8CKIT-059 self powered
                    maskrtnik01_1570836

                    Oh. So I need to connect VBUS to some pin. I have a few empty pins, and can solder a wire there. But where to solder the other end? There's no way I can solder directly to usb connector, I would short its pins.

                     

                    EDIT: Unfortunately, entire P12, which has SIO capability, is already used. It is too late to move it to other port...PCBs are at home and soldered. What should I do now?

                    • 7. Re: CY8CKIT-059 self powered
                      anks

                      This kit doesn't has VBUS separate pin for external connection

                      • 8. Re: CY8CKIT-059 self powered
                        maskrtnik01_1570836

                        Yes, I have noticed that the board isn't prepared for this scenario. What if I solder a wire to the fuse(F1)? Better before the fuse(marked as red point), or after the fuse(green point)?

                        usb-connector.png

                        Also, I do need to know what circuitry is required, if I don't have an unused SIO port?

                        • 9. Re: CY8CKIT-059 self powered
                          anks

                          Can connect before the fuse.But I wish to tell you we have not tested this setup.

                          As I have mentioned previously also-

                          It is recommended to connect the VBUS through the resistive network, when the IO pin external to the component option is selected. Main aim of such connection is to save pin from voltage picks on VBUS. An example schematic is shown in the USBFS datasheet at page#32

                          So,you can implement this resistive structure for connection between GPIO ( Used for monitoring ) and VBUS.

                          1 of 1 people found this helpful