AnsweredAssumed Answered

Interrupt driven UART

Question asked by OLEG KARPENKO on May 29, 2009
Latest reply on Nov 23, 2009 by Petr MacHala

I have problem with interrupt driven UART implementation. For some reason when I replace ttya to ittya all examples stops working. I added delay in Hello World example to keep task running (as suggested in comments), still no lack.

Documentation doesn't say whole a lot about interrupt driver UARTs. I have a feeling that UART interrupts must be enabled somehow to make it working, but can't find any examples for it. 

By the way, can any one give me list of acceptable modes for serial I/O initialization?

For example: FILE_PTR serial_fd =  fopen("ttya:",0); - have mode argument as 0. Is it only acceptable argument?

 

Outcomes