STM32 HAL or LL functions without the timebase
Hi All,
I am using the STM32H723 device and have used the HAL functions and they work but I find the SysTick or any timebase interrupts my code. Timing is critical; if the data from the serial port is interrupted by the SysTick interrupt, I lose data. I want to completely disable the use of SysTick and anything that relies on its use but like the use of the HAL functions. Is there a way to use the HAL without the timebase? I've tried IRQ Priority changes and just about everything I can think of to get the SysTick timer to stop interrupting my code but it persists. I have these two functions I use for the I2C:
HAL_I2C_Mem_Read
HAL_I2C_Mem_Write
I also need to figure out SPI comms too but that's a different animal for a different day. Are there LL functions that are similar to those above? Can I use the HAL_I2C_Mem_Read_IT and HAL_I2C_Mem_Write_IT as a possible solution? I changed everything over to LL drivers but do not see much in the way of solutions like the HAL drivers and I need some help. I assume LL is register-level stuff and I have to spin my own is that correct? Is there a driver guide for these interfaces so I can take a look at proven examples of bare metal register hacking to create non-timebase functions? Is there an online tool that can create functions for STM32 devices that are bare metal? Does anybody have functions they have created and are willing to share?
Thanks,
Eric Norton
