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.

MSP430FR2311: Problems when implementing compare TB1

Intellectual 1525 points

Replies: 1

Views: 106

Part Number: MSP430FR2311

I need your support for my currentproject using the MSP430 Evalboard.[ MSP-EXP430FR2311]

I currently use the eComp and operate it with an external frequency generator and simple pulses at 10kHz,

independent of this I try to use the Compare function of TimerB1 at pin 2.1. On TimerB0 the pulse width of the eComp is measured by a capture interrupt.

So far I switch a fixed duty cycle with 90:10 at the output of pin 2.1. As soon as I switch on the external frequency generator the output of P2.1 is overwritten with the pulse and so the duty cycle is changed.

I have seen in the Family Reference Manual and in the DB of the MSP430FR2311 that there is an interaction of the eComp module and TB1 and no entry in the Errata Sheet. So for me it looks like there are 2 internal output drivers.

So my question is, is this known? Could it possibly be the eval board? A conversion of the function to P2.0 did not bring any improvement.

Thanks

1 Reply

  • Without completely understanding your symptom, I suggest you set SYSCFG2:TB1TRGSEL=1 to avoid TBOUTH behavior [Ref data sheet (SLASE58E) Table 6-15] [Ref User Guide (SLAU445I) Sec 14.2.5 and Table 1-26]

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.