quinty wrote: > Hello, > > I am testing RT-CAN with MPC5200 and linux 2.6.23.14 <http://2.6.23.14> > , xenomai 2.4.2. <http://2.4.2.> > Well I have some doubts: > 1.- In kernel configuration, there is a parameter to change lenght of RX > CAN buffer, 1024 by default. > What units???, 1024 bytes, 1024 telegrams??'
It is in bytes and must be 2^n. > 2.- RT-CAN is a block or non-block??? in other words, when I use > rtcanrecv examples, code wait in this line of code > > ret = rt_dev_recvfrom > <http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__userapi.html#g0cc144457c649f197d485581686273dd>(s, > (void *)&frame, sizeof(can_frame_t > <http://www.xenomai.org/documentation/branches/v2.4.x/html/api/structcan__frame.html>), > 0,(struct sockaddr *)&addr, &addrlen);, until driver recieve message. Yes, unless you have opened the socket with the non-blocking flag. > > 3.- Have RT-CAN TX buffer??? No, Out-going messages are not queued. What is your problem? Wolfgang. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help