interface stm32f401 NUCLEO-64 board with arduino uno r3 model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-24 5: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.
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-24 6: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-24 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-24 8: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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 2: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:
- take just one of those boards, and learn to use its interfaces.
- then take the other, and learn to use its interfaces.
- finally, when you are competent with both boards, you will have the necessary skills & experience to connect them together.
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
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 2: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 ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 4:03 AM
The concept here is that you plug in compatible shields, not an Arduino board itself. They are equivalent Hosts with an MCU​.
Up vote any posts that you find helpful, it shows what's working..
