Pages: [1]   Go Down
Author Topic: USART with PDC (DMA).  (Read 113 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Faraday Member
Karma: 31
Posts: 2611
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a project, where  I need an array of bytes send repeatedly over BT. For now I'm using Serial_1 , and it takes ~10 milliseconds to transmit 500 bytes at 460.800 ksps. 
 So, idea to switch serial in  PDC mode  looks only an option if I need send more in less time.
I couldn't find a library, probably it doesn't exist yet,  so I tried to do some experiments, and all works well except one things, USART0_Hanler().  Compiler reports dublicate in variant.cpp
Here is a question:
void USART0_Handler(void)
I commented out this function, is there a better, clean way to "loose" one of the serial in arduino environment?

Pages: [1]   Go Up
Jump to: