Post Created date
[SAMD21J18A][FreeRTOS][TICKLESS mode] TC (Timer/Counter) sync issue
After some trials, in the end was the slow 32kHz clock which made the TC module to synchronize with the faster CPU. With faster clock this does not happen. Although, I am not sure...
Tuesday, 25 August 2020 - 11:50
ISR with function arguments (in a modular driver approach)
clawson wrote: Also as soon as ISRs start calling through function pointers the register preservation goes through the roof I read that as the register preservation gets lost (out...
Friday, 14 February 2020 - 15:37
ISR with function arguments (in a modular driver approach)
I am sorry, but what is the purpose of an empty ISR? If you mean an ISR that has no function calls, is in the last example.   But following to the letter what you suggest,...
Sunday, 9 February 2020 - 17:15
ISR with function arguments (in a modular driver approach)
clawson wrote:We see HAL threads here regularly but exactly how likely is it that you are going to reuse very hardware-specific AVR code on some other processor? I also got what...
Sunday, 9 February 2020 - 12:15
ISR with function arguments (in a modular driver approach)
Regarding the fact register preservation gets lost, I am not sure I understood what you meant. To try understand, I made the experiment with the task tick increment, which is a...
Saturday, 8 February 2020 - 21:53
ISR with function arguments (in a modular driver approach)
And I definitely need to understand better the assembly. It is not what happens only in the ISR which worries me (because this might be optimized on ARMs), but the overhead of...
Saturday, 8 February 2020 - 19:06
ISR with function arguments (in a modular driver approach)
The code here was to separate the HAL (which contains very HW specific code) from a generic timer or serial application that works by using interrupts. This application is...
Saturday, 8 February 2020 - 13:16
ISR with function arguments (in a modular driver approach)
Yes, I thought about the overhead! That is exactly why I considered it for a learning experience! :) On one side we have nice architecture, but one must think if this creates an...
Saturday, 8 February 2020 - 11:36
ISR with function arguments (in a modular driver approach)
Just for reference, I had implemented exactly what I needed. I thought to post it here, so it might get the right criticism or might be useful. It is similar to what we discussed...
Friday, 7 February 2020 - 18:19
ISR with function arguments (in a modular driver approach)
It does a lot of sense, it's n = BLUE. :D
Thursday, 10 October 2019 - 17:28
ATSAM4E16E interrupt vectors in startup_sam4e.c file
Can we see how you declared the handler? You should end up with something ISR(T0_vector) or the like and include the avr/interrupt.h headers.
Thursday, 10 October 2019 - 07:55
Programming fail
Be sure you don't have a capacitor on the Reset pin, to use the debugWire.
Thursday, 10 October 2019 - 07:51

Pages