Accessing Mikrobus devices from Linux using USB adapter

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
dkronewi
Posts: 1
Joined: 26 Aug 2015 03:14

Accessing Mikrobus devices from Linux using USB adapter

#1 Post by dkronewi » 26 Aug 2015 03:22

Hi,

I want to use a Mikrobus ADC device using the Mikrobus USB Click adapter. The USB Click sample code only has a windows .exe in it.

I started looking at some FT2232H sample code so I could do SPI with the USB adapter and connect with the Mikrobus ADC, but then thought there might be a better way. The ADC C code looks pretty straightforward, but getting through the USB Click adapter is my trouble.

I am using a Raspberry PI, but I would prefer to use USB than the built in SPI.

Is there some better sample code for me to look at?

Thanks!!

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Accessing Mikrobus devices from Linux using USB adapter

#2 Post by Aleksandar.Mitrovic » 27 Aug 2015 11:12

Hi,

Can you please tell me do you want to use ADC device on mikroBUS USB Click adapter and to control it from PC?

Since USB adapter do not have MCU on it you will have to control it with some device.
To make application like we have on our site for GSM click please refer to this page:
http://www.ftdichip.com/Support/Softwar ... SE-I2C.htm

"Application is written in Visual Studio 2010 Express and LibMPSSE-I2C dll"

When you are making application you will need to include this .dll file which will enable you to write application for controlling FT2232H chip.

Or you are planing to write code for Raspberry PI as master and USB Click adapter as a slave, and connect them using USB?

Best regards,
Aleksandar

Post Reply

Return to “Libstock Discussion”