Document Reference No.: ES_000008
S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide
Version 1.2
Clearance No.: ES #03
©2009-10 EasySync Ltd.
14
4.1.5
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 18F4680 BRGCON1 register (in hexadecimal)
bb = contents of PIC 18F4680 BRGCON2 register (in hexadecimal)
cc = contents of PIC 18F4680 BRGCON3 register (in hexadecimal)
Remarks
The S1-A-7001 utilizes a 24MHz clock for the PIC 18F4680. 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