This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Output of Comp1 to control board I/O pin

Other Parts Discussed in Thread: CONTROLSUITE

Just getting started with Concerto Experimenter Kit.  I'm trying to map the output of COMP1 to a pin on the control card.  The docs show this as GPIO193 (formerly GPIO129).

The debugger shows GpioG2DataRegs.GPEDAT.bit.GPIO129 changing state as expected.  The docs also show COMP1 output on MCU pin 141, but I can't find my output on any control card pin.

How do I connect COMP1 output to a control card pin? What MUX registers do I need to change to get an output? 

Thanx

  • Larry,

    I would recommend taking a look at the schematics for the controlCARD which are located in controlSUITE:
    \controlSUITE\development_kits\~controlCARDs\CCF28M35xxHWdevPkg_v2\

    From the schematics you can see that GPIO129 (referred to as A.GPIO1 in the schematic) is tied to GPIO35.  Neither GPIO35 or GPIO129 go through the controlCARD interface. 

    If you could use Comparator 3 instead, it would come out of GPIO132 (A.GPIO4) which does go through the DIM controlCARD header.

    By the way, sorry for all the GPIO pin naming confusion.  We are working to clean some of this up.


    Thank you,
    Brett

  • Brett,

      Thanks!  That helped me to get moving again.  I got it to work using Comparator 3.

      You're right.  You really need to clean this up.  Here's the comment line in my code:

    /* NOTE: GPIO196 (a.k.a. GPIO132) is connected to MCU pin 112 (labeled A.GPIO4 on control board schematic), which is connected through a zero ohm resistor to PH2_GPIO50, which is connected to DIM100 pin 32 (labeled GPIO86 on the Docking Station), which is connected to J5 pin 14 (labeled 86) */

       It makes it a pretty steep learning curve for a newby!

    Thanks again,

    Larry