Code: Select all
RCC_AHB3ENR_QSPIEN | RCC_AHB3RSTR_QSPIRSTNote that you are mixing constants of 2 different registers here.
Giovanni
Moderator: RoccoMarco
Code: Select all
RCC_AHB3ENR_QSPIEN | RCC_AHB3RSTR_QSPIRSTGiovanni wrote:I took it from the F7 code.Code: Select all
RCC_AHB3ENR_QSPIEN | RCC_AHB3RSTR_QSPIRST
Note that you are mixing constants of 2 different registers here.
Giovanni
Code: Select all
rccResetAHB4(~(RCC_APB4RSTR_SYSCFGRST | STM32_GPIO_EN_MASK));
andypiper wrote:Code: Select all
rccResetAHB4(~(RCC_APB4RSTR_SYSCFGRST | STM32_GPIO_EN_MASK));
?
Giovanni wrote:Hi,
It is different, a new mini-driver is required.
Giovanni
Giovanni wrote:Sorry, I don't understand your question.
Giovanni
steved wrote:Your driver talks to the WSPI peripheral, which is a fixed entity (OK, maybe there are two, as with serial ports, but same principle).
The board setup file then links the required pins with the WSPI peripheral.