0 Replies Latest reply on Jul 3, 2018 12:00 AM by suresh_n

    Implementation of ADC in sync with Square Wave

    suresh_n

      Hi,

      Just implemented the blinky program enabling the GPIO 10 pin instead of perf board LED and the temperature sensor functionalty (ADC) individually.

      Getting an error when i'm combining the individual (blinky.c,modsraw-temperature.c)files into one modsraw_temperature.c file and generating the nuttx file after enabling the make menuconfig configuration required for both.

       

      I'm working on ubuntu linux environment for firmware development, kconfig-mconf configuration editor to Change nuttx configuration , Hardware used is the moto mods reference mod output pulse observed in gpio pin 10 and ADC input given to PC3 pin, nuttx.tftf file flashed using mdk-utility apk on moto z.

       

      https://developer.motorola.com/documentation/hello-world

      Open source firmware code for this example is located at https://github.com/MotorolaMobilityLLC/nuttx - specifically:

       

      https://developer.motorola.com/documentation/sensor

      Open source firmware code for this example is located at https://github.com/MotorolaMobilityLLC/nuttx - specifically:

       

      I have attach the file the edited c file where i tried to implement both the functionalities.

       

      Any suggestions on how to make these files work simultaneously to generate a pulse and enable ADC at the same time ?