Skip to content

NG mode:The SPI sending interface always has a fixed delay of 1.5ms #684

@lwj850533527

Description

@lwj850533527

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

spi communication speed cannot meet the expected requirements

Actual behavior (suspected bug)

Iperf cannot achieve the expected speed
Image

Error logs or terminal output

Steps to reproduce the behavior

I tried adding some printing to the sending interface,before and afer spi_sync_transfer,I added printing information
I found that this interface always takes 1.5ms more than the theoretical time
When I set 30MHz, theoretical time is 0.4ms, the actual usage time is about 2ms
When I lower the speed, theoretically there will be an additional delay of 1.5ms
Is there a way to locate where this interface is affecting communication speed

Project release version

5.1.3

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

5.15.24

Shell

ZSH

Additional context

No response

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