joeycastillo / The-Open-Book

Creative Commons Attribution Share Alike 4.0 International
7.45k stars 232 forks source link

Adafruit Feather STM32F405 Express #31

Closed chadvavra closed 1 year ago

chadvavra commented 4 years ago

https://www.adafruit.com/product/4382

Thoughts on using the STM32 instead of M4 Express?

Adafruit tested this board in Arduino STM32duino with all their FeatherWings and only the RFM69/RFM9x libraries did not work

STM32F405 Cortex M4 with FPU and 1MB Flash, 168MHz speed

joeycastillo commented 4 years ago

Initial thoughts are that it should work! Early on I tested the wing with M0 Feathers as well as the the ESP32 Feather, and at the very least the screen test sketch worked as expected. I have had an STM32 Feather here for a while, but haven't had a chance to test it. If you wanted to try, you could more or less copy over the hardware definition for the M4 Feather since almost all the pin numbering is the same.

The only issue I foresee is that the BCS pin, which has a solder jumper to allow it to connect to the M4's 'Extra' pin, would need to be connected to a different pin since the STM32 Feather uses it to enter bootloader mode. If you planned to use the SD socket on the Feather instead of the SD socket on the wing, you could run a wire from the BCS pad to SDCS, and then use pin 5 to select the language chip.

If you try this, definitely let me know in this thread! And either way I'll likely give it a go in the coming weeks.

chadvavra commented 4 years ago

Will do!  Thanks.  I'm curious about the chip speed and if it makes any difference.Sounds like it might be hard to try both out on the same board though.On Jul 17, 2020 1:59 PM, joeycastillo notifications@github.com wrote: Initial thoughts are that it should work! Early on I tested the wing with M0 Feathers as well as the the ESP32 Feather, and at the very least the screen test sketch worked as expected. I have had an STM32 Feather here for a while, but haven't had a chance to test it. If you wanted to try, you could more or less copy over the hardware definition for the M4 Feather since almost all the pin numbering is the same. The only issue I foresee is that the BCS pin, which has a solder jumper to allow it to connect to the M4's 'Extra' pin, would need to be connected to a different pin since the STM32 Feather uses it to enter bootloader mode. If you planned to use the SD socket on the Feather instead of the SD socket on the wing, you could run a wire from the BCS pad to SDCS, and then use pin 5 to select the language chip. If you try this, definitely let me know in this thread! And either way I'll likely give it a go in the coming weeks.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

joeycastillo commented 4 years ago

Yea, if you connected the two sides of the BCS solder jumper, like it suggests in the getting started guide for the M4, it'll probably interfere with things since that pin is pulled down on the STM32 Feather; the Flash chip will always be selected in addition to whatever device on the bus you're trying to talk to. You can un-bridge the jumper with some solder wick and run a wire, but then it's a solder job every time you want to switch Feather boards. Not ideal.

nerdguy1338 commented 4 years ago

Make that jumper a pushbutton switch instead?

On Fri, Jul 17, 2020, 10:39 PM joeycastillo notifications@github.com wrote:

Yea, if you connected the two sides of the BCS solder jumper, like it suggests in the getting started guide for the M4, it'll probably interfere with things since that pin is pulled down on the Feather; the Flash chip will always be selected in addition to whatever device on the bus you're trying to talk to. You can un-bridge the jumper with some solder wick and run a wire, but then it's a solder job every time you want to switch Feather boards. Not ideal.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joeycastillo/The-Open-Book/issues/31#issuecomment-660411207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZOBBHQHGYS63OHN5EC5STR4EDP3ANCNFSM4O4XDOEA .