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

Regarding VT REGISTERS

Dear all. We are using LPC2368 controller with internal CAN controller . Can anybody tell me how can we use the VTREGISTERS for the simulation of CAN errors. We are getting the simulation of incoming & outgoing messages in CAN communication window. But not getting the errors even after running corresponding commands
We have configured CAN1 as Transmitter & CAN2 as Receiver

While the code is running in debug mode

I am giving commands in commands window like this.



//  case 1: for reception 
> CAN2ID = 0x54
> CAN2IN = 0x2

//  case 2:Requesting remote frame
> CAN2ID = 0x64
> CAN2IN = 0x4

//  Case 3:simulating Bus-off
> CAN2ID = 0x50
> CAN2IN = 0xFF

The first and second cases are working ie we are getting messages on CAN communication window.
Where as the third case is not woking ie its not producing the Bus-Off condition .

Thanks & Regards
Giridhar

Parents Reply Children
No data