1 Reply Latest reply on Oct 7, 2018 4:19 PM by user_13463998

    SPI bus configuration question

    npruss_3742601

      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

        • 1. Re: SPI bus configuration question
          user_13463998

          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