C167 CAN problem
From: Efim Monyak (ymonyak_at_lipowsky.de)
Date: 04/30/04
- Next message: bit eimer: "Re: Q wrt Bluetooth, USB, RS232 and controllers"
- Previous message: Grant Edwards: "Re: Reading multi channel RC controller data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Apr 2004 16:44:57 +0200
Hello,
I must send a remote frame with an ID and data length. After this
frame is sent a transmitt interrupt is pending. In the ISR this
message box wil be sed to invalid and wait for next message to send.
Set message box to invalid is the first that software doing after
recognising of message box. After this it switch this message box
to transmitt.
I sed the global mask to all 1's in order to prevent receiving of data
frames with differnt IDs by this message box.
As result they are "simultan" data frames from one device and remote
frames from other device on the CAN bus. They are 2 messages on ms.
If any data frame on the bus have the same ID as C167 message box
it works. But if ID of data frames is equal to ID of remote frames
I see interrupts from the message box no more.
After register check I see:
the data length, I sed for remote frame, is replaced by data length
of data frame.
Transmit request is cleared.
Message box is valid.
Message lost is sed.
Transmitt interrupt for message box enabled.
Interrupt pending is clear. How can it be if data frames received?
An other message box on this CAN controler which has ISR also
works well and it show what the CAN Controller interrupts are OK.
The same behavior I see by ST10R167
Does anyone know about it?
Thank you
- Next message: bit eimer: "Re: Q wrt Bluetooth, USB, RS232 and controllers"
- Previous message: Grant Edwards: "Re: Reading multi channel RC controller data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]