# A/D converter on ClearFog

**URL:** https://community.solid-run.com/t/a-d-converter-on-clearfog/350
**Category:** ARMADA A388
**Created:** [June 13, 2022, 10:32pm UTC](https://community.solid-run.com/t/a-d-converter-on-clearfog/350 "2022-06-13T22:32:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mpmurphy00](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/mpmurphy00/32/133_2.png) [@mpmurphy00](https://community.solid-run.com/u/mpmurphy00)
#### Post date: [June 13, 2022, 10:32pm UTC](https://community.solid-run.com/t/a-d-converter-on-clearfog/350/1 "2022-06-13T22:32:41Z")

</div>

Device tree file armada-388-clearfog.dtsi lists a Microchip MCP3021 A/D converter on the base board, and it appears to actually be there, maybe U16. I haven’t yet located any description of this. What analog signal is sitting at the input? Or is it pinned out someplace convenient where I could feed it a signal?  
Note that in the device tree source it is named as “mikrobus\_adc”, although it is actually under I2C bus 0, not bus 1.

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [June 14, 2022, 4:17am UTC](https://community.solid-run.com/t/a-d-converter-on-clearfog/350/2 "2022-06-14T04:17:38Z")

</div>

> [@mpmurphy00](#):
>
> that in the device tree source it is named

Yes it is under bus 0. I believe this got changed in later revs of the board and the mainline device-tree doesn’t properly reflect it. The A/D converter is connected to the AN pin of the mikrobus header for use by mikrobus based expansion boards.
