From: Wolfgang Grandegger <wg@domain.hid>
To: "Charlton, John" <john.charlton@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>,
"socketcan-users@domain.hid" <socketcan-users@domain.hid>
Subject: Re: [Xenomai-help] [Socketcan-users] rtcanconfig rtcansend rtcanrecv
Date: Mon, 12 Jan 2009 21:30:52 +0100 [thread overview]
Message-ID: <496BA87C.2020306@domain.hid> (raw)
In-Reply-To: <CF7FB0793253794F9F45991443E5FE2004DF7841B2@domain.hid>
Charlton, John wrote:
> I agree that rtcan1 transmit interrupt request is set as is rtcan0 receive request in sja1000 base + 3, but I notice that neither interrupt is enabled in the control register (offset 0). I think the command register should be 0x06 so that TIE and RIE interrupt enable bits are set. I am relying on the xeno_can_sja1000 module to set the interrupt enable bits since the xeno_can_tscan1 module should just provide access to the sja1000 registers. I don't think the xeno_can_tscan1 should program any of the sja1000 registers itself--is that assumption correct? I am specifying the correct interrupts which are jumper selected to be 5 and 7 for rtcan0 and rtcan1 respectively. The jumper settings can be checked using the TS-CAN1 base + 6 to but the driver doesn't do that yet.
The interrupt enable register (IER) is at offset 0x4 and they are all
enabled (see below). The transfer from rtcan1 to rtcan0 went fine. Just
no interrupts are triggered. And yes, the SJA100 does all relevant
accesses to the SJA1000 chips. Some more questions:
- What do your read at offset 0x6 (JMP)?
- What does /proc/interrupts return?
- Do you see any RTCAN related messages with "$ dmesg".
Wolfgang
next prev parent reply other threads:[~2009-01-12 20:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 16:17 [Xenomai-help] rtcanconfig rtcansend rtcanrecv Charlton, John
2009-01-07 17:28 ` Sebastian Smolorz
2009-01-07 19:56 ` Charlton, John
2009-01-08 10:32 ` Sebastian Smolorz
2009-01-08 13:21 ` Charlton, John
2009-01-12 15:33 ` Charlton, John
2009-01-12 16:10 ` [Xenomai-help] [Socketcan-users] " Wolfgang Grandegger
2009-01-12 16:30 ` Charlton, John
2009-01-12 17:10 ` Sebastian Smolorz
2009-01-12 18:47 ` Charlton, John
2009-01-12 20:30 ` Wolfgang Grandegger [this message]
2009-01-13 14:32 ` Charlton, John
2009-01-13 15:04 ` Wolfgang Grandegger
2009-01-14 20:50 ` Charlton, John
2009-01-12 17:17 ` Wolfgang Grandegger
[not found] ` <496605F2.1080306@domain.hid>
2009-02-02 21:54 ` Charlton, John
2009-02-03 14:19 ` Sebastian Smolorz
2009-01-07 20:08 ` [Xenomai-help] " Charlton, John
2009-01-07 18:19 ` Wolfgang Grandegger
2009-01-07 20:16 ` Charlton, John
2009-01-07 20:31 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=496BA87C.2020306@domain.hid \
--to=wg@domain.hid \
--cc=john.charlton@domain.hid \
--cc=socketcan-users@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.