Hello prathap,
I recommend you to check our SDK examples, we have some PWM examples using SCTimer. There, you will find how you need to configure the pin and how to use the SCTimer module. You can download the SDK in this link or install it directly from MCUXpresso IDE.
To answer your question you need to configure the pin as follows:
const uint32_t port0_pin8_config = (
IOCON_PIO_FUNC2 |
IOCON_PIO_MODE_INACT |
IOCON_PIO_INV_DI |
IOCON_PIO_DIGITAL_EN |
IOCON_PIO_INPFILT_OFF |
IOCON_PIO_OPENDRAIN_DI
);
IOCON_PinMuxSet(IOCON, PORT0_IDX, 8, port0_pin8_config);
Hope it helps!
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored.
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------