I am trying to use 8013's SPI to send a 16 bits long info to a slave
device. I am wondering if I could use SendChar command to do it. My
concerns is that a Char is only 8 bits long. Can I use SendChar twice
to achieve 16 bits long info? if not, how can I send 16 bits word by
using SPI? Please help and thanks in advance.
SPI for 8013
Started by ●July 30, 2006
Reply by ●August 15, 20062006-08-15
There is property 'Width' in the SPI bean interface. Do you have
selected 16 bits communication width? If not, choose 16 bits item in this
property.
I am trying to use 8013's SPI to send a 16 bits long info to a slave
>device. I am wondering if I could use SendChar command to do it. My
>concerns is that a Char is only 8 bits long. Can I use SendChar twice
>to achieve 16 bits long info? if not, how can I send 16 bits word by
>using SPI? Please help and thanks in advance.
I am trying to use 8013's SPI to send a 16 bits long info to a slave
>device. I am wondering if I could use SendChar command to do it. My
>concerns is that a Char is only 8 bits long. Can I use SendChar twice
>to achieve 16 bits long info? if not, how can I send 16 bits word by
>using SPI? Please help and thanks in advance.