![Jetter JCM-501-E00 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/jetter/jcm-501-e00/jcm-501-e00_user-manual_646632022.webp)
Jetter AG
Programming | 7
JCM-501-E00 User Manual
22 / 59
Features
Description
SAEJ1939
SetSPNConversion()
Calling up the function
SAEJ1939SetSPNConver-
sion()
defines the arrangement of bytes in the
message which is requested by the
SAE-
J1939GetDM1()
or
SAEJ1939GetDM2()
func-
tion.
SAEJ1939
GetSPNConversion()
Calling up the function
SAEJ1939GetSPNConver-
sion()
determines the currently set conversion
method.
INFO
For more information on the subject STX API Functions refer to the application-
oriented manual "SAE J1939 STX API" available for download on our
7.4 Serial interface RS-232
The JCM-501-E00 has a user-programmable RS-232 interface.
7.4.1 Operating principle
The OS provides a receive buffer and a transmit buffer for the user-program-
mable serial interface. These buffers can be used to adjust the transfer rate be-
tween application program and serial interface.
Block diagram
The following illustration shows the block diagram of the user-programmable se-
rial interface:
Driver
Driver
Receiver
Transmitter
Receive-FIFO
Transmit-FIFO
T
ra
n
s
m
it
R
e
g
is
te
r
S
ta
tu
s
a
n
d
C
o
n
tr
o
l
R
e
g
is
te
r
R
e
c
e
iv
e
R
e
g
is
te
r
1
2
3
4
5
6
7
8
9
Fig. 10:
Block Diagram - Serial Interface
Elements of the in-
terface
The user-programmable serial interface consists of the following elements:
Number
Section
Features
1
Interface driver
Converts the signals of the interface into
internal signal levels
2
Addressee
Performs serial/parallel conversion
3
Receive buffer
Buffer for received characters