Post Go back to editing

BF506F UART example - error handling doesn't work

Hallo,

I'm working on ADSP-BF506F ver 0.0 EZ-Kit and UART echo example (VisualDSP++ 5.0 Update 10). I want to test the driver robustness and trying to catch any line failures. Using command pair  {ADI_UART_CMD_SET_LINE_STATUS_EVENTS, (void *)TRUE} and transmitting chars from the PC to the board with faulty baudrate will provide unexpected neverending loop. When I enable deferred callbacks, line status isn't handled anymore. The functionality of handling line status of the driver is completely different in comparison with ADSP-BF533 - where is line status handling safe.

Thanks a lot, Zdenek

Parents
  • Hi Craig,

    I send you whole project in the attachment. If I change baudrate of the

    PC Hyperterminal to 19200bd and send for example char 'k', framing error aren't

    handled and program never come back from ISR. When I disable macro

    USE_DEFERRED_CALLBACKS, frame error is indicating, but not only once,

    but forever. The same settings works fine on BF533.

    Thanks you very much, Zdenek

Reply
  • Hi Craig,

    I send you whole project in the attachment. If I change baudrate of the

    PC Hyperterminal to 19200bd and send for example char 'k', framing error aren't

    handled and program never come back from ISR. When I disable macro

    USE_DEFERRED_CALLBACKS, frame error is indicating, but not only once,

    but forever. The same settings works fine on BF533.

    Thanks you very much, Zdenek

Children
No Data