Post Created date
What framework do people use, ASF4 or ASF3?
I've been using ASF4 myself for a couple weeks now and the documentation is indeed rather sparse.    
Thursday, 16 July 2020 - 22:22
Changing USART baudrate on the fly
The usart async function is a standard function from the ASF4 API which can be found here  link   But for now the problem seems to be solved so thanks for the help...
Tuesday, 14 July 2020 - 22:26
Changing USART baudrate on the fly
So i've done some more testing.   Apparently i need to calculate the baudrate myself and not just pass a baudrate value like the API says.   int main() { uint32_t...
Tuesday, 14 July 2020 - 21:07
Changing USART baudrate on the fly
I'm not sure what you mean. The only thing im doing is disabling the usart peripheral usart_async_disable(&USART_0);     The port pins are initialized by atmel in...
Tuesday, 14 July 2020 - 20:26
What framework do people use, ASF4 or ASF3?
So that means most people around here use the bare metal programming way?    Much like the 8 bit avr controllers?   I haven't looked into that too much as i thought...
Friday, 26 June 2020 - 14:27
Alternatives to timer interupt
Got it to work after some tweaking.  The error was in the bit shifting which caused an overflow.    It's fixed now and samples 44.1k times   - Chris
Monday, 17 June 2019 - 15:03
Alternatives to timer interupt
Hello,   Im not sure what you mean by this.   The input is a 1v sine wave. And the formula is the same as the code posted a few replies above.   EDIT: The interupt...
Friday, 14 June 2019 - 17:39
Alternatives to timer interupt
Having tested it, it doesnt work sadly The interupt routine works but the filter doesnt.. It seems to oscilate even without an input signal which seems odd to me.
Friday, 14 June 2019 - 13:18
Alternatives to timer interupt
Allright i will stick to the code i posted earlier then and test it somewhere tommorow, thank you.       -Chris
Tuesday, 11 June 2019 - 18:29
Alternatives to timer interupt
Thank you for the reply this is very informative.   My application is just to test a few things and to learn stuff.   So the specs i've made for my filter are 1% THD in...
Tuesday, 11 June 2019 - 16:26
Alternatives to timer interupt
Yes i know its still duplicated thats why i commented that it still needs to be changed. It was just to make the math clear for myself.   And i could probably remove the...
Tuesday, 11 June 2019 - 15:39
Alternatives to timer interupt
This is what i've made of it now. I've changed the interupt to your suggestion and do the dac first and i've added a port so that i can check with my oscilloscope for...
Tuesday, 11 June 2019 - 13:25

Pages