Just got my first CPLD, the Altera Max II.
I was wondering if it would be possible to detect a protocol on a bus, not necessarily for the max II, just in general.
What I want to do, is add a micro USB port to my board, and use custom cables that plug into different devices with different protocols.
One device would be a regular PC, and use regular USB.
Then another device uses SPI, another using 1 wire, and possibly some other protocols, not at the same time of course.
What I want the CPLD to do, is to detect what protocol it is, and then forward the signal to the correct pins on a micro controller.
The device is hand held, and doesn't have the room to have separate ports for each protocol.
Is this possible, and how would I go about getting started on something like this?
Thanks