Skip to content

C SDK Doc: pio_sm_restart, pc is not mentioned #2844

@dikdom

Description

@dikdom

In C SDK at the pio_sm_restart() function description doesn't mention PC and running state of the SM.
In the datasheet of 2040 it is stated that PC is not affected. There is nothing in 2350 datasheet about the the PC. Do we know anything about the PC at RP2350 when the function is called?

None of the document mentions the running state of the state machine (the function name ends with _restart so I think it would be a safe bet assuming the statemachine will be running after the call - but it won't).

If PC is not affected at RP2350 either, then:

  • please syncronize the 2350 and 2040 datasheets at the PIO:List of registers:CTRL Register:SM_RESTART
  • update the description in the C SDK (in document and at code comment)

If running state also not affected, please mention that also in the C SDK document, source comments and in Datasheet also. That would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions