title: How can I use hardware NSS (SPI) on STM32F4?
body: <p>I tried to use the hardware <a href="https://www.st.com/resource/en/application_note/dm00725181-enhanced-methods-to-handle-spi-communication-on-stm32-devices-stmicroelectronics.pdf" rel="nofollow noreferrer">NSS</a> signal with the <a href="https://en.wikipedia.org/wiki/HAL_%28software%29" rel="nofollow noreferrer">HAL</a> library, but I can't find any function to make the NSS pin have a low or high level. I also tried to find the answer in the HAL documentation, but there isn't any information there either. All examples on the Internet contain only software NSS.</p>
  <p>How is one supposed to use hardware NSS?</p>