[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] UART problem
If I had same problem, then I'd check following:
1. platgen warnings related to your uartlite instances
(esp for clock period)
2. whether 'clock connection to uartlite is proper'
3. and if, things not nice with other uarts too, then
Check on-board/fpga-dcm clocks
Hope this helps
-aditya
________________________________
From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Rod Campbell
Sent: Monday, September 07, 2009 11:04 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] UART problem
Hi,
I believe the uartlite has a hardwired baudrate. If you want to have the flexibility of changing parms dynamically (like baudrate), I think you need to use a different Xilinx uart module. I recall that they do have others available, but they use more FPGA resources, naturally.
I have no idea why you are getting a non-standard baudrate of 5800 (maybe you mean 4800 - still no idea)?
Rod Campbell
Sergi Gómez wrote:
Hello,
I'm using a Xilinx Spartan 3 DSP1800A development board with a microblaze and petalinux distribution. I set up 3 UartLites (from Xilinx IP core) to control 2 external HW peripherals and 1 console for monitor.
I generate the petalinux 0.4-rc3 and booted the board with it.
But I have problems with uarts. I configured all 3 uarts with 9600bauds, 8-N-1. First problem is that even all 3 uarts are configured with same parameters (but different output pins), 2 of them are working perfectly and the 3rd is working at 5800bauds instead 9600. It's not problem defining the pins since I change them and always is failing the same Uart, not the same pins.
Second problem is that I can't change the baudrate from my SW. I configure the port to 115200 dinamically, and it works always at 9600 instead. Any configuration I set up is not applied and port works permanently to 9600, 8-N-1.
I would appreciate any help
Thank you
Sergi Gómez
ENGEL AXIL S.L.
Telf: +34 93 719 18 11
e-mail : sgomez@xxxxxxxx <mailto:sgomez@xxxxxxxx>
Skype: engelaxil-sergigomez
Web: www.engel.es <http://www.engel.es>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/