On Thu, 21 Jan 2010, David Smead wrote:
> Use minicom.
useful for initial testing - but he needs to read data and put it in a
file. He says he's au fait with C programming, but he sure needs some spoon
feeding.
>
> On Thu, Jan 21, 2010 at 3:27 PM, tsao.terence <>wrote:
>
>>
>>
>>
>>
>> --- In <ts-7000%40yahoogroups.com>, Jim Jackson
>> <> wrote:
>>>
>>>
>>>
>>>
>>> On Thu, 21 Jan 2010, tsao.terence wrote:
>>>
>>>>
>>>>
>>>> --- In <ts-7000%40yahoogroups.com>,
>> "tsao.terence" <tsao.terence@> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> One aspect of my project is to use a TS7280 to interface with a
>>>>> short range 2.4GHz 802.11 radio card via the UART interface. The
>>>>> transfer rate of the radio card is around 1Mbps, but the maximum baud
>>>>> rate for the uart is only 230Kbps.
>>>>>
>>>>> I will like to upscale that rate to match the radio card. One solution
>>
>>>>> that I thought of was to have a USB to serial converter, therefore the
>>
>>>>> radio card will be connected with a serial port of the converter, and
>>>>> the converter will be plugged into the USB port of TS7280. The data
>>>>> sheet of my USB to serial converter guarantees 1Mbps transfer rate.
>>>>>
>>>>> What do you guys think of that idea?
>>>>>
>>>>> Thanks!
>>>>>
>>>> I guess the problem will be do I have the read/write control for the
>> USB
>>>> port? like in windows, I can use teraterm and log the data which i
>>>> output. But can I do that for unix?
>>>>
>>>
>>> ...or even linux.
>>>
>>> Usually[1] a supported usb/serial gizmo will end up with a serial
>> device[2]
>>> being created that can be used like any other serial device. The
>>> linux kernel ensures serial device interfaces are essential equal.
>>> Programming serial devices is a FAQ and the same for linux wherever it
>>> runs[3].
>>>
>>> I usually advise people to run a linux desktop - do their developemnt
>> there
>>> and get used to the linux environment. You can develop your app. on the
>>> desktop then recompile it for sbc.
>>>
>>> [1] not all usb/serial devices are necessarily supported - do your
>> research
>>> before buying
>>>
>>> [2] that's a unix/linux type device - i.e. an interface in the filesystem
>>> that gives access to kernel device drivers. for these devices usually
>>> something like /dev/ttyUSB0 or similar.
>>>
>>> [3] google is your friend or search the archives for this group
>>>
>>> Jim
>>> p.s. while I appreciate learning a new environment can be a bit daunting,
>>> undertaking some initial research/delving yourself
>>> before asking questions may focus those questions into specifics
>>> about the TS products (the purpose of this list) and elicit more help
>>> from the busy guys on this list.
>>>
>> I understand your points Jim, I know that I will have the access to
>> /dev/ttyUSB0, and how do I read or write from that device? Do I have to
>> write a program that handles read/write? How do i get data from
>> /dev/ttyUSB0?
>>
>> Thanks!
>>
>>
>>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|