This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:uc-drivers:microchip:adt7420 [01 Oct 2012 16:35] – created Dragos Bogdan | resources:tools-software:uc-drivers:microchip:adt7420 [22 Jul 2019 14:32] (current) – Update no-OS driver link Andrei Drimbarean | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | * {{: | ||
- | * {{: | ||
- | * {{: | ||
+ | <WRAP round download 80%> | ||
+ | * {{: | ||
+ | * **ADT7420 Driver: | ||
+ | * **PmodTMP2 Demo for PIC32MX320F128H: | ||
+ | * **PIC32MX320F128H Common Drivers: | ||
+ | </ | ||
====== Digilent Cerebot MX3cK Quick Start Guide ====== | ====== Digilent Cerebot MX3cK Quick Start Guide ====== | ||
This section contains a description of the steps required to run the ADT7420 demonstration project on a Digilent Cerebot MX3cK platform. | This section contains a description of the steps required to run the ADT7420 demonstration project on a Digilent Cerebot MX3cK platform. | ||
Line 21: | Line 24: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * The ADT7420 demonstration project for PIC32MX320F128H. | ||
+ | <WRAP round info 80%> | ||
+ | The ADT7420 demonstration project for PIC32MX320F128H consists of three parts: the **ADT7420 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
A PmodTMP2 has to be connected to the J2 connector of Cerebot MX3cK development board. | A PmodTMP2 has to be connected to the J2 connector of Cerebot MX3cK development board. | ||
Line 28: | Line 37: | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following | + | The following |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | | ||
- | | reset= | Resets the ADT7420. | | + | | reset! | Resets the ADT7420. | |
- | | mode= | Sets the operational mode for ADT7420. Accepted values: 0 - 3 | | + | | mode= | Sets the operational mode for ADT7420. Accepted values:\\ 0 - Continuos conversions.\\ 1 - One shot.\\ 2 - 1 SPS mode.\\ |
| mode? | Displays the selected operational mode. | | | mode? | Displays the selected operational mode. | | ||
- | | resolution= | Sets the resolution for ADT7420. Accepted values: 0 - 1 | | + | | resolution= | Sets the resolution for ADT7420. Accepted values:\\ 0 - 13 bits resolution.\\ |
| resolution? | Displays the selected resolution. | | | resolution? | Displays the selected resolution. | | ||
- | | temp? | Displays the temperature. | | + | | temperature? | Displays the temperature |
Commands can be executed using a serial terminal connected to the UART1 peripheral of PIC32MX320F128H. | Commands can be executed using a serial terminal connected to the UART1 peripheral of PIC32MX320F128H. | ||
- | The following image shows a list of commands in a serial terminal connected to processor’s UART peripheral. | + | The following image shows a generic |
{{ : | {{ : | ||
- | |||
==== Software Project Setup ==== | ==== Software Project Setup ==== | ||
{{page>: | {{page>: |