2025-01-11 04:13 PM - edited 2025-01-12 12:35 PM
I am first time using NUCLEO-H755ZI-Q board for our project.
Here I am using it as a SPI slave and RaspberryPi4 as a Master SPI Device to transmit/receive data over SPI from MCU shown in attached image1. I have set RaspberryPi4Master SPI CLOCK as 24Mz.
Note: I am not using CS pin
-> I just want to setup minimum configuration using CubeMX to setup Nucleo board as SPI Slave device for POC and to make sure able to flash firmware into Nucleo-board using CubeProgrammer.
Image1: Master and Slave Setup
Image2: Setting up SPI1 Config
-> Setting up SPI1 Config on M7 core using CubeMX as Full-Duplex Slave, 8bit, NSS signal Software,
CRC Disabled, SPI1 global interrupt enabled
-> what is the usage of other Advance Parameters mentioned into SPI1 default Config do I need to setup those in my case ?
->Also default USART3 is enabled into both Core M7 and M4 ? what is the purpose of this peripheral into this board ?
Image3: Setting up SPI Slave Clock to 24Mz
-> I was able to set SPI1(MCU SPI SLAVE) Clock Freq to 24Mz which is same as RPI Master SPI clock 24Hz
-> Do I need to exact match SPI Slave clock same as SPI Master clock ?
Image4: Default System Core config:
-> What is the use of individual system core peripheral here ?
-> Why its not allowing to disable this peripherals for other core considering want to use only M7 so can I disable M4?
Image5: Default Analog Config
-> What is use of VREFBUF ?
-> Can I disable VREFBUF as I am not using any ADC in my project ? Its shows Peripheral could not be removed from context as its Forced for this Peripheral
Image6: Default Trace and Debug, Power and Thermal, Utilities , BSP Config
-> What is use of these default settings ?
-> Which setting I can disabled ? When trying to disable for all of these it shows:
" Peripheral could not be removed from context as its Forced for this Peripheral "
Image7: Middleware and Software Packs
-> Can I disabled all default packages from this section as I am not using any of these packages just testing SPI Master and Slave communication ?
It shows: " Peripheral could not be removed from context as its Forced for this Peripheral "