ADTF Peak CAN FD Device
PEAK CAN FD Device Transmitter
Plugin Information
Plugin Filenameadtf_peak_can_fd_device.adtfplugin
Plugin Descriptionadtf_peak_can_fd_device.plugindescription
Plugin NamePEAK CAN FD Device Plugin
LicenseDigitalwerk
Support Mailsupport@digitalwerk.net
Homepage URLhttps://digitalwerk.store/
Plugin Versions
Plugin Version1.99.99
Plugin File Version1.0
adtf::dw_peak_can_fd_device_plugin1.99.99
adtf3.20.4
adtf::ucom3.1.0
Component Information
NamePEAK CAN FD Device Transmitter
CIDpeak_can_fd_device_transmitter.streaming_sink.dw.cid
DescriptionUse this streaming sink to transmit CAN FD data using a PCAN-Basic library compatible device.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
bitrate_fd1tUInt8Sets the bitrates for PEAK CAN FD Device initialization. Use the "custom_bitrate_fd" property for setting another values.Value List:
500K_1M = 0
500K_2M = 1
500K_5M = 2
custom_bitrate_fdcStringLeave empty if "bitrate_fd" property should be used. Otherwise set the bitrates here which you get from the PEAK bitrate calculation tool. The string must look similar to this one: f_clock=80000000,nom_brp=2,nom_tseg1=63,nom_tseg2=16,nom_sjw=16,data_brp=2,data_tseg1=31,data_tseg2=8,data_sjw=8.
peak_device_id0x0cStringPEAK device id which is set via PEAK-Hardware software. Make sure it is unique. Hex value is supported.
phys_channel1tUInt32If the PEAK device has multiple physical channels set the used channel here starting with 1. If the device has only one physical channel you can leave this property untouched.
share_phys_channelfalsetBoolSet this to true, if you want to receive and send CAN FD data over the same physical channel. Then only the receiver filter will initialize the physical channel on the device and the transmitter will use this initialized channel too. If set to false the transmitter will initializes the physical channel on its own. Use this only if there is a receiver and a transmitter in the same session which shall use the same physical channel. Make sure that the "listen_only" property of the receiver is not set.
Input Pins
NameStream TypeDescription
input_canfd adtf/devicetb/canfd The CAN FD samples to be transmitted to the device.
Runner
NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
process_input_canfd91input_canfd0000Default runner port for the input pin 'input_canfd'
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Input Pin Stream Types
Pin Nameinput_canfd
Meta Type Nameadtf/devicetb/canfd
Stream Type Properties
NameValueTypeDescriptionSubproperties
channel1cString
databasecString
md_data_serializedfalsetBool
md_definitions
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><adtf:ddl xmlns:adtf="adtf"><enums><enum name="eMessageTag" type="tUInt8"><element name="MT_Data" value="0" /><element name="MT_Status" value="1" /></enum><enum name="eDataFlags" type="tUInt16"><element name="DF_ERROR_FRAME" value="1" /><element name="DF_NONE" value="0" /><element name="DF_REMOTE_FRAME" value="2" /><element name="DF_TX_COMPLETED" value="4" /><element name="DF_FLEXIBLE_DATARATE" value="8" /></enum></enums><structs><struct name="tCANFDData" alignment="1" version="1"><element type="eMessageTag" name="ui8Tag" bytepos="0" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Channel" bytepos="1" arraysize="1" byteorder="LE" alignment="1"/><element type="tInt64" name="tmTimeStamp" bytepos="2" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt32" name="ui32Id" bytepos="10" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Length" bytepos="14" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Reserved" bytepos="15" arraysize="1" byteorder="LE" alignment="1"/><element type="eDataFlags" name="ui16Flags" bytepos="16" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt16" name="ui16Reserved" bytepos="18" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt32" name="ui32Reserved" bytepos="20" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="aui8Data" bytepos="24" arraysize="64" byteorder="LE" alignment="1"/></struct></structs></adtf:ddl>
cString
md_structtCANFDDatacString
networkcString