Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

SPI Transceive -> weird behavior #22

Description

@maxdos64

the attached testcode shows weird behaviors when varying the settings.
Its meant to be run on an arduino101 with looped miso mosi

A frequency setting of zero gives a system crash
a frequncy setting of several 100 mhz works fine
At all frequency seems not to change no matter what value is put in there

The calculation function mraa_spi_frequency uses hardcoded sys clock value

Really weird: when disconnecting the loop cable the reading of course becomes 0xFF.. or 0x00
but it seems like the printout of the input pattern (after the failed write) changes -> memory corruption seems possible
spi_test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions