Skip to content

[STM32F103C8T6] SPI1 does not send any data #2761

@Toy-Jie

Description

@Toy-Jie

STM32F103C8T6

RCC->APB2ENR |= RCC_APB2ENR_AFIOEN;
AFIO->MAPR |= AFIO_MAPR_SPI1_REMAP;

SPI.begin();
SPI.transfer(0xAA);

SCK -> PB3
MISO -> PB4
MOSI -> PB5

Using an oscilloscope to check, no data is transmitted.

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