Add USB to SPI dev -- MCP2210

I’d like to add a “USB to SPI” IC “MCP2210” to extend my SPI ports in hardware,
And some others ICs’ deiver will controlled via MCP2210,
for example:
I’ll access a SPI eeprom through MCP2210 in eeprom’s driver.

Does anybody have experience on this?
Or Is there any example?

Thanks.

May I know which HW platform you’re using?

I’m using AGX Xavier

Jetson AGX Xavier?

Which JetPack SW version?

I’m using the L4T 32.7.1

Your topic was posted in the wrong category. I am moving this to the Jetson AGX Xavier category for visibility.

Thanks

You can use jetson-io to configure pins for SPI.
Ohers like driver device tree for MCP2210 may need figure it out by yourself.

Hi ShaneCCC:
First, thanks for your reply.

but jetson-io is for the physical ports that AGX Xavier has.
am i right?

The MCP2210 bridge is attached to a USB port and acts as an HID device,
I have no idea how to add a node for this.

Yes, jetson-io only configure the Xavier SPI.
Then, I would suggest to consult with vendor if any driver can provide or able enable it by kernel configure.

OK, Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.