Jun 21, 2016
04:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 21, 2016
04:55 AM
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
Labels
1 Reply
Jun 21, 2016
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 21, 2016
07:27 AM
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