So I am using an nRF24 radio module and I probably need a 10us delay after enabling chip select. But the thing is I can't use HAL_Delay()
since the least it provides is 1ms delay (SCK/1000
is hardcoded in the HAL function).
I was suggested to not use SysTick timer for too small of a delay anyways and rather go for hardware timers. I read up on Timers and to me, it looks more like they're mainly used for tasks where you need to do a function at a specific interval i.e blinking LED every 4 seconds or something by changing the prescaler and counter period and I did try it out as well -- and it's nonblocking as opposed to a delay. So every time a counter hits the specific counter period, it generates an event/IRQ
Am I interpreting it incorrectly? Is there a way around it?
I'm using STM32F401RE.
us
? \$\endgroup\$