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.

TMS570LS3137: NHET pin configuration limitation for PWM and ICU drivers

Part Number: TMS570LS3137

In AUTOSAR_MCAL_TMS570LSx-05.30.00, we are not able to configure PWM for N2HET[16] and above. Also, ICU configuration is not allowed from pins N2HET[0] - [15]. 

Why is such limitations?

How do we meet Customer requirements?

 

  • Hi Prathibha,

    By design, we are supporting N2HET[0] to N2HET[15] for PWM and N2HET[16] to N2HET[31] for ICU. You only need to configure PWM and ICU drivers and they internally take care of the mechanism used to achieve the required configuration(Period, duty cycles etc).
  • Hello Vishwanath,

    This is not acceptable in our project scenario as HW design is such that

    •  There are PWM channels beyond N2HET[0 - 15]
    •  ICU channels below N2HET[16 - 31]

    Why is this restriction from the MCAL while the controller itself allows any of the N2HET[0 - 31] to be used as PWM \ ICU?

    I see that the implementation of the driver beyond the Init function still supports the PWM and ICU on any of the N2HET[0 - 31].

    How do we proceed in this scenario when the HW \ ECU design cannot be changed?

    Regards

    Niveditha

  • Hello Niveditha,

    Software limitation on NHET usage are documented in PWM and ICU user guides. Why was hardware designed without considering documented software limitations? Are there hardware requirements/limitations to use PWM on N2HET beyond[0-15] and ICU below [16-31]?