2022-07-24 05:24 AM
i want support for how to connect both board with each other. i want supporting document for it.
i want examples to learn about them.
2022-07-24 06:03 AM
Interface how? UART, SPI, I2C?
Not exactly a paring that are going to have a complement of examples.
The CubeF4 trees should have a large selection of examples for the board, using the different interfaces/peripherals.
There are manuals for the Nucleo board, along with schematics. And data sheets and manuals for the STM32F401 parts that will help with the pin/peripheral associativity and underlying operation.
2022-07-24 06:13 AM
i want to know can i connect both board with each other using expansion header ?
I bought both board to learn about them practically.
so i need example reference also.
2022-07-24 08:57 PM
If you want an arduino uno to talk to a nucleo, yes you problably can. Use jumper wires to do so. Of course, you won't have room to stack a shield then. Most new stm32 can swap uart rx tx pin so you can direct connect all digital and analog signals. Make sure that rx tx are 5v tolerant pins on stm32 side (check datasheet of selected mcu)
2022-07-25 02:49 AM
@Mpraj.19 "i want to know can i connect both board with each other using expansion header ?"
This still leaves the question of what pins you want to use - UART? SPI? I2C? Other?
"I bought both board to learn about them practically."
I would strongly suggest that's not a great starting point - you are giving yourself too many unknows all at once!
This comes up frequently!
It would be far better, I suggest, to:
Probably the easiest starting point would be to use the Arduino and its UART to communicate with a terminal on your PC.
Here's a tutorial on serial (UART) comms: https://learn.sparkfun.com/tutorials/serial-communication
Next, use the Arduino to interface with some common, standard, well-known SPI and I2C peripherals - there are loads available; eg,
https://learn.sparkfun.com/tutorials/i2c
https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi
Some microcontroller Getting Started tips: https://www.avrfreaks.net/comment/1138166#comment-1138166
2022-07-25 02:54 AM
@S.Ma "If you want an arduino uno to talk to a nucleo, yes you problably can"
It is certainly possible!
"Use jumper wires to do so. Of course, you won't have room to stack a shield then"
Lots of shields have pass-through connectors - so don't necessarily preclude also adding jumper to external hardware.
Of course, you do have to pay attention that the shield doesn't interfere with the pins you want to use...
"5v tolerant pins on stm32 side"
Indeed.
Or use a 3V Arduino ...
2022-07-25 04:03 AM
The concept here is that you plug in compatible shields, not an Arduino board itself. They are equivalent Hosts with an MCU.