2014-05-03 06:14 PM
2014-05-05 05:44 AM
Hello, anyone help me please!!!
2014-05-05 06:47 AM
So the code worked on one part and not the other? Perhaps the issue isn't the software?
2014-05-05 06:11 PM
Hi Clive, The hardware is my design. Everything seem to be OK (LCD, LEDs and Button). Can you please make a short test on your kit?
2014-05-05 06:32 PM
I'm not actively working on F1 designs right now, why don't you test the USART functionality without DMA? Try something like a simple echo back, or looping IRQ
2014-05-05 11:56 PM
thanks for your suggestion but I did those things before and now I want to try with DMA.
2014-05-06 05:26 AM
Ok, and those worked on both the original board, and your new board?
I'm not familiar with your design, but if the software worked on one chip with a different pin configuration, and doesn't work on another one, then I would check the HARDWARE thoroughly.2014-05-07 09:52 AM
Ok. Today I tried different codes on my design, just to make sure that is not a UART hardware problem. Everything is OK except the code above.
Can you please re-check is there anything wrong?By the way, I do not really understand why(uint32_t)SERIAL_UART + 0x04
not 0x00?2014-05-07 10:16 AM
Ok. Today I tried different codes on my design, just to make sure that is not a UART hardware problem. Everything is OK except the code above. Can you please re-check is there anything wrong? By the way, I do not really understand why
(uint32_t)SERIAL_UART + 0x04
not 0x00?I skimmed through it, didn't see anything awful in there, perhaps not how I'd do it, but as I said I'm not currently doing development work with F1 parts, and I know very little about your hardware. This isn't something I can easily standup and run. Perhaps you should speak to the people who wrote it? The DR (Data Register) is not at the base of the peripheral, it's offset. You could always use &USART1->DR if you wanted some clarity. Review the Reference Manual for your part.
2014-05-07 10:20 AM
One of my F1 DMA TX examples for USART1, about half way down.