This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

In Simulatormode ENDRX Flag is not correctly set

I'm working with uV3 and AT91SAM7S256.
After configuring the PDC and USART0 in this way:

AT91F_PDC_SetRx( (AT91PS_PDC) &(pUSART->US_RPR), RxBuf0, 5);
AT91F_PDC_SetNextRx( (AT91PS_PDC) &(pUSART->US_RPR), RxBuf1, 5);

AT91F_US_EnableIt(pUSART, AT91C_US_ENDRX);

The ENDRX flag ist not set after receiving the complete RxBuf0 Block (5 Bytes), but only together with RXBUFF (After 10 Bytes).

With the Target CPU the programm works correctly.
Is this a Bug in the Simulator?

Thanks for your response
Eugen