Using a PSoC5 and the MAX3421E

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SuMa_296631
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

 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?

   

Thanks

   

Susan

0 Likes
2 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Some useful ref material -

   

 

   

    

   

          

   

http://www.nirsoft.net/utils/usb_devices_view.html    

   

http://www.cypress.com/?rID=70131     AN82072 - PSoC® 3 and PSoC 5LP USB General Data Transfer with Standard HID Drivers

   

http://www.cypress.com/?rID=39553     AN56377 - PSoC® 3 and PSoC 5LP - Introduction to Implementing USB Data Transfers

   

http://www.cypress.com/?rID=39404     AN57473 - USB HID Basics with PSoC® 3 and PSoC 5LP

   

http://www.cypress.com/?rID=39327     AN57294 - USB 101: An Introduction to Universal Serial Bus 2.0

   

http://www.cypress.com/?rID=40103     AN58726 - PSoC® 3 / PSoC 5LP USB HID Intermediate (with Keyboard and Composite Device)

   

http://www.element14.com/community/docs/DOC-48266/l/cypress-ce60246--application-note-on-usbuart-for...     USBUART

   

 

   

In Creator. start page, example projects for review as well.

   

 

   

Regards, Dana.

0 Likes
SuMa_296631
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

 Thanks Dana,

   

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.

   

Susan

0 Likes