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

PSoC™ 4

niprc_3742601
Level 4
5 likes given First like received First like given
Level 4

Hello,

Is there a way to configure a SPI bus to specify how many bits (not bytes) to transmit and word size?  My requirement is a 100 bit transmit message with 10 bit word size.

Thanks!

Nikolay

0 Likes
1 Solution
MotooTanaka
Level 9
First comment on KBA 1000 replies posted 750 replies posted
Level 9

Hi,

First of all, you can open the datasheet of a component from its configuration dialog.

003-SPIM_1_Config_3.JPG

And in the data base, basic specification of that component is described.

000-SPIM_Datasheet.JPG

005-SPI_datasheet.JPG

I checked both SCB-SPI and Non-SCB-SPI

SCB-SPI: databit can be 4 to 16-bit

Non-SCB-SPI (SPIM): databit can be 3 to 16-bit

So I'm afraid that the standard SPI components do not support 100 bit transmission.

But you can set databit to 10 bit (your word) and with 10 transmissions,

you can send 100 bits.

moto

View solution in original post

0 Likes
1 Reply