In fact is the use of software on PC control CLK output high and low level! Now my idea is to use a usb sp2 transfer makes the usb interface chip can output the CLK signal! Everyone knows this clock signals is to control the data read and write, signal high level data read-write, low level can't read and write! How to write a hindrance but software you life!!
CodePudding user response:
Usb spi?
CodePudding user response:
The
refer to the original poster SQLWN response: CLK is actually using the software on the PC control output high and low level! Now my idea is to use a usb sp2 transfer makes the usb interface chip can output the CLK signal! Everyone knows this clock signals is to control the data read and write, signal high level data read-write, low level can't read and write! How to write a hindrance but software you life!! Why don't you clarify you end up doing, we helped you out, CodePudding user response:
The refer to the original poster SQLWN response: CLK is actually using the software on the PC control output high and low level! Now my idea is to use a usb sp2 transfer makes the usb interface chip can output the CLK signal! Everyone knows this clock signals is to control the data read and write, signal high level data read-write, low level can't read and write! How to write a hindrance but software you life!! USB is signals are differential, only a set of transmission, asynchronous transmission, lz want to transfer the data and CLK, belong to the synchronous transmission, should be achievable CodePudding user response:
I want to use usb control relay is similar like switch tool! Given the use of this conversion chip microcontroller more troublesome to use similar through program control the data on the usb power supply output and shut down! Similar ps2 the conversion chip in addition to a set of power supply him the data and CLK to ground has nearly 5 v voltage! Drive the switching devices such as the relay is completely can but how to use the software to control the CLK or data on both ends of the voltage or power how to implement this? Have a great god please help! CodePudding user response:
refer to the second floor xuyaqi029 response: Quote: refer to the original poster SQLWN response: In fact is the use of software on PC control CLK output high and low level! Now my idea is to use a usb sp2 transfer makes the usb interface chip can output the CLK signal! Everyone knows this clock signals is to control the data read and write, signal high level data read-write, low level can't read and write! How to write a hindrance but software you life!! Why don't you clarify you end up doing, we helped you out, I want to use usb control relay is similar like switch tool! Given the use of this conversion chip microcontroller more troublesome to use similar through program control the data on the usb power supply output and shut down! Similar ps2 the conversion chip in addition to a set of power supply him the data and CLK to ground has nearly 5 v voltage! Drive the switching devices such as the relay is completely can but how to use the software to control the CLK or data on both ends of the voltage or power how to implement this? Have a great god please help! CodePudding user response:
To say, or single chip microcomputer, Now these conversion IC is single chip microcomputer, can use the USB transfer SPI chip, taobao to find; If you want to use own production hardware, can do HID themselves, can private chat