EmbeddedRelated.com
Forums

need help in uart programming in Ceva base board (ceva xs1200)

Started by swami December 27, 2007
hi,
i am doing uart programing in ceva base board (ceva xs1200).dsp
processor.
just sending text from hyperterminal to ceva and view the text back in
hyperterminal.
i did loopback test in pc side.its ok.
i can also get the character  which i write in i/o memory(tx/rx
buffer) in ceva side too.memory mapped I/O model.but the status reg is
not getting updated(tx-full/empty,rx-full/empty).so i did
unconditionally,meaning just iowrite and ioread,i can be able to view
the char in hyperterminal now (of course continuously).

i thought the problem could be with baud rate.since as per ceva docs
it says"baud div.reg = number of 25Mhz clockticks to match the uart
freq.reset val 0xd7 is for 115200bps"

i didnt change the baud reg,since i stick to 25Mhz and 115200bps.in
the hyperterminal too i am setting same baud with other default
setting(stop bit,parity,etc.,)

what could be the problem?why the status reg is not getting updated?

Any help would be greatly appreciated.

Regards,
Swami