EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: struck sis3316 digitizer ADC data transfer with RTEMS
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Thu, 29 Jan 2015 10:36:21 -0500
On 01/29/2015 10:05 AM, Geon-Yeong Mun wrote:
> Hello,
> 
> I am trying to develop the epics driver for struck sis3316 with RTEMS.
> But, I have difficulty in doing transfer the ADC data using DMA.
> The below code is my code. There is no error. But returned data does not
> match expected data. 

Can you be more specific about what you see (or don't see)?

1. Does sis3316::dmaIsr run?
2. Do the contents of your DMA buffer uint_adc_buffer change?

> 	BSP_VMEDmaListStart(0,m_head);
...
> 	// reset FSM again

I haven't looked at the 3316 before, but this sequence seems unexpected.
 Could the reset operation be changing the contents of the same memory
as the DMA controller is reading it?


Michael


References:
struck sis3316 digitizer ADC data transfer with RTEMS Geon-Yeong Mun

Navigate by Date:
Prev: struck sis3316 digitizer ADC data transfer with RTEMS Geon-Yeong Mun
Next: Re: trouble building asyn driver on FreeBSD Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: struck sis3316 digitizer ADC data transfer with RTEMS Geon-Yeong Mun
Next: CA Gateway 2.0.6.0 released Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·