Ah! So actually it *is* working as expected?
And for most situations I'll be addressing with pin number (PXY) not pin name (PX_Y)?
I don't know why I got it into my head that the correct way to address pins is via pin name.
Probably just unlucky with my choice of example code.
Search found 16 matches
- Sat May 02, 2020 2:45 pm
- Forum: General discussion
- Topic: Some confusion around the ordering/mapping of the pins in the variant.cpp PinName array
- Replies: 10
- Views: 8326
- Sat May 02, 2020 12:52 pm
- Forum: General discussion
- Topic: Some confusion around the ordering/mapping of the pins in the variant.cpp PinName array
- Replies: 10
- Views: 8326
Re: Some confusion around the ordering/mapping of the pins in the variant.cpp PinName array
Oh man, I must have another problem then. Blink sketch on PA0 blinks on the correct pin (MCU pin 10), while Blink sketch on PA_0 blinks on MCU pin 2 (PC13). Surely PA0 should always be correct if I'm understanding you right, while PA_0 should be the one that might be misconfigured? but I'm experienc...
- Fri May 01, 2020 4:55 pm
- Forum: General discussion
- Topic: Some confusion around the ordering/mapping of the pins in the variant.cpp PinName array
- Replies: 10
- Views: 8326
Some confusion around the ordering/mapping of the pins in the variant.cpp PinName array
Hi all, I've been setting up a variant for 48 pin STM32L02CZT. I'm getting the wrong ordering of pins somewhere in the variant files. I've ordered variant.cpp PinName array by the physical pins on the chip from pin 1 on the datasheet, but addressed PA_0 (physical pin 10) is coming out at PC_13 (phys...
- Sun Apr 26, 2020 9:11 pm
- Forum: General discussion
- Topic: A laundry list of questions for designing an STM32L07 PCB ready for STMduino
- Replies: 3
- Views: 4544
Re: A laundry list of questions for designing an STM32L07 PCB ready for STMduino
Thanks for the reassurances and the reading materials gents, Eventually, given what you were saying, I was so certain that what I'd breadboarded should work that I pulled it all apart and started from scratch out of frustration. In case it might help anyone else in future, I was coming up against a ...
- Sat Apr 25, 2020 8:42 pm
- Forum: General discussion
- Topic: A laundry list of questions for designing an STM32L07 PCB ready for STMduino
- Replies: 3
- Views: 4544
A laundry list of questions for designing an STM32L07 PCB ready for STMduino
Hi enthusiasts, I've gotten myself very turned around and I've come hoping that expertise and experience can confirm or correct my assumptions. I've had a PCB design for a atmega32u4 arduino project that I've been working on for some time now, but I've decided that I can no longer be constrained by ...
- Sat Apr 25, 2020 7:28 pm
- Forum: Let us know a bit about you and your projects
- Topic: Hello from a locked-down Londoner
- Replies: 3
- Views: 3449
Hello from a locked-down Londoner
Hi forum, It's a tale as old as time. I've been developing an Arduino atmega32u4 based project for about a year now, but decided that I need that sweet, sweet, decadent flash space. Seduced by the sirens song of BOM reductions I've blacked out and ended up in a forest of technical documentation. I'm...