SPI bus configuration question

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

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

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
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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