Loading ...
Sorry, an error occurred while loading the content.

Re: TS7800

Expand Messages
  • Vidhya Verma
    Hi,          I have a one doubt here , that ts7800ctl.c code is for outputting sample values which I got it , but now I need digital output in bits.
    Message 1 of 6 , Apr 3 2:11 AM
    View Source
    • 0 Attachment
      Hi,
               I have a one doubt here , that ts7800ctl.c code is for outputting sample values which I got it , but now I need digital output in bits.


      From: Mark Featherston <mark@...>
    • Harold
      With the -r option, ts7800ctl outputs sample values in raw bits. With the -S option, ts7800ctl outputs sample values in ASCII strings. In either case,
      Message 2 of 6 , Apr 3 10:57 AM
      View Source
      • 0 Attachment
        With the -r option, ts7800ctl outputs sample values in raw bits.
        With the -S option, ts7800ctl outputs sample values in ASCII strings.
        In either case, ts7800ctl.c reads the sample values in bits.


        --- In ts-7000@yahoogroups.com, Vidhya Verma <vidhyaverma88@...> wrote:
        >
        > Hi,
        >
        >          I have a one doubt here , that ts7800ctl.c code is for outputting
        > sample values which I got it , but now I need digital output in bits.
        >
        >
        > ________________________________
        > From: Mark Featherston <mark@...>
        >
      • Vidhya Verma
        I am using the raw binary format for getting the output sample ,& as you say I am getting the sample outputs in bits but for different input values I am
        Message 3 of 6 , Apr 4 1:23 AM
        View Source
        • 0 Attachment
          I am using the raw binary format for getting the output sample ,& as you say I am getting the sample outputs in bits but for different input values I am getting the almost
          same sample values .

          Command:
          ts7800ctl –r”0” | dd bs=2 count=1000 2>/dev/null | hexdump –v –e ‘1/2 “%u, “’ > ch0_500_samples.csv

          For 0v Input:
          30768, 13367, 12336, 12343, 12298, 14200, 12340, 14128, 2608, 30768, 12343, 12336, 13367, 12298, 14200, 12336, 14128, 2608, 30768, 13367, 12336, 13367, 12298, 14200

          For 0.5v input:
          30768, 13618, 12344, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618

          For 1v input:
          30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109

          For 2v input:
          30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385

          For 2.5v input:
          30768, 13923, 12340, 13923, 2612, 30768, 13923, 12340, 13923, 2612, 30768, 13923, 12344, 13923, 2616, 30768, 13923, 12344, 13923, 2616, 30768, 13923, 12344, 13923

          now how to find the digital output corresponding to analog input because there are so many samples corresponding to each input & they all are same for each input??

          one more thing every time the first sample is 30768 what does this means ???


        • Michael Peters
          Hello, Have you updated your TS-7800 according to the errata posted here? http://www.embeddedarm.com/about/resource.php?item=563 This may cure your difficulty.
          Message 4 of 6 , Apr 9 4:31 PM
          View Source
          • 0 Attachment
            Hello,

            Have you updated your TS-7800 according to the errata posted here?

            http://www.embeddedarm.com/about/resource.php?item=563

            This may cure your difficulty.  Please let us know if it does not.
            -- 
            Best Regards,
            ________________________________________________________________
             Michael Peters, Technologic Systems   | voice: (480) 837-5200
             16525 East Laser Drive                | fax: (480) 837-5300
             Fountain Hills, AZ 85268              | web: www.embeddedARM.com

            On 4/4/12 1:23 AM, Vidhya Verma wrote:
            I am using the raw binary format for getting the output sample ,& as you say I am getting the sample outputs in bits but for different input values I am getting the almost
            same sample values .

            Command:
            ts7800ctl –r”0” | dd bs=2 count=1000 2>/dev/null | hexdump –v –e ‘1/2 “%u, “’ > ch0_500_samples.csv

            For 0v Input:
            30768, 13367, 12336, 12343, 12298, 14200, 12340, 14128, 2608, 30768, 12343, 12336, 13367, 12298, 14200, 12336, 14128, 2608, 30768, 13367, 12336, 13367, 12298, 14200

            For 0.5v input:
            30768, 13618, 12344, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387, 13618

            For 1v input:
            30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387, 13109

            For 2v input:
            30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340, 12385

            For 2.5v input:
            30768, 13923, 12340, 13923, 2612, 30768, 13923, 12340, 13923, 2612, 30768, 13923, 12344, 13923, 2616, 30768, 13923, 12344, 13923, 2616, 30768, 13923, 12344, 13923

            now how to find the digital output corresponding to analog input because there are so many samples corresponding to each input & they all are same for each input??

            one more thing every time the first sample is 30768 what does this means ???


          Your message has been successfully submitted and would be delivered to recipients shortly.