Skip to content

amlogic/spicc bits per word > 8 #87

Closed
@farindk

Description

@farindk

SPI transfers with word sizes > 8 bits are not supported correctly. While you can set larger word sizes, only the 8 LSBs are filled with data. I.e., sending out 4 bytes of data as a 32 bit word does not result in a 32 bit word, but in four 32 bit words with 8 bit of data in each.

Seems that cases with word size != 8 is not considered in spicc_hw_xfer().
The TXDATA register is 32bit wide, but always filled with 8 bit data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions