-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add STM32 microcontrollers #363
Comments
Thanks for the feedback! Are you using the STM32 yourself? Can you describe which board / MCU are you working with and what development tools are you using? |
hi Uri,
|
Thanks for the details! I opened this request for voting. Do you happen this have an example project with platform io + STM32 that you'd like to be able to simulate on Wokwi? |
adding STM32F103C8T6 would be good for me. I am using this mcu |
Thanks for the feedback, @prisar. What project(s) are you using the STM32F103 for ? |
Not any specific project yet. This is my first chip. I'm using it to learn. Started with things like LED blinking, programming various pins |
Good luck in your journey! What makes this specific chip appealing for you as a first chip for learning? |
Thank you for providing such a convenient platform to experiment various projects online.
I wanted to start with an arm microprocessor because I'm thinking of using some in my future projects. And, it has ARM Cortex-M3. So, I decided to tinker STM32F103 |
I saw this: EDIT: |
Initial STM32 support is now available! Starting with NUCLEO-C031C6: Supported peripherals:
Missing peripherals:
Documentation and new project templates coming soon! |
Initial docs for the new Nucleo-C031C6 board: https://docs.wokwi.com/parts/board-st-nucleo-c031c6 |
Nucleo-L031K6 is now available too: https://docs.wokwi.com/parts/board-st-nucleo-l031k6 |
Hello, would it be possible to extend support to other STM32 families like L45X or L4X |
L432KC is available is early alpha: https://wokwi.com/projects/364373191510788097 |
Do you offer paid support/sdk in case we'd like to add custom support to specific boards? |
This is definitely something we can discuss. What's your use case? (we can also discuss over email, if you prefer) |
@urish Is it possible to add a blue (stm32f103) and black (stm32f401) pill to the project? |
stm32f103 is already partially implemented: https://wokwi.com/projects/334824244586218068 If we see a good business case, we might add the black pill as well. |
As far as I understand, it is not possible to achieve at least approximate speeds for performing certain operations and simulating SRAM memory from a simulator? |
It really depends - some things simulate fast, some things simulate slower. There are also certain optimizations that we can employ for certain use cases. Unfortunately, simulation is not a one-size-fits-all solution: there's always a tradeoff between speed, accuracy and complexity. |
I would like to simulate some things for |
@brightproject I looked into the project, and done some initial experimentation. It seems like there are two ways to considerably speed up the simulation:
The first item is a kind of optimization that we have to make available in the simulation engine. Instead of transmitting one bit at a time, we will just transmit whole bytes between the simulated MCU and the ILI9341 module. The second one is something that has to be done in the code that runs in the simulator. Your code currently uses the CPU to write SPI data directly, byte by byte. Using DMA enables to write larger buffers, so it is likely to generate additional speed up. |
But how can I start a project based on the Blue Pill? The dropdown menus don't offer it. |
Blue Pill is not officially supported at the moment. You can try to copy from an existing project, but YMMV. |
Many thanks to the developer of the STM32-devices :) . Is it planned to implement support for hardware timer e.g. TIM1 and TIM3 ? |
I suggest adding stm32 support on wokwi to reach more embedded systems developers. Thanks!
The text was updated successfully, but these errors were encountered: