-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
communication with stm32f411re nucleo board #616
Comments
There is no UART4 in the STM32F411 chip so I am am not sure I understand what you want... |
i am sorry it is not uart4, it is uart2. And i am again reframing my sentence as - |
Easiest is to desolder SB13 and SB14, you can then communicate with the controller via PA2/PA3. |
hey @terjeio, i have to download .zip file of the driver. in the drivers list when i opted under my board, i am getting f4xx.zip file which includes all the boards under f4xx. i am using stm32f411re board, so i want to only download the zip file of this board. |
This will not work since the driver relies upon a number of submodules.
Then you have to download all the other required files separately as well...
The Arduino IDE is not supported for this driver, STM32CubeIDE is. Alternatively you may use PlatformIO but I do not provide support for it. |
okay i understood. Thank you for the guidance. After i uploaded i am receiving errors continuously with the drivers, could you please take a look at it once. |
Your grbl folder is empty? If so you have to download the submodules. |
i have imported the project file, and been to all the files. i have seen that for the communication to other controller, there is spi, usb, i2c. in spi.h file, i have spi_write function, can i use this in main.c file? |
main.c should not be modified, add a plugin instead. If you want to use SPI for communication you will have to add your own protocol on top of SPI, better to use an UART port that supports the Grbl communication protocol. I2C has support for limited functionality via this or this plugin, the latter can be used with this protocol parser on the Pi. For more advanced communication via I2C you will have to add your own protocol. Serial over USB is not available for the Nucleo64 boards unless it is via the ST-Link bridge, it works the same way as communication via UART (it actually is UART code running in the MCU). |
hi, i want to communicate between stm32f411re and raspberry pi4 via uart2. i want to flash the bin file onto the Nucleo board. but i am unable to find UART communication. and how can i communicate transmit and receive functions. and how can raspberry pi read and write commands. it would be more helpful if you provide me with the solution.
help me with the communication, thank you.
The text was updated successfully, but these errors were encountered: