[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
Skype: engelaxil-sergigomez