-
Notifications
You must be signed in to change notification settings - Fork 979
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
[New Variant] request list #722
Comments
What about the new STM32MP1 MPU series which has both a Cortex-A7 as well as an onboard Cortex-M4 microcontroller unit? https://blog.st.com/stm32mp1-mpu-stm32mp157a-ev1-stm32mp157c-dk2/ https://www.cnx-software.com/2019/02/21/stmicro-stm32mp1-cortex-a7-m4-mpu/ Seeed Studio ODYSSEY-STM32MP157C SBC based on Seeed Studio SoM-STM32MP157C SoM Emtrion emSBC-Argon https://www.cnx-software.com/2019/07/18/emtrion-emsbc-argon-stm32mp1-dual-cortex-a7-m4-processor/ i2Som PanGu board from I2Som: https://www.cnx-software.com/2019/06/25/pangu-board-stm32mp1-sbc/ MYIR MYD-YA157C development board based on their MYiR MYC-YA157C STM32MP1 CPU Module Avenger96 96Boards CE Extended Board Features an STMicro STM32MP1 SoM https://www.cnx-software.com/2019/02/23/avenger96-96boards-stmicro-stm32mp1-som/ Shiratech Stinger96 board (96Boards board design) Direct Insight / Ka-Ro STM32MP1 QSMP 1570 / 157C SoM module and development kit with reference board: Could we also request support for STM32MP1 (STM32 MP1) that comes onboard STM32MP157A-DK1 development board? https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html STM32MP157A-DK1 development board also come with the STM32MP157C-DK2 Discovery Kit https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html STM32MP157A-DK1 and STM32MP157C-DK2 Discovery kits are $99 with LCD or $69 without STM32MP157A-EV1 Evaluation kit for PCB engineers does have a steeper price at $399 Several other boards with STM32MP1 have been announced but none released yet AFIK. |
Picked up STM32G0316-DISCO the other day. It'd be nice to port over. It's close to an ATTiny85 alternative. |
It would be great if we could have more generic chip options. I'm particularly interested in the 48 and 64 pin versions of the STM32F401 and STM32F411, but these will be used on custom hardware and not board like the Nucleo. The F401 and F411 are also very reasonably priced on LCSC.com. I've been a pro AVR user for years now, but have very experience with STM32. Let's say I start working on a pin definition file for all 48-pin F401C's. Can we use the same pin definition files for all variants (F401CB/CC/CD/CD)? And are there guidelines on how the Arduino pinout should look like? Perhaps similar/identical to other supported STM32's? |
@MCUdude
You should look at the datasheet to see if they have the same pinouts, but as far as I know they have different memories and the same package/pinouts. |
Luckily, (unlike on 8-bit AVRs) I can still use the generic pin names (PA14) instead of the Arduino Pin number. This makes the actual Arduino pinout not so relevant to me, since I will always have full control over the generic pin names.
Thanks! I'll read through the Wiki and see what I can do. I prefer working in the PlatformIO IDE, so I hope a new variant for 48 pin 401/411's will be added if I do it right, since I'll rely on an official release. In PlatformIO it's also easy to change the microcontroller variant as long as I have a working variants file for the particular target. @fpistm any thought on adding more generic targets to this core?
I haven't really read through the datasheet, but according to ST's tables the only difference is flash and RAM. |
I mean, this project is an Arduino Core port that implements Arduino API. Even if you physically have access to the generic pin names, Arduino API forces you to use Arduino-style pin numbers. So if you want more flexibility of choice of pins you might have to define your own Arduino pins to work with.
I don't know how PlatformIO IDE works with third-party Arduino cores, but working with the source does not require a specific IDE, since you replace the official release with the git repo. |
Yes, I'm forced to use Arduino Pin numbers. But the PA[x], PB[x]..Pn[x] macros are defined in a way that they match their Arduino Pin number. On the Nucleo 401 board I have I don't care about digital pin 13. I use the PA5 macro instead (which is defined as 13). I have lots of experience when it comes to "wrapping" the Arduino API around AVRs. I currently host six different repos here on GitHub, and some have become quite popular.
I've been involved with platformIO since three on my Arduino cores (MightyCore, MiniCore and MegaCore) are available through PlatformIO. What they do is that they will make a copy of the latest release and include it in one of their repos. It is possible to add custom core files, but it's so much easier when it is already available as an option in their project wizard. |
@MCUdude |
@fpistm thanks! I'll put some time and effort into this. Does any of you guys know if there exist a good ready-made F401/f411 48-pin development board? If not I'd probably have to roll my own. It would also be great if it was possible to use the standard stlink programmer for the generic "boards", preferably the cheap $3 knockoff's. They do work great in PlatformIO, but not in Arduino IDE. I do have a black magic probe and currently waiting for a Jlink in the mail, but it's always nice to be able to use cheap and highly available tools. Is there any particular reason why support for stlink v2 was dropped? |
STlinkv2 is supported, you have to install the STM32CubeProgrammer. |
Sorry for the noob questions, but I'm slowly starting to getting into things. The Nucleo board I currently have uses the internal HFI (high-frequency internal oscillator) instead of an external crystal. To gain more accurate timing I soldered in an 8 MHz crystal, some caps and added a few 0R resistors. With a little fiddling, I was able to reconfigure the clock, and I'm now running with an external crystal! However, one question still remains; Why would I need a 32.768 kHz crystal as well? The Nucleo board has this crystal populated, but as far as I know, it's not in use by default? Can this be used to drive the main high-frequency clock? Is it only for RTC use? Do I really need to use this at all? The reason I'm asking is that even the cheapest boards from China has this crystal. And they are trying to cut costs everywhere, so I figured it maybe has to be there for a reason? |
AFAIK for F401 it i mainly used for RTC and allow to have a better accuracy than the LSI. |
Thanks for the clarification. I understand you would like to keep this on-topic, so I'll rather ask in the community forums instead, no worries! Back to the generic pinouts, Since I only have a 64-pin (Nucleo) 32F401R chip at the moment to work with, I started working on a generic pinout for this chip first. Is it OK for you guys if I keep the peripheral names as close to the metal as possible? This means we'll have |
By default, only one serialx instance is defined and mapped to If you want discuss about your variant it is better to open a new issue than polluted this one. |
Can you add support for new BlackPill STM32F411CEU6? |
NUCLEO-U5A5ZJ-Q is a STM32 Nucleo-144 development board. |
I checked the list, H755ZI already requested, but please do expedite, thanks :-) |
Feel free to contribute. 😉 |
ST recently released the STM32U0 line of microcontrollers. It would be nice if this could support them. |
Hi @besser435, this is not really a new variant. First the STM32U0xx support have to be added. |
Can we add these two? Or if it needs to be more specific, those pages under Sample & Buy contains these: STM32C071RBT6 is the one I am personally most interested in. |
Of course. Feel free to submit a PR, this is a community project all contributions are welcome. |
@fpistm I will give it a shot in a day or three. The wiki seems good. I hope there is some support channel if I get stuck, but I'll take a closer look at the wiki once I do. Q: Should the original post be updated? It is hard to gauge how the original post works. I assume it contains previous requests, but some are checkmarked because they have been merged. Is there an idea to maybe clean up the original post to remove all already-implemented boards? I see the list as a quick overview of what is not implemented for users coming here, so they do not write a new post (like mine above) to add more to the list. |
@thernstig You're right, I've made a clean up and update the description. Hope it is more clear now |
Hereafter the list of all new variants requested and their linked issue.
Feel free to file an new issue then it will be added to this list.
Note
This is a community projects.
Any contribution is welcome, so feel free submit a PR. 😉
Important
To add a STM32 based board follows this wiki
Board support requested:
Discovery
Nucleo
Generic / Custom
3D printer:
LoRa:
Done
The text was updated successfully, but these errors were encountered: