Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am using NXPs' 16c554D. I have initialized it to read/write at 38400bps. But I am getting parity errors. Can anybody who has written a working piece of code, post it here.
This is my code. Clock freq is 14.7456MHz. Would appreciate if anybody lets me know what is wrong in this code. The Read and write signals are enabled in the read and write routines respectively.
WriteStrobe = 1; // Active Low signal
ReadStrobe = 1;
RstHi = 0; // Reset pin for 16c554 should be low.
PMCS = 0; // enable UART Channel D