Message-ID: <2f7417810806160933v43b88a2ek6232473fc7efd100@domain.hid> Date: Mon, 16 Jun 2008 18:33:39 +0200 From: quinty MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_741_11265243.1213634019294" Subject: [Xenomai-help] Hello, doubts with RT-CAN List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org ------=_Part_741_11265243.1213634019294 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I am testing RT-CAN with MPC5200 and linux 2.6.23.14 , xenomai 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??' 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 (s, (void *)&frame, sizeof(can_frame_t ), 0,(struct sockaddr *)&addr, &addrlen);, until driver recieve message. 3.- Have RT-CAN TX buffer??? Best regards. John Automation & Research ------=_Part_741_11265243.1213634019294 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

I am testing RT-CAN with MPC5200 and linux 2.6.23.14 , xenomai 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??'
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(s, (void *)&frame, sizeof(can_frame_t), 0,(struct sockaddr *)&addr, &addrlen);, until driver recieve  message.

3.- Have RT-CAN TX buffer???

Best regards.
John
Automation & Research
------=_Part_741_11265243.1213634019294--