Other Parts Discussed in Thread: USB2ANY
Tool/software:
I'm attempting to use the online GUI Composer to control a USB2ANY and use it's SPI capabilities.
I'm using the usage code for the gc-codec-usb2any-spi v3 component in the documentation:
<gc-codec-usb2any-spi id="spi"></gc-codec-usb2any-spi>
<gc-codec-usb2any id="usb2any"></gc-codec-usb2any>
<gc-codec-usb2any-power id="power"></gc-codec-usb2any-power>
<gc-transport-usb id="usb" hid></gc-transport-usb>
<gc-target-connection-manager auto-connect active-configuration="usb+usb2any(power,spi)"></gc-target-connection-manager>
When attempting to connect to the USB2ANY, I get the following error:
The device connects as expected when using I2C. I have also tried using USB2ANY firmware 2.7, 2.8.1, and 2.8.2 with no luck.
Below is the console when attempting to connect with the SPI configuration:
[gc-transport-usb::usb] info: Connecting to USB2ANY/OneDemo device ...
[gc-transport-usb::usb] log: Connecting codec id="usb2any"
[gc-transport-usb::usb] log: Connecting codec id="power"
[gc-transport-usb::usb] log: Connecting codec id="spi"
[gc-transport-usb::usb] log: codec id="spi" failed to connect: Parameter is out of range
[gc-transport-usb::usb] error: Failed to connect: Parameter is out of range
[gc-transport-usb::usb] debug: Transport id="usb" state changed to disconnecting.
[gc-transport-usb::usb] debug: Aborting connection.
[gc-transport-usb::usb] log: Disconnecting codec id="usb2any"
[gc-target-connection-manager] error: One or more transports failed to connect without error.
[gc-transport-usb::usb] log: Disconnecting transport id="usb"
[gc-transport-usb::usb] info: Hardware not connected.
[gc-transport-usb::usb] debug: Transport id="usb" state changed to disconnected.
Thank you!