Dear Sir/Madam,
We are using TMS320VC5416 processor. We wanted to use McBSP in clock stop mode for some SPI application.
Details are as follows,
Processor: Master
SPI mode: 3 (both clock phase and clock polarity are one. CLKXP = 1b; CLKSTP = 10b)
No of words per frame: 3 words, each word consisting of 8 bits of data.
We are facing some issue. When want to transfer the 3 words (each of 8 bits) data is coming properly but clock is not coming properly. Clock is coming like 8 bits, 9 bits and 9 bits. (Please see the attachment)
Can you kindly send the proper settings???
My register configurations are as follows,
#define McBSP_SRGR10 0x00A0
#define McBSP_SRGR20 0x2000
#define McBSP_PCR0 0x0F0E
#define McBSP_SPCR10 0x10a0
#define McBSP_SPCR20 0x0240
#define McBSP_RCR10 0x0200
#define McBSP_RCR20 0x0200
#define McBSP_XCR10 0x0200
#define McBSP_XCR20 0x0200 .
Thank you,