Other Parts Discussed in Thread: MSP430F6734A, MSPWARE
Hi Team,
Can you please check and advise with following request?
"
We are using MSP430F6736A and MSP430F6734A processors in our project, but we are having problems with UART communication.
We are trying to TX using DMA from UART port but it works very unstable. As far as I can see when debugging, DMA sends the first few bytes of the packet and starts waiting. DMA0SZ (DMA0 transfer size) is waiting without zero and DMA interrupt is not called.
While the processor is running in this state, when you pause and step in the debugger, sometimes DMA continues from where it left off, and when DMA0SZ is 0, interrupt is called.
Is it possible to share a sample UART DMA TX code that we can use with these processors?
I am using MSP430 DriverLib 2.91 in the project.
When I try the UART examples in MSPWare, I see that the program cannot pass the __bis_SR_register(LPM0_bits + GIE) line. The device cannot switch to LPM0. We have the same problem here when we continue without switching to LPM0. DMA sends a few bytes and waits. When you pause and continue with the debugger, it sends a few more bytes.
We see the same behavior in the MSP430F6734A processor.
What could be the reason why we cannot switch to LPM0?
Could the DMA problem also be caused by this?
The cards we use feed the processor with 3.3V, and as in the examples, a 32kHz crystal is used from the Xin-Xout pins.
"
Thanks in advance
Best Regards
Furkan Sefiloglu