Posted on June 10, 2016 at 13:29
I'm trying to configure LIS3DH chip via SPI interface.
Here is my code:
void init(void)
{
SPI_InitTypeDef SPI_InitStructure;
// SPI configuration
SPI_InitStructure.SPI_Direction = SPI_Direction_2...
Posted on November 03, 2015 at 10:20 In my device based on stm32f107 connectivity line model i use http://www.st.com/web/en/catalog/tools/PF257882# http://www.st.com/web/en/catalog/tools/PF257882#. When i connect device to the PC with Windows 7,...
Posted on October 07, 2015 at 11:42
In my project with stm32f107 i use 25 MHz quartz crystal multiplying it to 48 MHz.
In IAR project preprocessor options i defined:
STM32F107
STM32F10X_CL In stm32f10x.h i defined:
#define HS...
Posted on September 30, 2015 at 14:34 In my project based on stm32F107 i use four pins (PINE 12-15) to catch rising level on them. My problem: two pins always produce external interrupts but there are no rising level on them and other two pins n...
Posted on October 01, 2015 at 09:16 So it was mistake in code syntax. That is wrong: GPIO_EXTILineConfig(GPIO_PortSourceGPIOE, GPIO_Pin_12); That is correct: GPIO_EXTILineConfig(GPIO_PortSourceGPIOE, GPIO_PinSource12); Sorry for ...