1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 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 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Hytec DAC8402 DAC Register Write Problem |
From: | "Liyu, Andrei" <[email protected]> |
To: | Darrell Nineham <[email protected]>, Eric Bjorklund <[email protected]>, "Sibley III, Coles" <[email protected]>, "Williams Jr, Ernest L." <[email protected]> |
Cc: | EPICS tech-talk <[email protected]> |
Date: | Fri, 17 Jun 2005 08:51:49 -0400 |
Darrel, hi. I wrote my own support of Hytec8402.
I closed that trouble on upper software level. But, in any case, I would like
to understand situation better. At first, we use Register. We don’t
need to generate signal (waveform) and we need just stable potential. At second, doram
is flag in Hytec’s (?) driver. It is not bit in
any register. So let use just register/bit names from manual. 1. manual 3.1 has
information about Register usage. Program should write registers and set
CSR-ARM to 1. Then programs should wait when module dropsCSR-
ARM to 0. This variants takes ~600 000 VME cycles. Also 3.1 hasn’t
any connection to Clock Rate. 2. manual 5.4 informs
about Clock Rate. “Each clock pulse will initiate 16 DAC updates from
memory.” It means the rate is responsible for rate of output signal from
DAC. Manual 3.2 (about Memory usage) has the same information. Thanks,
-----Original
Message----- Dear All, I have repeated the test
with the present driver and our hardware, and the 'waitcount' is always 0. If you are using an out
of date version of the driver you need to ensure that the configuration is as
follows.... Hy8402ipConfigure
( 1, 1, 1, 0,
0, 0, 12, 0) # cardnumber = 1 Please
try this configuration with the clockrate set to 10Khz otherwise the register
will be updated at 1Hz, hence the large waitcount, and let me know if this
fixes. Darrell
Nineham Hytec
Electronics Ltd. Tel:
+44 (0) 118 975 7770 Fax:
+44 (0) 118 975 7566 Web:
www.hytec-electronics.co.uk ++++++++++++++++++++++++++++++++++++++++++++ This email and any files
transmitted with it are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you have received this
email in error, please notify the sender immediately. The views expressed in
the message are those of the individual author and may not necessarily
represent the views of Hytec Electronics Ltd.
|