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 need to do SPI, I2C communication on mcbstm32f400 board

I need to do SPI and I2C communications on the board. What hardware items I need to buy and where to put them on the board. Which would be a good slave (data to read from).

Parents
  • You're welcome.

    But have you actually done what I said in that post?

    * Have you studied the documentation for both boards - including the schematics ?

    * Have you studied the documentation for the STM32 ?

    * Have you familiarised yourself with how SPI works in general ?

    "Q1: How can I make the above board to work with the STM board?"

    The same way you'd go about interfacing any two things:

    www.8052mcu.com/.../160143

    Which, again, requires that you have done the things mentioned in the first reply.

    "Q2: The ARM Cortex M4 has 3 SPI peripherals"

    The ARM Cortex-M4 is just the CPU core - it does not have any peripherals at all.

    The peripherals are what the chip manufacturer - ST, in this case - adds to make their particular product - the STM32, in this case.

    "Which port/pins the SPI1 has been brought out on the STM board?"

    That will be shown in documentation for the board - including the schematics (aka "circuit diagrams").

    That's why I said:

    "The first thing is to study the documentation for the board - including the schematics (aka 'circuit diagrams')"

Reply
  • You're welcome.

    But have you actually done what I said in that post?

    * Have you studied the documentation for both boards - including the schematics ?

    * Have you studied the documentation for the STM32 ?

    * Have you familiarised yourself with how SPI works in general ?

    "Q1: How can I make the above board to work with the STM board?"

    The same way you'd go about interfacing any two things:

    www.8052mcu.com/.../160143

    Which, again, requires that you have done the things mentioned in the first reply.

    "Q2: The ARM Cortex M4 has 3 SPI peripherals"

    The ARM Cortex-M4 is just the CPU core - it does not have any peripherals at all.

    The peripherals are what the chip manufacturer - ST, in this case - adds to make their particular product - the STM32, in this case.

    "Which port/pins the SPI1 has been brought out on the STM board?"

    That will be shown in documentation for the board - including the schematics (aka "circuit diagrams").

    That's why I said:

    "The first thing is to study the documentation for the board - including the schematics (aka 'circuit diagrams')"

Children