Use MAX31855 Thermocouple ADC with NUCLEO-U5A5ZJQ Board?
Hello everyone, I hope you're all doing well. Recently I have tried to measure temperature using a K-type thermocouple with a breakout board that uses a MAX31855 IC Its sends out 32 bits and my board can read 32 bits SPI. I have wired everything correctly but I am not receiving anything. please provide kind support thank you best regards. Also if anyone knows a way to view/monitor the value using UART with PUTTY terminal please help as I would prefer to use UART to see the values instead of Live Expressions. I am new to STM32 so please excuse me if this question is really silly. Thank You Best Regards.
spi_rec_val staying at 0 not changing value even after SPI_Receive in Live expression.

Here are my device configuration

pin connections :
(Nucleo Board) <-> (MAX31855 Breakout Board)
GPIO_Output_PD14 <-> CS pin
SPI1_MISO (PA6) <-> SO pin
SPI1_SCK (PA1) <-> SCK pin
here is my code
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_14, GPIO_PIN_RESET);
HAL_SPI_Receive(&hspi1,(uint8_t*)spi_rec_val, 4, 100);
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_14, GPIO_PIN_SET);
HAL_Delay(1000);
/* USER CODE END WHILE */
