I have Keil board, MCBSTM32F400. I want to do SPI communication with it, from a device thru ADC, and pass the data to the controller. Pl mention how can I hook the device to the board?
the device could be potentiometer, pressure or temperature transducer, etc.
Babuddin Ahmad said: I want to do SPI communication
Do you understand the basics of how SPI works ?
It's a very long-established and widely-used thing - so plenty of references available; eg,
etc, etc, ...
For getting started with SPI, I recommend one of these:
It's a simple SPI demo board, featuring a number of simple, common SPI slaves
Many thanks for your responses. I have the board as per the picture above. But how can I connect it to the MCBSTM32F400 board or some other board.
I put Blinky project in uVision IDE and compiled it for debug target. Why I am getting the below errors? Only two files are in project, main.c and Blinky.c. Why so many other files are compiled?
compiling EventRecorder.c...compiling stm32f4xx_hal.c...compiling stm32f4xx_hal_adc.c...compiling stm32f4xx_hal_adc_ex.c...compiling stm32f4xx_hal_dma.c...compiling stm32f4xx_hal_cortex.c...compiling stm32f4xx_hal_dma_ex.c...compiling stm32f4xx_hal_pwr.c...compiling stm32f4xx_hal_pwr_ex.c...compiling stm32f4xx_hal_gpio.c...assembling startup_stm32f407xx.s...compiling stm32f4xx_hal_rcc_ex.c...compiling stm32f4xx_hal_rcc.c...compiling system_stm32f4xx.c...linking....\Debug\Blinky.axf: error: L6047U: The size of this image (59988 bytes) exceeds the maximum allowed for this version of the linkerFinished: 0 information, 0 warning, 0 error and 1 fatal error messages.".\Debug\Blinky.axf" - 1 Error(s), 0 Warning(s).Target not created.Build Time Elapsed: 00:00:09
Babuddin Ahmad said:Why I am getting the below errors?
The answer is clearly stated:
Babuddin Ahmad said:The size of this image (59988 bytes) exceeds the maximum allowed for this version of the linker
Presumably, you are using the free "Lite" version - which has a restricted maximum size:
View all questions in Keil forum