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.

MSPM0G3519: Dio write channel functionality is not working.

Part Number: MSPM0G3519

Issue Description:

While performing Dio_WriteChannel() using latest MCAL package from TI. Below are the observations

Used the Dio demo provided as input for code and configuration.

Invokded Dio_WriteChannel(39, STD_HIGH); for PortConf_PortPin_PortPin_7(41) and channel 39.

It is noticed that Dio is not setting DOUTSET31_0 for the bit value 1 passed for the DIO7. This will result in not setting DIO7 in DOUT31_0 FOR GPIOB. Please find the attached screen shot below.image.png

Is MCAL verified with GHS compiler at TI for Dio write channel for GPIOB ? and

Can you please share the Dio write channel for GPIOB information performed at TI ?

Test Environment :

  • Target : TI(MSPM0G3519)
  • Compiler : GHS multi (202414)
  • MCAL : MSPM0-MCAL_00_09.00.00
  • It is noticed that Dio is not setting DOUTSET31_0 for the bit value 1 passed for the DIO7. This will result in not setting DIO7 in DOUT31_0 FOR GPIOB. Please find the attached screen shot below.

    DOUTSET31_0 is write only register, no read permission. You can't use this register to read the pin status.

    Is MCAL verified with GHS compiler at TI for Dio write channel for GPIOB ?

    Original plan is, pass all the example test code.

    Can you please share the Dio write channel for GPIOB information performed at TI ?

    Directly control the port should be OK, and if you can confirm the left side window in your screenshot that, you write bit 1 in DIO7 bit in DOUTSET31_0, and your port configuration is correct, there is no reason that PB7 is still 0.

  • Dio is working as expected after Mcu configuration for GPIO1 is enabled for McuInitConfig parameter.

**Attention** This is a public forum