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-EP: SPI1 BITERRFLG becomes 1 (Bit error)

Part Number: TMS570LS3137-EP


Hi

We have a custom board on TMS570LS3137-EP, we have configured SPI1  as 8 bit master, but as soon as it sends the first byte its going into bit error, BITERRFLG becomes 1, We have tried to lower the clock rate also with the prescaler being 255 but no success. We are using 33 ohm resistance in series on spi lines but we removed them to see if the problem solves, but no success.  i don't see this problem with other SPI ports.

Please help us on this issue

Thanks

  • Hello,

    Please, check if SIMO1 and SOMI1 are set as GIO. If not, set these pins as GIO and try to see if this problem still exists.

    Some other possible reasons for a bit error can be an excessively high bit rate, capacitive load, or another master/slave trying to transmit at the same time.

  • Miro said:

    Hello,

    Please, check if SIMO1 and SOMI1 are set as GIO. If not, set these pins as GIO and try to see if this problem still exists.

    Some other possible reasons for a bit error can be an excessively high bit rate, capacitive load, or another master/slave trying to transmit at the same time.

    Hi 

    i made those pins as GIO and the problem goes away, Thank you so much for your suggestion,  I wonder the same code was working on RM57L Hercules Development Kit without any problem.

    I would be very thankful to you If you could please let me know why we need to set  SIMO1 and SOMI1 as GIO when we are not using it.

    Again thank you so much for your support.