AT91 CAN baudrate

Hi all,

i need to detect two values of baudrate for communication with CAN controller.

I read about it into the AT91SAM7X256 datasheet but i don’t understand

so well:

  • i set the BR

  • read the status register CAN_SR or CAN_MSRx

  • if yes try a new BR

  • go on

But

a. i can read immediately the SR regitry or

b. i have to wait (how much?)

c. i need to wait an interrupt or whatever ?

Thanks !!