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.

what is N2HET1_PIN_nDIS

Other Parts Discussed in Thread: TMS570LS1115

Hi

Im making a board with the TMS570LS1115 and was wondering about some stuff. I need 12 PWMs for 12 different motors and was thinking on using the ePWM1:6 but I saw that the ePWM1A is also the N2HET1_PIN_nDIS and I'm not sure if I can use that pin as PWM output...

Im going to use 24 external interrupts from the encoders of the motors, so Im planning to use the N2HET1 module. So... my question is basically what action that pin does and if I could use that pin as PWM output even when Im using the N2HET module..

And also Im using an ADC sigma delta for some analogic data I need. For this, as Im using the 144 package, I will use the MibSPI1. And here I have one more question. With multi buffered it means I can be sending/receiving data from many sources at the same time??

Best regards!!

 

  • Hi Miguel,

     

    The PIN_nDis is part of the N2HET Pin Disable Feature. This feature allows the user to disable the output buffer of the N2HET based on certain conditions.

    You do not have to worry about this as long as the HETPINDIS register in the N2HET module is not modified (all zeroes by default). You can go ahead and use that pin for ePWM. You can find more info in the TRM( High End Timer (N2HET) Module > I/O Control > N2HET Pin Disable Feature) .

     

    I’m not sure I understand your question about MIBSPI. Even in SPI you can send/receive data from many sources. MIBSPI just adds buffers to the SPI allowing it to trigger multiple transfers without CPU intervention. Please start a new thread for this query since it is unrelated to your original topic.

     

    Thanks and Regards,

    Vineeth

  • And what happens with N2HET2_PIN_DIS (pin 55)?? Do I need to connect it to something or can I connect it to GND?

    What function does it really have?? I found this on the Reference manual but... Is not clear to me: 

    Only the input functionality is supported so that the application can generate an interrupt whenever the N2HET2_PIN_nDIS is asserted (driven low). Also, a pull up is enabled on the input. This is not programmable using the GPIO module control registers.

    Best regards!

     

  • Hi Miguel,

    If you don’t want to use the Pin Disable feature, you don’t need to worry about the nDIS pin at all. You don’t need to connect the pin to GND or anything. You can use the physical pins(55 and 14) for other uses without knowing about the existence of this feature.

    This feature is used to inform the NHET of a failure condition due to the PWMs(like overheating the motor). When this failure condition is informed to the NHET by driving the nDIS pin low, all NHET pins selected in the HETIPNDIS register will be set to high-impedence state. But we would also like an interrupt to go along with this(to service the failure condition). To this end, a GIO pin also shares the physical pin with the nDIS pin (GIOA[5] and GIOB[2]) which can be configured to raise an interrupt on a falling edge. I hope this helps.

    Thanks and Regards,

    Vineeth

  • In using this pin to generate an interrupt on the CPU but for some reason its lowering the voltaje to mV and I cannot generate the interrupt. The board is already done and cannot modify it.
    what do you suggest??
    thanks!
  • I put some suggestions on e2e.ti.com/.../2022473
    but good job you are almost there...