Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd.
17
4.1.2
Set CAN Channel Timing – advanced (s)
Summary
Configure CAN interface with a custom channel transmission rate.
NOTE:
The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Saabbcc<CR>
Parameters
aa = contents of PIC 18F2680 BRGCON1 register (in hexadecimal)
bb = contents of PIC 18F2680 BRGCON2 register (in hexadecimal)
cc = contents of PIC 18F2680 BRGCON3 register (in hexadecimal)
Remarks
The USB2-F-7x01 utilizes a 24MHz clock for the PIC 18F2680. Use this value when referring to
the PIC datasheet if a custom transmission rate different from those provided with the “S”
command above is required.
Example:
s01BE07<CR>
Set CAN transmission rate to 250Kbps.
NOTE: With this command, multiple combinations of BRGCON1, BRGCON2 and BRGCON3 can
yield the same bit rate.
Return Codes
<CR> = OK
<BELL> = ERROR