This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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?

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.

Parents
  • It will only build the files that are actually included in your Project - so we'd need to see your Project.

    For a simple blinky, you should probably just need:

    compiling stm32f4xx_hal.c...
    compiling stm32f4xx_hal_cortex.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...

    You shouldn't need:

    compiling EventRecorder.c...
    compiling stm32f4xx_hal_adc.c...
    compiling stm32f4xx_hal_adc_ex.c...
    compiling stm32f4xx_hal_dma.c...
    compiling stm32f4xx_hal_dma_ex.c...
    compiling stm32f4xx_hal_pwr.c...
    compiling stm32f4xx_hal_pwr_ex.c...

Reply
  • It will only build the files that are actually included in your Project - so we'd need to see your Project.

    For a simple blinky, you should probably just need:

    compiling stm32f4xx_hal.c...
    compiling stm32f4xx_hal_cortex.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...

    You shouldn't need:

    compiling EventRecorder.c...
    compiling stm32f4xx_hal_adc.c...
    compiling stm32f4xx_hal_adc_ex.c...
    compiling stm32f4xx_hal_dma.c...
    compiling stm32f4xx_hal_dma_ex.c...
    compiling stm32f4xx_hal_pwr.c...
    compiling stm32f4xx_hal_pwr_ex.c...

Children