I'm a beginner on SAMD51 MCU and Atmel Start. I have been trying to write my own DALI master implementation for a while. For this project, I need a 1us timer interrupt. I have been fighting with the Atmel Start for a week but I have started to get mad configuring it.
I able to get 1ms timer task using the HAL Timer drivers but when I try to change the "Length of one timer tick in uS" to 1uS, I get 51uS in the task. I think this is the lowest level I can achieve now because even if I try to increase it a little bit, I still get 51uS. I am using the 120MHz clock as the source of the timer (TC1).
I attached my atmel_start_config file. Can anyone please guide me on this? I don't know why it is so hard to do configure a simple timer interrupt. HAL drivers should make developers life easier but it makes things more complicated with these tasks.