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.
Hi,
We are planning to use eHRPWM outputs in OMAP-L138 as PWM outputs for 4 Wire-Stepper Motor interface. This eHRPWM outputs are multiplexed with SPI 1 and SPI 0 interface. Another requirement is to configure OMAP-L138 as SPI 1 Slave interface with CS4.
Actually, SPI 1 interface CS 0/1 is used as eHRPWM outputs. SPI 1 CS 2/3 is used as UART 1 interface which we use as debug port. The next available Chip select is SCS4 and we are configuring OMAP as SPI - Slave.
Kindly confirm whether this configuration is feasible. We understand Pin MUX registers allow individual ChipSelect configuration for OMAP SPI 1 interface.
Thanks and Regards
R.Subramanian
Hello Subramanian,
Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).
Actually, SPI 1 interface CS 0/1 is used as eHRPWM outputs. SPI 1 CS 2/3 is used as UART 1 interface which we use as debug port. The next available Chip select is SCS4 and we are configuring OMAP as SPI - Slave.
Yes, this configuration is possible on OMAPL138. As you mentioned above, it could be implemented with the use of pinmux registers. Please refer section 11.5.10 Pin Multiplexing Control Registers (PINMUX0-PINMUX19) in device TRM.
Further you can use any of the eight chip selects of SPI1 interface to access the SPI slave connected to this bus.
Regards,
Senthil