Does someone know how to enable the DMA for usart3 on sam9g25; we can find information only for usart0 ,1, 2.
Thanks
Dma for usart3 on sam9g25
Moderator: nferre
- blue_z
- Location: USA
Post
Why is that info not applicable/extensible to USART3?
Regards
Re: Dma for usart3 on sam9g25
In what environment?okcash wrote:Does someone know how to enable the DMA for usart3 on sam9g25;
What is this "information"?okcash wrote:we can find information only for usart0 ,1, 2.
Why is that info not applicable/extensible to USART3?
Regards
Post
the dma-related extra fields inside the usart3 section should suffice
Re: Dma for usart3 on sam9g25
Code: Select all
/* /dev/ttyS4 */
usart3: serial@f8028000 {
status = "okay";
current-speed = <115200>;
compatible = "atmel,at91sam9260-usart";
reg = <0xf8028000 0x200>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx;
atmel,use-dma-tx;
dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>,
<&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts &pinctrl_usart3_cts>;
};
Post
Re: Dma for usart3 on sam9g25
Hi,
I know this is old thread, but i have an issue with dma and usart3.
Do i have to make some more changes in device tree/kernel to make it works?
When i change usart 3's device tree entry like that
my cpu freezes.
No kernel panic, nor any erros.
I'm working on kernel 3.10.
Does anyone had similar issue?
I know this is old thread, but i have an issue with dma and usart3.
Do i have to make some more changes in device tree/kernel to make it works?
When i change usart 3's device tree entry like that
Code: Select all
usart3: serial@f8028000 {
status = "okay";
current-speed = <115200>;
compatible = "atmel,at91sam9260-usart";
reg = <0xf8028000 0x200>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx;
atmel,use-dma-tx;
dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>,
<&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts &pinctrl_usart3_cts>;
};
No kernel panic, nor any erros.
I'm working on kernel 3.10.
Does anyone had similar issue?
Who is online
Users browsing this forum: Google [Bot] and 1 guest