2 Replies Latest reply on Apr 23, 2013 4:29 AM by junichi.hiraoka

    USB self powered device VBUS monitor

    user_6153427

      The USB module data sheet mentions that an SIO pin can be used as a VBUS monitor by connecting it directly to VBUS. Are there any other considerations when connecting an SIO to this 5V source when everything else on the psoc3 is running at 3.3V? I was thinking of just adding transient protection to the line the same as I do with D+ and D-.

        • 1. Re: USB self powered device VBUS monitor
          user_78878863

          According to the TRM, the SIO pins can withstand 5V even with lower Vddio. But you cannot use them as analog input pins. So you need to select 'digital high-Z' as input mode (no pull-up since this would pull Vusb to Vdd) and configure a proper reference voltage for the pin.

             

          But you still should include input protection nonetheless, since USB is an external connector and one never knows whats happening there...

          • 2. Re: USB self powered device VBUS monitor
            junichi.hiraoka
                    Hi ,I had been use the VBUS monitor function before but that was been unstable??  I didn't mention about the connection of this SIO pin, HaHa. Anyway according the data sheet, Electrical specifications of SIO is Vssd–0.5 to 6V, so that OK to connect +5v pin, regardless CPU has use +3v supply, But you shouldn't be connect to D+- pin, because D+- is high speed and sensitive. I think you rather use isolated USB for protect all stuff. Thank you.