You are here

CY4623:63803Automatic Bus Detection | Cypress Semiconductor

CY4623:63803Automatic Bus Detection

Summary: 1 Reply, Latest post by SRAM on 11 Sep 2014 12:29 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
蜗牛's picture
1 post

I need  built to support only USB or bothUSB and PS/2 interfaces,Please provide the “detect_if_ps2() ”DEMO,Thank you.

SRAM's picture
Cypress Employee
50 posts


I think that routine is not available in the code .  But here is an idea on how to detect whether it is PS/2 or USB.

At POR, the D+ and D- pins are in Hi-Z . You can constantly samples the pins to determine the device interface. If both D+ and D- are low for a certain period of time, the interface is USB. Otherwise, it’s PS2.


Log in to post new comments.