At Sat, 21 Sep 2019 04:34:24 -0700 (PDT) [email protected] wrote:
>
>
>
>
>
> I have SPi0 and SPI enabled in device tree. I looped back shorting MISO and
> MOSI and Can receive the send messages provided its all 8 bit word length
>
> The issue is I am trying to talk to St7735S display driver over SPI ,it
> needs 9 bit command and data transfer.
Are you sure about that?
The Adafruit Arduino St7735S driver library seems to use 8-bit data and
commands and is doing 8-bit SPI transfers. And I know that works, because I am
using it with both an Adafruit Feather M0 express and an Adafruit Metro Mini
project (both programed via the Arduino IDE, but the driver code could be
ported to Linux easily enough).
>
> So I am trying to send tx1[6]={0x01AA,0x0177,0x0188,0x0100,0x01FF,0x0166};
> , defined as short int (2 bytes) . but when I receive response its
>
> 01AA 5577 and so on. its not correct and nothing happens on display? Any
> help
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
[email protected] -- Webhosting Services
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/20190921121209.414C726C07FC%40sharky3.deepsoft.com.