Sorry we do not understand what you want to tell us with this information....The error doesn't appear when I do transmitest using n=10, but if I do n=10, I get bus off in dmesg command.
please read the API Headers for the error codes. And also use the result(s) of the API calls to see if all is OK - not cat proc/pcan !
You need to check in your code the Error Codes and must react. As i now wrote x times - check your physical lines / terminations / second active CAN node / exact Bitrate Timing etc.