2020-01-10 10:31 AM
Dear ST community,
we are planning using stm32f0 as driver for our
X-Y control Unit. with please see the attachment.
Is those two points are possible.
thank you for the support.
best wishes,
Mike
2020-01-10 12:20 PM
The built-in ROM bootloader doesn't support SPI, so you must develop your own. It's certainly possible, but takes a bit of FLASH and SRAM away from the main application (vector table must be in SRAM).
Using HAL is possible, just not recommended.
The register interface is however extensively documented in the reference manual, with step-by-step instructions in the feature description chapters, and code examples in the appendix.
2020-01-12 04:25 AM
Thank you for the reply,
but in that case, it would take much more time than expected.
Is there an alternative uC In the same pricing and periphery range avalibale?
Thank you,
Mike
2020-01-12 05:46 AM
To be frank, this doesn't make sense to me, unless you already have a functioning SPI loader which is able to talk to the STM32 built-in bootloader.
But in this case, you wouldn't ask whether a particular MCU has an SPI bootloader, but you would already know where to look it up (AN2606).
In addition, consider the additional hardware and software requirements for the built-in bootloader activation. You might find that this approach too could take much more time as expected.
If the loader software for the host has yet to be developed, then being able to debug both sides is an immense help that might actually shorten development time.
Anyway, you can check out the STM32G0 line, same set of peripherals for roughly the same price if you know what you're doing.
2020-01-12 10:25 AM
In addition, consider the additional hardware and software requirements for the built-in bootloader activation. You might find that this approach too could take much more time as expected.
Additional hardware means control the NSS pin.
To be frank, this doesn't make sense to me, unless you already have a functioning SPI loader which is able to talk to the STM32 built-in bootloader.
No, we don't have any of this. But with good example it would be much easier.