Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

uart interrupt tx rx in Dos32 bit open watcom (Developers)

posted by maui, 13.11.2013, 15:49

> and at
> > the moment, merging it with my code, the uart is sending up to 16 bytes
> in
> > interrupt, but after the 16th, no more data is transmitted, probably it
> is
> > depending on enabling fifo on the FIFO Control Register.
> > I'll try to use the example, I'll post as soon as I have any news.
>
> post your code, and we can try to help.
> if keep it to yourself, we can't.
>
> see also
> http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=snls378b

Hi,

I'm waiting to post the code, cos it is not so clean to read, with the cut and paste it is not so easy to understand, I'll do soon a clear of the useless part, and then post it.

I enabled the fifo, so I can read up to 16 before the uart goes in failure, and up to store 16byte to be send.

At the moment, I managed to send more then 16 byte, when I get the interrupt request, I send max 16 bytes, if there are more bytes, I send the eoi and wait for the next call, invoked from my last tx of the 16th byte.

Thank for the support, I'll reply soon with the code.

maui.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum