AN1105 STMicroelectronics, AN1105 Datasheet - Page 18

no-image

AN1105

Manufacturer Part Number
AN1105
Description
ST7 PCAN PERIPHERAL DRIVER
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN1105W-12-RR
Quantity:
13 804
Part Number:
AN1105W-22-RR
Manufacturer:
SANYO
Quantity:
8 570
Part Number:
AN1105W-TR
Manufacturer:
PANASONIC
Quantity:
27 995
Part Number:
AN1105W-TR
Manufacturer:
STANLEY
Quantity:
20 000
ST7 pCAN PERIPHERAL DRIVER
Figure 11. Transmission IT Procedure
– In the event of a reception IT, after having found which buffer is involved, the driver performs
Figure 12. Reception IT Procedure
18/100
an optional software filtering, then notifies the application. If the cell received a remote frame,
the CAN_Remote_Reception_Notification function is called. Otherwise, if the cell received
data, the CAN_Request_Buffer function is called to request a buffer from your application.
After the buffer is filled, the driver calls the CAN_Data_Reception_Notification function to no-
tify you that the data is ready. If the DEBUG option is set, the CAN_Reception_Status func-
tion is called just before leaving the IT routine, which passes the status of the reception
processing procedure (Error, Success...) as a parameter. This is used to detect the causes
of any problems. See
routines.
What
you
see
Driver
Processing
What
you
see
Driver
Processing
1
2
Reception
1
Successful
Transmission
IT
“Can_custom.h File” on page 24
Successful
IT
Notification:
Data or Remote
2
Clears flags
3
3
Notification
ST7 Hardware
ST7 Hardware
Save data in software buffer
(case data) + clears flags
Application
Application
ST Driver
ST Driver
CAN Bus
CAN Bus
4
Notification
(case data)
4
with next data
5
Fills buffer
next
Buffer free for
for more information about notification
Error notification, only
if DEBUG defined
Next
Transmission attempt
reception
5
Error notification
Only if DEBUG defined

Related parts for AN1105