2018-07-12 11:57 AM
I have a SPI device that I want to operate in 8-bit mode during configuration, but then switch over to running in 16-bit mode with DMA during normal operation.
Is there a way to get CubeMX to generate more than one MX_SPIx_Init() function so that I can re-initialize the peripheral between config and normal operation?
#configuration #cubemx #reinit2018-07-13 08:18 AM
Not 'as is'. But you can create two projects with different setting, then copy & paste.
-- pa