raiden00pl opened a new pull request, #4178:
URL: https://github.com/apache/nuttx-apps/pull/4178

   ## Summary
   
   Two CAN test tools:
   
   - `canutils/canperf`: sends, receives or echoes numbered CAN frames through 
a CAN character device or a SocketCAN interface, and reports frame rate, bit 
rate, lost and out-of-order frames and error frames. `-B` sets the bit rate 
first (`CANIOC_SET_BITTIMING` or `SIOCSCANBITRATE`).
   - `canutils/isotpperf`: sends or receives ISO-TP messages up to 4095 bytes 
through SocketCAN, checks their sequence and contents, and reports message and 
data rate, lost and corrupted messages. The receiver can set the flow control 
block size and STmin.
   
   
   ## Impact
   
   New tools, off by default. No change to existing code.
   
   ## Testing
   
   Hardware, 250 kbit/s:
   
   - canperf on nucleo-c092rc, nucleo-c562re, nucleo-u3c5zi-q, nucleo-f302r8, 
nucleo-f446re, nucleo-f722ze and stm32h735g-dk, chardev and SocketCAN, standard 
and extended IDs.
   - isotpperf between stm32h735g-dk (FDCAN) and nucleo-f722ze (bxCAN), 7 to 
4095 bytes, both directions:
   
   ```
   isotpperf: mode=rx msgs=20 bytes=81900 us=5100000 Bps=16058 lost=0 ooo=0 
bad=0
   isotpperf: mode=tx msgs=20 bytes=81900 us=5100000 Bps=16058 lost=0 ooo=0 
bad=0
   ```
   
   - canperf `-B`, stm32h735g-dk SocketCAN sender, nucleo-f722ze chardev 
receiver, 500000, 125000 and 250000:
   
   ```
   canperf: bitrate=125000
   canperf: mode=rx frames=1000 bytes=8000 us=950000 fps=1052 bps=67368 lost=0 
ooo=0 errframes=0 txretry=0
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to