hartmannathan commented on issue #14690:
URL: https://github.com/apache/nuttx/issues/14690#issuecomment-2463686694

   > Hi @angelorisonk please look how it is implemented for SSI3 at 
boards/arm/tiva/dk-tm4c129x/include/board.h
   > 
   > 
   > 
   > Then look at arch/arm/src/tiva/hardware/tm4c/tm4c_pinmap.h to associate 
the right GPIO_SSI1_CLK_x GPIO_SSI1_RX_x and GPIO_SSI1_TX_x symbol with the 
GPIO pin you are using.
   > 
   > 
   > 
   > @hartmannathan since you are more familiar with this chip, is there any 
other thing to observe?
   
   @acassis I'm writing this from my phone right now but if there is still a 
problem I can look into it more carefully tomorrow. I think you are correct: 
when the chip can map a signal to alternative pins, the board needs to choose 
which one to use by providing the define. For example:
   
   ```
   #define GPIO_SSI1_CLK GPIO_SSI1_CLK_1
   ```
   
   Obviously you need to use the correct mapping. To see which pin 
`GPIO_SSI1_CLK_1` maps to, grep for that name in the arch/arm subtree.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to