Skip to content

SPI_CMD_GET_BAUD not working #9

@mcsmark

Description

@mcsmark

I use the AVRISP protocol. But for some reason the SPI_CMD_GET_BAUD does not work.
I do not get a valid response. I tried with SNAP and a curiosity 168 board.
this is the test code
command = bytearray([AvrIspProtocol.SPI_CMD_GET_BAUD])
self._spi_cmd_resp(command)

in the docs there is link to AVR069. but that use a different way of setting the clock.

this is the webpage ; https://onlinedocs.microchip.com/oxy/GUID-33422CDF-8B41-417C-9C31-E4521ADAE9B4-en-US-2/GUID-1FCCECA1-F85C-4179-BFEC-15CB8F6388AE.html

i did see in the code that spi clock is todo. maybe it was not done because it does not work?
a tool like studio does not offer a way to set the clock either. it is kind of odd.

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