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.

MSP432E411Y: MSP432e411y Pinmux

Part Number: MSP432E411Y
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi! I am writing a device driver for pinctrl in zephyr for a SOC of BGA type package, generally it has a naming convention for pins like (row+colum) e.g. A4, B3 etc. I was taking the

zephyr/include/zephyr/dt-bindings/pinctrl/ti-cc32xx-pinctrl.h driver as a reference but the pins here are generally defined by only pin number since the package is different. can anyone guide me how should I modify the PINMUX macro to accept the pin number for BGA package.

following the definition of the reference PINMUX Macro.

#define TI_CC32XX_PINMUX(pin, mux)                                                                 \
  ((((pin)&TI_CC32XX_PIN_MSK) << TI_CC32XX_PIN_POS) |                                        \
   (((mux)&TI_CC32XX_MUX_MSK) << TI_CC32XX_MUX_POS))

 

  • Hi,

      I'm not familiar with Zephyr and we don't have support for it if you are using MSP432E device. If you are using MSP432E SimpleLink SDK, the pinmux is configured using a GUI interface through the .sysconfig file. Once configured, the pinmux as well as the peripheral configuration source code is generated.  See below example for a I2C configuration. The generated source code is in ti_dirvers.config.c 

    Are you writing your code for cc32xx or msp432e?