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

Arduino digital pins 22-23 doesn't work #1

Open
KUSTOMSS opened this issue Feb 6, 2024 · 6 comments
Open

Arduino digital pins 22-23 doesn't work #1

KUSTOMSS opened this issue Feb 6, 2024 · 6 comments

Comments

@KUSTOMSS
Copy link

KUSTOMSS commented Feb 6, 2024

Hi digital pins 22-53 doesn't work.
On arduino in my tune work everything.
Any solutions?

@pazi88
Copy link
Owner

pazi88 commented Feb 7, 2024

Are you using the pre-compiled binary?

@KUSTOMSS
Copy link
Author

KUSTOMSS commented Feb 7, 2024

Yes i tried:

  • 202305_FastADC_InternalFlash.bin
  • 202305_FastADC_InternalFlash_FTDI.bin
  • 202305_InternalFlash.bin
  • 202305_InternalFlash_FTDI.bin
  • 202305_InternalFlash_FTDI.bin
  • 202207_FastADC_InternalFlash.bin
  • 202207_InternalFlash.bin

I ordered 2 boards with assembly from:
https://www.pcbway.com/project/shareproject/STM32_mega_b8a000f3.html

@KUSTOMSS
Copy link
Author

I Found solution. It's not problem with 22-53 digital pins it's problem's with 22-23 digital pins.
PC9 - D22
PC8 - D23
This 2 pins is used in code to SD
{PC_8, SDIO, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDIO)}, // SDIO_D0
{PC_9, SDIO, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDIO)}, // SDIO_D1

Can i disable this pin to SD and it will be work tu aux digital input?? In schematics it doesnt be used to SD

@KUSTOMSS KUSTOMSS changed the title Arduino digital pins 22-53 doesn't work Arduino digital pins 22-23 doesn't work Feb 14, 2024
@KUSTOMSS
Copy link
Author

digital pin 46 doesn't work.
digital pin 51,53,24 work when sd card is removed.

@pazi88
Copy link
Owner

pazi88 commented Feb 20, 2024

I Found solution. It's not problem with 22-53 digital pins it's problem's with 22-23 digital pins. PC9 - D22 PC8 - D23 This 2 pins is used in code to SD {PC_8, SDIO, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDIO)}, // SDIO_D0 {PC_9, SDIO, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDIO)}, // SDIO_D1

Can i disable this pin to SD and it will be work tu aux digital input?? In schematics it doesnt be used to SD

The pins 22 and 23 don't currently work properly, because those are mapped wrong in the variant file. On purpose though to make serial connection to TS working. The SDIO is not used with speeduino, so it doesn't matter.

@pazi88
Copy link
Owner

pazi88 commented Feb 20, 2024

digital pin 46 doesn't work. digital pin 51,53,24 work when sd card is removed.

I can't think of any reason why pin 46 won't work. Unless you have WMI somehow enabled. It's default pin in there at least in 0.4 board. for the others, I can't think any explanation why those won't work.

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