AnsweredAssumed Answered

Unable to control PTB9 pad via GPIO or FTM1CH1

Question asked by Paul Holmquist on Jun 18, 2013
Latest reply on Jun 20, 2013 by Anthony Huereca

I'm trying to configure PTB9 for FlexTimer Channel 1 output (IOMUX-MODE=ALT1).  When that didn't work I tried to manualy control PTB9 via GPIO which also fails (IOMUX-MODE = ALT0).

 

Then I noticed that PTB9 is part of a daisy-chain and I can't seem to control any pad that is in a daisy-chain.  I was able to control PTB14 via GPIO which is close to PTB9 but PTB14 is NOT in a daisy-chain.  However, even when I tried to set the daisy-chain for ALT1 (same as its reset value) it still doesn't output FTM1Ch1 signal although I've verified the flex timer is running/counting per the CNT register and flags (using EPWM mode).

 

I've reviewed the vybrid manual several times and triple-checked the location for PTB9 on tower board ( attaching scope probe to J9.37 on Primary expansion board).

 

For GPIO I use the following mux config code:

   IOMUXC_PTB9 &= ~IOMUXC_RGPIO_MUX_MODE_MASK; // clear all mode bits  

   IOMUXC_PTB9 |= IOMUXC_RGPIO_MUX_MODE(0); // ALT0 is GPIO output

 

For FTM1Ch1 I use the following mux config code:

   IOMUXC_PTB9 &= ~IOMUXC_RGPIO_MUX_MODE_MASK; // clear all mode bits  

   IOMUXC_PTB9 |= IOMUXC_RGPIO_MUX_MODE(1); // ALT1 is FTM1Ch1 output  

   IOMUXC_FLEXTIMER1_IPP_IND_FTM_CH_1_SELECT_INPUT &= ~(IOMUXC_FLEXTIMER1_IPP_IND_FTM_CH_1_SELECT_INPUT_DAISY_MASK);

 

So is there some other register I need to configure to get any of the daisy-chain pads like PTB9 to work?

Outcomes