Part Number: TMS320F28377D
I am using the McBSP to communicate with an external BISS-encoder, so a clock-burst must be transmitted, which causes an encoder measurement and encoder data to be transmitted. I use one DMA to force the transmit of dummy data (no actually connected to the encoder), and another DMA to receive the data based on the McBSP-data-ready. Prior to starting I reset/release the McBSP transmit/receive registers (RRST and XRST) and I reset/release the sample-rate generator. This all works very well, except occasionally the first clock generated is a partial clock-pulse, which causes the encoder to error. My theory is either the GRST=1 or XRST=1 sometimes occurs in the middle of an LSPCLK, and there is nothing to prevent the 1/2 clock pulse from being generated.
I don't have anything connected to MCLKR or MCLKX, so I need to use the internal LSPCLK. Is there any way to assure that the clock-burst only contains complete clock cycles?
Thanks,
Jim