Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spi2 support #34

Open
kabbi opened this issue Nov 26, 2020 · 1 comment
Open

Spi2 support #34

kabbi opened this issue Nov 26, 2020 · 1 comment

Comments

@kabbi
Copy link

kabbi commented Nov 26, 2020

According to datasheet, GD32VF103CBT6 has 3 SPI ports, but it seems that this library only has spi0 and spi1.
Should we have spi2?

@lghty
Copy link

lghty commented Dec 27, 2021

From the pin map, it looks like the pin out is:

  • NSS2: pin 38 (not used)
  • SCK2: PB3, pin 39
  • MISO2: PB4, pin 40
  • MOSI2: PB5, pin 41

edit: I think it is included as the remapped pins for SPI0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants