<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Embedded Software and Tools ClinicのトピックAD5764, DAC Error in T4241</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/AD5764-DAC-Error-in-T4241/m-p/1398864#M235</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using AD5764 DAC, which is on spi interface&lt;/P&gt;&lt;P&gt;added the following dac device tree&lt;/P&gt;&lt;P&gt;vdac: fixedregulator0 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; compatible = "regulator-fixed";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-name = "vdac";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-min-microvolt = &amp;lt;5000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-max-microvolt = &amp;lt;5000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-boot-on;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;dac@0 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; #size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; compatible = "adi,ad5764";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; reg = &amp;lt;0x0&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; spi-max-frequency = &amp;lt;25000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vrefAB-supply = &amp;lt;&amp;amp;vdac&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vrefCD-supply = &amp;lt;&amp;amp;vdac&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I'm able to see DAC device files, But when i try to read dac output i'm getting the following error,&lt;/P&gt;&lt;P&gt;root@Q4241:/sys/devices/platform/ffe000000.soc/ffe110000.spi/spi_master/spi0/spi0.0/iio:device0# cat out_voltage0_scale&lt;BR /&gt;cat: read error: Invalid argument&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji.G&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 12:21:57 GMT</pubDate>
    <dc:creator>immbalu</dc:creator>
    <dc:date>2022-01-13T12:21:57Z</dc:date>
    <item>
      <title>AD5764, DAC Error in T4241</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/AD5764-DAC-Error-in-T4241/m-p/1398864#M235</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using AD5764 DAC, which is on spi interface&lt;/P&gt;&lt;P&gt;added the following dac device tree&lt;/P&gt;&lt;P&gt;vdac: fixedregulator0 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; compatible = "regulator-fixed";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-name = "vdac";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-min-microvolt = &amp;lt;5000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-max-microvolt = &amp;lt;5000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; regulator-boot-on;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;dac@0 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; #size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; compatible = "adi,ad5764";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; reg = &amp;lt;0x0&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; spi-max-frequency = &amp;lt;25000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vrefAB-supply = &amp;lt;&amp;amp;vdac&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vrefCD-supply = &amp;lt;&amp;amp;vdac&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I'm able to see DAC device files, But when i try to read dac output i'm getting the following error,&lt;/P&gt;&lt;P&gt;root@Q4241:/sys/devices/platform/ffe000000.soc/ffe110000.spi/spi_master/spi0/spi0.0/iio:device0# cat out_voltage0_scale&lt;BR /&gt;cat: read error: Invalid argument&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji.G&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/AD5764-DAC-Error-in-T4241/m-p/1398864#M235</guid>
      <dc:creator>immbalu</dc:creator>
      <dc:date>2022-01-13T12:21:57Z</dc:date>
    </item>
  </channel>
</rss>

