Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
PRaja.1
Associate
since
2020-10-22
2023-06-14
User statistics
1
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About PRaja.1
Options
Report User
User Activity
Posts
Replies
I am new to MCU programming. I'd like to test SPI loopback using HAL. The project was generated by CubeMX for STM32F411RE. The SPI_call() is called inside the main. I am unable to receive the characters in the terminal.
2020-10-23
void SPI_call() { char msg[] = "smile"; char copy[6]; HAL_SPI_Receive_IT(&hspi1, (uint8_t *)copy, strlen(copy)); HAL_SPI_Transmit(&hspi1, (uint8_t *)msg, strlen(msg), 100); } static void MX_SPI1_Init(void) { /* USER CODE BEGIN SPI1_Init 0 *...
No replies to display.