This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Some thoughts on ADC


On Fri, Feb 27, 2009 at 02:17:34PM +0100, Simon Kallweit wrote:
> Andrew Lunn wrote:
>>> Also, what do you think of a synth ADC driver? It would probably only 
>>>  provide constant or random data on it's channels, but may be useful 
>>> for  testing. Any ideas?
>>>     
>>
>> Saw tooth or sine waves should not be too hard. 
>>
>> If you want to go a little further, with a bit of work it would be
>> possible to open a file on the host system and read samples from
>> there.
>>   
>
> Reading samples from a file on the host may be a nice idea. I was also  
> thinking about interfacing the driver with a synth TCL script so it may  
> be extended easily. But I don't really like writing TCL scripts ...  
> already did some synth drivers for leds/key switches etc. and almost  
> pulled my hair out :)
>
> Other ideas?

Save you hair and don't use TCL.

With care, you can open files on the host from within eCos. Take a
look at the synthetic flash driver. 

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]