FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - rus-k

Pages: [1]
1
Discussion - Software / C232HM under virtualbox
« on: March 16, 2020, 10:40:36 AM »
I have C232HM adapter and connect it to my device in Ubuntu, which works inside virtualbox. I have problem with SPI_InitChannel. Basically I want to setup SPI latency but any value except 250-255 are very unstable. I've done the test: set all latencies from 255 to 1. In the beginning all is OK, but at latency ~245 I receive error 18, and in the end (latencies <10) I receive error 4. I have compiled libMPSSE, I have compiled ftd2xx driver and usb library. It seems that function Mid_SyncMPSSE fails because device doesn not answer in Mid_EmptyDeviceInputBuff.

I cannot say thet adapter does not work at all. I find it, I open channel to it. I am able to read and write. But I am not able to set speed.

If I run my test under normal Ubuntu (not inside virtualbox) then I receive no error at all. SPI_InitChannel set any latency I want. But under virtualbox it works unstable and I wander what else may work unstable.

Pages: [1]