回复
发帖数: 2
注册日期: ‎07-12-2016

What solution to fix USB_SPI_ERRCODE_CONTROL_TRANSFER_ERROR?

We used Mini SAS cable to connect SBC with CP213x. Two type cables are compared. The cheaper type cables randomly throw the error when call SLAB_USB_SPI.CP213x_SetSpiControlByte, while the expensive cable never throw this error. Why?

 

Thanks in advance.

Jiuxiang

发帖数: 1,733
注册日期: ‎10-14-2014

回复: What solution to fix USB_SPI_ERRCODE_CONTROL_TRANSFER_ERROR?


i think SAS usually mean Serial Attachment SCSI, i don't know what type of cable you are using.
i guess you mean the USB cable to connect the SBC (single board computer) and the CP2130, do ypu have a photo for the 2 types of cables?
i don't know HW part well, usually the USB cable could have effect on the SI. some bad cable may violate the spec, for example impedance mismatch, not twisted, no shield.

WeiguoLu
发帖数: 2
注册日期: ‎07-12-2016

回复: What solution to fix USB_SPI_ERRCODE_CONTROL_TRANSFER_ERROR?

Hi Delu,

 

Thank you for your answer.

 

The pictures of two cables are attached.

 

Could you explain what happened when SPI throws USB_SPI_ERRCODE_CONTROL_TRANSFER_ERROR?

 

Thanks,

 

Jiuxiang

Highlighted
发帖数: 1,733
注册日期: ‎10-14-2014

回复: What solution to fix USB_SPI_ERRCODE_CONTROL_TRANSFER_ERROR?

@Jiuxiang

Do you mind tell us how you use the SAS cable, are you trying to connect the SBC and CP21030 with it?

If yes, not sure if SAS and USB cable is of same characteristics.

You could download the CP2130 package from here to understand how to use it.

Denver

WeiguoLu