Connect2Pi USB Interface

  
Post any general questions you may have here and we will endeavor to answer them as best we can.

Moderators: radiomadeeasy, WirelessMike

Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:23 am

(This post has been copied from email correspondence with the customer)

Hi,

I'm curious about the technical documentation on the Connect2PI USB interface.

I'm trying to manually send ER_CMD commands to device.
However, when I read back the echo, I keep getting just 2 bytes of 0x01 0x60.
Any idea why this is the case?
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:25 am

From LPRS Technical:

Dear Sir,

How are you sending ER_CMD commands? Is it using Easyradio Companion software or is it through your own microcontroller?

Please check the baudrate once. And also for few commands like ER_CMD#T3, you should also send “ACK” to get reply from the module.

Srikanth Ganji
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:28 am

I am now using ftdi_sio kernel module to communicate the the device. I'm able to write data to the board (a light on the board blinks). However, when I try to read, I am not getting anything back. I've tried a variety of commands and approaches (send cmd then send ack then send cmd wait for reply, send cmd ony).

I know you guys are only behind the easyRadio module attached to the board (and the FTDI chip is something else entirely). I'm not sure why I'm not able to read anything.

Any suggestions would be great. Thanks!
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:29 am

From LPRS Technical

Which OS are you running?

If you are on Linux or RasPi, please can you tell us which version ?

DavidS
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:30 am

I'm working off Ubuntu 12.04 (x64) right now with a 3.2.0 kernel using v1.6.0 of the FTDI kernel module.

My eventual goal is to get this hooked up to a RasPI though. I haven't tried the device at all with my Pi though (mainly cause it's just easier to develop on my laptop).
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:32 am

From LPRS Technical

Hi,

I have done a test this morning with a RasPi Dongle on UBUNTU 12.04.1 lts (32-bit) and the FTDI was found straight away:
user@ubuntu:~$ ls /sys/bus/usb-serial/devices/ -ltrah

I used the CuteCom app which is in the Ubuntu Software centre and opened it as super user:

Sudo cutecom

After setting up the comms, (I had to type in the com name ‘dev/ttyUSB0’) I selected ‘no line end’ from the drop down list and chose a char delay of 0mS.
Sending commands in the Input box worked fine.
Incidentally, I did not need to install anything to use the ftdi chip. It just worked.
Please let me know how you get on and what software you are using to test it.

DavidS
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am

Re: Connect2Pi USB Interface

Postby WirelessMike » Tue Feb 26, 2013 10:33 am

Will take a look using the CuteCom application tonight.

Will let you know how I make out, thanks for the help!
User avatar
WirelessMike
Administrator
 
Posts: 19
Joined: Thu Oct 04, 2012 10:24 am


Return to General Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron