<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>adc CS5460A</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21376/adc-cs5460a</link><description> 
hi all 

 
i need a help regarding cs5460A adc.i dont know how to initialise
the Cs5460A as a SPI inbuilt adc.i tried to intialise and i get some
value,but it is not varying.if any one knows the coding or flow chart
plz help me.thanx 
Sakthi 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/141737?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2007 03:51:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e82fe8a8-30ef-4784-8743-a380f19ba35e</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;You have already been told by two independent observers that
the cs5460a seems like a very odd choice for this project.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Now it&amp;#39;s &lt;b&gt;three&lt;/b&gt;:&lt;/p&gt;

&lt;p&gt;
&lt;a target="_blank" href="http://www.8052.com/forum/read.phtml?id=134946"&gt;www.8052.com/.../read.phtml&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/138390?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2007 02:13:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0ed41b86-b1d3-42c3-b31a-4bc6ac2f2d45</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;my problem is in coding.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Are you sure?&lt;/p&gt;

&lt;p&gt;
You have already been told by two independent observers that the
cs5460a seems like a &lt;b&gt;very odd choice&lt;/b&gt; for this project.&lt;/p&gt;

&lt;p&gt;
&lt;a target="_blank" href="http://www.8052.com/forum/read.phtml?id=134690"&gt;&amp;quot; href=
&amp;quot;http://www.8052.com/forum/read.phtml?id=134721&amp;quot;&amp;gt;&lt;a href="http://www.8052.com/forum/read.phtml?id=134721"&gt;www.8052.com/.../read.phtml&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Again, &lt;b&gt;why do you think that the cs5460a is suitable for this
project?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;With or without load the same value is displayed&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Couldn&amp;#39;t that just be because the cs5460a is simply not able to
measure the change resulting from this load?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/130137?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2007 01:58:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:348e6a2f-e1ad-474b-9a58-9f4bdb3f3cf1</guid><dc:creator>sakthi r</dc:creator><description>&lt;p&gt;&lt;p&gt;
hi jonny sir i read the datasheet from the same link,what you have
attached.&lt;/p&gt;

&lt;p&gt;
my problem is in coding.that is intialization of the registers in
cs5460a.i used spi communication between 8051 and cs5460a.&lt;/p&gt;

&lt;p&gt;
I configured the required register of adc cs5460a for adc
conversion.With or without load the same value is displayed in the
seven segment led.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/134952?ContentTypeID=1</link><pubDate>Sun, 11 Mar 2007 14:36:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fb9dd98b-b4a5-41ea-84e8-bc6f211c7d94</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Or maybe just plain barking?&lt;/p&gt;

&lt;p&gt;
The &lt;b&gt;Datasheet&lt;/b&gt; clearly tells you that this is a
&lt;b&gt;&amp;#39;Single-Phase Bidirectional Power/Energy IC&amp;#39;&lt;/b&gt;;&lt;/p&gt;

&lt;p&gt;
This has been also pointed out to you in your cross-post at
8052.com: &lt;a target="_blank" href="http://www.8052.com/forum/read.phtml?id=134690"&gt;&amp;quot;?!&lt;/p&gt;

&lt;p&gt;
You need to go back to basics, start from your system
&lt;b&gt;requirements&lt;/b&gt;, and work from there - see: &lt;a target="_blank" href="http://www.8052.com/forum/read.phtml?id=134721"&gt;www.8052.com/.../read.phtml&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/123702?ContentTypeID=1</link><pubDate>Sun, 11 Mar 2007 14:07:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3f207fc7-01de-4f95-a734-35279a7f8aa2</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;I am using cs5460a as a adc in my project.My project is
&lt;b&gt;weighing machine&lt;/b&gt;. [...] I most of the sites,they displayed
cs5460a is used as a power meter.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Have you read the &lt;b&gt;datasheet&lt;/b&gt; for the CS5460A(&lt;a href="http://www.cirrus.com/en/pubs/proDatasheet/CS5460A_F2.pdf"&gt;www.cirrus.com/.../CS5460A_F2.pdf&lt;/a&gt;)?&lt;/p&gt;

&lt;p&gt;
This chip is a &lt;b&gt;&amp;#39;Single-Phase Bidirectional Power/Energy
IC&amp;#39;&lt;/b&gt;. It is NOT a load cell ADC.&lt;/p&gt;

&lt;p&gt;
There are other Cirrus Logic ADCs that are specifically targeted
for load cell applications, search from the root site above.&lt;/p&gt;

&lt;p&gt;
And yes, you potentially could throw away 90% of the CS5460A
functionality and use it as an ADC, if you know what you are doing
(but if you really knew, you wouldn&amp;#39;t).&lt;/p&gt;

&lt;p&gt;
For that, you would have to select one of the 2 ADC inputs to use,
and read its instantaneous or RMS value registers (V, Vrms, I, Irms).
There are a few disadvantages in doing so:&lt;/p&gt;

&lt;p&gt;
* The analog full scale of the inputs is 100mv(min), too high for
a standard 2mV/V load cell. That means that the effective number of
signal bits will be lower than optimum;&lt;br /&gt;
* The Vref input is not true differential. That makes it difficult to
make true ratiometric measurements, something essential in load-cell
applications;&lt;br /&gt;
* You have to perform special calibrations amd conversion cycles
having in mind that your signal is not a AC power line, but a DC
source.&lt;/p&gt;

&lt;p&gt;
And of course, there is much much more to a weighing machine than
read the ADC and display the results. First of all, your readings
will whip like crazy. To get any usable readings you have to apply
some serious filtering in your ADC data stream. It would be
interesting to see what the hardware RMS signal filter can do for you
in this regard...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/112734?ContentTypeID=1</link><pubDate>Sun, 11 Mar 2007 05:22:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fdc8be6d-0d80-4957-b1f1-a053debbb712</guid><dc:creator>sakthi r</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi&lt;/p&gt;

&lt;p&gt;
Sorry for sending like that.&lt;/p&gt;

&lt;p&gt;
I am using cs5460a as a adc in my project.My project is weighing
machine.If i put any load,the adc has to sense that variable
value,and to give the digital value to the 8051 microcontroller.&lt;/p&gt;

&lt;p&gt;
As a display unit,i have used seven segment led, it displays the
corresponding load value.&lt;/p&gt;

&lt;p&gt;
This is the core of my project.&lt;/p&gt;

&lt;p&gt;
My doubt is whether i can use cs5460a as a adc(inbuilt of
SPI).&lt;/p&gt;

&lt;p&gt;
I tried by writing code,but in the seven segment led,i am not
geeting the proper output.&lt;/p&gt;

&lt;p&gt;
I have the doubt in the register configuration of cs5460a.I most
of the sites,they displayed cs5460a is used as a power meter.whether
i can used it as a adc.&lt;br /&gt;
Kindly reply me.&lt;/p&gt;

&lt;p&gt;
Sakthi&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/99004?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2007 08:21:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d1bfacd-2849-4c2a-ab2e-a2da97343c42</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Without providing good information, you cannot hope to get good
answers!&lt;/p&gt;

&lt;p&gt;
Don&amp;#39;t try to abbreviate everything (especially with SMS-style
abbreviations) - give clear and complete explanations.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;ya i m sure that the input is varying.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
How are you sure?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;i displayed the output in the seven segment led.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
What output?&lt;/p&gt;

&lt;p&gt;
What 7-segment LED??&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/74905?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2007 02:29:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3c623835-c012-4400-a8a0-ec7c1a141596</guid><dc:creator>sakthi r</dc:creator><description>&lt;p&gt;&lt;p&gt;
ya i m sure that the input s varying.i displayed the output in the
seven segment led.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adc CS5460A</title><link>https://community.arm.com/thread/47932?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2007 02:17:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:62595db0-dabc-445d-aee7-a94ad573f71b</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;i dont know how to initialise the Cs5460A&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Read the &lt;b&gt;Datasheet&lt;/b&gt;, and do as it tells you!&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;i tried to intialise and i get some value,but it is not
varying&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Are you sure that the input is actually varying?&lt;/p&gt;

&lt;p&gt;
Have you double-checked your code against the &lt;b&gt;Datasheet&lt;/b&gt; -
are you sure you&amp;#39;re doing everything as it says?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;if any one knows the coding or flow chart&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
In addition to the &lt;b&gt;Datasheet&lt;/b&gt;, have you checked the
&lt;b&gt;Manufacturer&amp;#39;s website&lt;/b&gt; for application notes, sample code,
reference designs, etc...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>