Skip to content

RX Buffer in SPI Transfer overriding tx buffer #418

@FHachmann04

Description

@FHachmann04

In the following line both tx and rx buffer are being set to the same pointer. The controller while being write only still returns something and overrides the tx buffer which will mess up subsequent calls. I think we should discard the tx buffer here
tr.rx_buf = 0;

tr.rx_buf = (unsigned long)buf;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions