Skip to content

received SPI data are wrong #4

@LudgerBreil209

Description

@LudgerBreil209

I am using Arduino IDE 2.3.4.

in the function sendReceivePrevious() the read data in MisoDatagram.uint64 are stored incorrectly, while the read values in byte_read are correct.
Line 362 in TMC2130.cpp must be changed as follows:
miso_datagram.uint64 |= (uint64_t)byte_read << (8*i);

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