2014-05-19 05:04 AM
Hello Everyone,
I was just wondering if anyone has seen this, I have seen this only referenced on one website. I have SPI1 on a STM32F415 configured as PA7 ------> SPI1_MOSI PB3 ------> SPI1_SCK PB4 ------> SPI1_MISO Which works fine until i configure PE3, as soon as I do that the SPI1 stops working if I comment the following out it will work again. /*Configure GPIO pins : PE3 */// GPIO_InitStruct.Pin = GPIO_PIN_3;// GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;// GPIO_InitStruct.Pull = GPIO_NOPULL;// GPIO_InitStruct.Speed = GPIO_SPEED_FAST;// HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);I haven't seen no errata about it, am I the only one seeing this?Thanks,George2014-05-19 09:37 AM
> I have an Accelerometer CS line hooked to PE3, the issue is if I am not using the pin for anything
I don't understand, so do you have the accelerometer's CS line hooked to PE3, or not? If so, simply set PE3 to 1 when you set it to output. JW2014-05-19 10:11 AM
2014-05-19 11:14 AM
OK and what happens if you set PE3 to output 1 ?
JW2014-05-20 02:52 AM
Hi all,
I do not know if your problem is similar to mine or not but I think there are similarties:https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32F4%20%28F4%20discovery%20board%29%20interrupt%20Issue&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&T...2014-05-20 06:33 AM
I do not know if your problem is similar to mine or not but I think there are similarities
No, I think that's just some self-interest clouding your perspective.