Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I know that the PSoc5 is a USB device which is why I'm looking to use the MAX3421E as the USB host via a SPI interface.
My question is whether anyone else has done this and can point me to some of the necessary driver code to control the MAX3421.
Ideally I want to use HID and Isochronous transfers (it is to drive headphones that may or may not have volume control buttons etc.) but I'd rather not start from scratch.
I have seen code for Arduinos and soem linux implementaitons that cna be used with the MAX3421 but I was wondering if anyin e had ported these or other code the the PSoc5 and could give me a few pointers or a head start?
I've already read those documents a while ago but they are either generic ones about USB (which are good to read again but the MAX3421 has an SIE and PHY so I really don't need to know the detials to that level) or about the device aspects of the PSoC's USB hardware.
I guess it comes down tho the fact that I need an SPI interface and the ability to generate an interrupt from a pin transition and that is as far as I need to know about the PSoC side of things. After that it is how to drive the registers of the MAX3421 and I've seen some generic programs (from the Arduino and Linux worlds) that will help there.
I was relaly looking to see if anyone else had used one of these devices with a PSoC.