2024-05-28 07:07 PM - edited 2024-05-28 11:52 PM
II am using the SPI function in STM32F373R8T6. When I use the HAL_SPI_TransmitReceive function to send and receive data, I want the to read the data from the slave immediately after sending. However, when using this function, the NSS pin pulls up for a period and then pull down to read. How should I configure it? The timing I desire is as shown in the reference diagram below. thank You.
for reference, I pulled up nss pin because if no pull, nss pin remains low level.
ps: I tried to set