Skip to content

R4 Minima: "extra" pins inaccessible. #91

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

Closed
WestfW opened this issue Aug 7, 2023 · 3 comments · Fixed by #109
Closed

R4 Minima: "extra" pins inaccessible. #91

WestfW opened this issue Aug 7, 2023 · 3 comments · Fixed by #109
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@WestfW
Copy link

WestfW commented Aug 7, 2023

The board to chip pin translations for the RX and TX LEDs, and the RX/TX signals available on the SWD connector are not present in the Minima variants.cpp or pins_arduino.h, making those essentially inaccessible to "proper" arduino sketches.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Aug 8, 2023
@facchinm
Copy link
Member

TX/RX LEDS are now user accessible (https://github.com/arduino/ArduinoCore-renesas/blob/main/variants/MINIMA/variant.cpp#L49-L50 , from commit df98db2 ).

For the SWD pins, I don't think it's a good idea to expose them to the end user, but I'll be glad to change my mind if you have a user case for it.

@facchinm facchinm added the status: waiting for information More information must be provided before work can proceed label Aug 24, 2023
@WestfW
Copy link
Author

WestfW commented Aug 24, 2023

I wasn't talking about the SWD pins themselves, but rather the "extra" serial port from P501/502 that seems to be connected pins 7 and 8 on the SWD connector. (This seems to be an Arduino-specific hack. Pin 7 is "supposed" to be a "key" (missing pin) for correct connector insertion. Not that I've ever seen a connector with pin7 actually missing.)

Screen Shot 2023-08-24 at 1 56 30 PM

@facchinm
Copy link
Member

Got it, I agree that's something we should add to the list of user pins (maybe also the SWD ones at this point).
About the "key" pin, the specification only mandates that 7 and 8 are "not connected" on the debugger side
image
so you can add whatever you want on that pins 🙂

@per1234 per1234 added conclusion: resolved Issue was resolved and removed status: waiting for information More information must be provided before work can proceed labels Aug 30, 2023
pennam pushed a commit to pennam/ArduinoCore-renesas that referenced this issue Jan 5, 2024
…ash_during_format

fix for little filesystem that crash when QSPIFormat sketch is used
cristidragomir97 pushed a commit to cristidragomir97/ArduinoCore-renesas that referenced this issue May 20, 2024
…ash_during_format

fix for little filesystem that crash when QSPIFormat sketch is used

Former-commit-id: 347920d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants