SPI with non-standard frame

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnRa_1522781
Level 2
Level 2

Hi

   

I am learning to use the SPI mode of SCB component on PSoC 4200 device. How do I push exactly 194 bits to the slave device. 

   

void SPIM_SpiUartWriteTxData(uint32 txData)

   

seems like it will push in multiples of 8. 

   

Is there a possibility to achieve this?

   

Best Regards

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Because 97 (*2 = 194) is a prime number and the smallest amount of bits that can be transferred by SPIM is three bits, I do not see any chance transferring 194 bits.

   

 

   

Bob

0 Likes