JOSUE PAGAN ORTIZ
2014-03-20 14:20:51 UTC
Hi,
I'm using the external expansor to read data from the UART0. Data baud rate
is 375KBytes per second, so I need to use it with DMA (because the final
firmware will use also ADC, SD and Bluetooth).
I've been working with DMA and ADCs in the JustFATLogging example
(Shimmer2r and TinyOS). There is no problem to get data from ADCs. Now,
when I want to get data from UART0 and I want that UART triggers the DMA0.
The problem is UART never triggers the DMA, so I never read data.
I've disabled the Interrupt Enable RX Flag Register (IE1) to avoid
conflicts in accordance with the MSP430F1611 datasheet.
I've tried to get data from UART0 with UART interruptions (not DMA), and it
works.
I've read in Texas Instruments' Forums that there are some devices (some
MSP430) with hardware problems, where DMA never will be triggered by UART.
So, I don't know if it is a Firmware problem or HW problem.
I don't know what more to do. I've attached the *.nc files (DMA size is
for test proposes only)
Thank you so much.
Josué Pagán
I'm using the external expansor to read data from the UART0. Data baud rate
is 375KBytes per second, so I need to use it with DMA (because the final
firmware will use also ADC, SD and Bluetooth).
I've been working with DMA and ADCs in the JustFATLogging example
(Shimmer2r and TinyOS). There is no problem to get data from ADCs. Now,
when I want to get data from UART0 and I want that UART triggers the DMA0.
The problem is UART never triggers the DMA, so I never read data.
I've disabled the Interrupt Enable RX Flag Register (IE1) to avoid
conflicts in accordance with the MSP430F1611 datasheet.
I've tried to get data from UART0 with UART interruptions (not DMA), and it
works.
I've read in Texas Instruments' Forums that there are some devices (some
MSP430) with hardware problems, where DMA never will be triggered by UART.
So, I don't know if it is a Firmware problem or HW problem.
I don't know what more to do. I've attached the *.nc files (DMA size is
for test proposes only)
Thank you so much.
Josué Pagán