uartStartReceive behavior

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

uartStartReceive behavior

Post by alex31 »

Hello,

when using uartStartReceive with a usart configured with both
rxend_cb and rxchar_cb callback, when receive buffer is full,
rxend_cb is called, but the buffer is not filled with anything.

if rxchar_cb is set to NULL, everything works : when rxend_cb
is called, the receive buffer contains the received data.

Is it normal behavior that if there is a rxchar_cb, the received buffer is not filled ?

using 2.5.1 dev version.

Alexandre
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: uartStartReceive behavior

Post by Giovanni »

Hi,

I will have to test it, could you open a ticket? use the same description.

Giovanni
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: uartStartReceive behavior

Post by alex31 »

Ok, thanks.

Done it on the bug tracker.

Alexandre
Post Reply