An update. In u-boot/board/ti/am335x I do see the following. So, the pad name for I2C_DATA is uart1_ctsn for D18. For pad name uart1_rtsn it is pin D17. So this will give the DCAN0_TX/RX for u-boot.
static struct module_pin_mux i2c2_pin_mux[] = {
{OFFSET(uart1_ctsn), (MODE(3) | RXACTIVE |
PULLUP_EN | PULLUDEN | SLEWCTRL)}, /* I2C_DATA */
{OFFSET(uart1_rtsn), (MODE(3) | RXACTIVE |
PULLUP_EN | PULLUDEN | SLEWCTRL)}, /* I2C_SCLK */
{-1},
};
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/dE1bIym6rDg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORrdO87s1J7uKrJ%2BEvRKQRmKhahZBq%3DmtK1ktk4sChsbkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi William,Thanks for the email and here is what I’m trying to do.The CANUSB from Lawicel is a standard USB device that looks like a serial port since it can use the FTDI driver.
On the MachineKit Debian Beagle the CANUSB is a dev/ttyUSB0 device.
On our custom BeagleBone Black, we want both CAN0 and CAN1 accessible USB devices. We don’t want to have to add a P9 expansion header on the custom board for I2C and we have specific pins E17 and E18 we want to use that are designated as possible CAN1 pins on the BeagleBone Black schematic.
These two pins for CAN1 are tstpt1 pin E17 and TP9 pin E18. Just need to see if there is a pad name associated with these pins so I can use them for the pinmux file and device tree to make CAN1 available as a USB device for uboot and the kernel. This is what I need.
Looking through the pinmux files for any pad names associated with these two pins.
Thx, Tracy
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/dE1bIym6rDg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
Hi William,Thanks for the email and here is what I’m trying to do.The CANUSB from Lawicel is a standard USB device that looks like a serial port since it can use the FTDI driver.
On the MachineKit Debian Beagle the CANUSB is a dev/ttyUSB0 device.
On our custom BeagleBone Black, we want both CAN0 and CAN1 accessible USB devices. We don’t want to have to add a P9 expansion header on the custom board for I2C and we have specific pins E17 and E18 we want to use that are designated as possible CAN1 pins on the BeagleBone Black schematic.
These two pins for CAN1 are tstpt1 pin E17 and TP9 pin E18. Just need to see if there is a pad name associated with these pins so I can use them for the pinmux file and device tree to make CAN1 available as a USB device for uboot and the kernel. This is what I need.
Looking through the pinmux files for any pad names associated with these two pins.
Thx, Tracy
Hi William,These overlays from Robert Nelson are associated with the P9 expansion header. We don’t have a P9 expansion header on the custom BBB we are using. So we can’t use this overlay.Thx, Tracy
On Wed, Nov 1, 2017 at 10:05 AM, Tracy Smith <tlsmi...@gmail.com> wrote:We have no P9expansion header. I’ve already discussed this with Robert Nelson. We are using the AM3358 pins I sent previously. Any can using the P9and this overlay will not work for our custom board.
Ok, good, that doesn't make a bit of difference at all. Those pin names in the overlay are just variables used by the file, and initially by cape manager. cape manager translates those variable names into addresses when the overlay file is compiled.Passed that, the software that is provided could stll use the Px header designation for the pins, and it'll still work fine if you're using something like universal IO + config-pin, so long as you all have not done something drastically different in your layout. I do recall that some devices can be done using multiple pin configurations, and one in fact is still like that with the beaglebone design as is.Anyway, I do not remember if CAN1 has the potential to be on different pins or not. Out of the processor. But working with the file I sent you a link to all that can easily be changed.
Ok look this custom board is based on the BeagleBone Black. For all intense and purposes it is the BBB. The pins for the AM3358 are the same. The primary difference is no P9 expansion header. What you are suggesting below is exactly what I’m doing and why I have the questions I do because your CAN support will not work on our custom BeagleBone Black.Customers will use the BBB as a reference platform and will actually have to do pinmuxing. When I do mention custom board, you do ignore me. But you shouldn’t because not all companies that use the BBB as a reference platform will use the P9 expansion and they will want to have CAN support in the kernel even without the P9 expansion header. You don’t have to use the P9 and the overlay being used to support CAN0 and CAN1You seem to be limiting CAN support to those using the P9 expansion header? Why is that? Does it allow for four or more CANS?Really appreciate the assistance and it has been and continues to be extremely helpful.What limitations or constraints are causing you to have to use the P9 expansion header for CAN? Knowing this help justify adding an expansion header to the design.I need to look closer at the overlay. But knowing these constraints could justify adding the P9 expansion header to our custom BBB board.Thx, Tracy
On Wed, Nov 1, 2017 at 1:24 PM, Tracy Smith <tlsmi...@gmail.com> wrote:
> The need to use E18 and E19 For CAN1 comes from the TI pinmux tool.
Umm, on the ZCZ package used on the BBB
E18: dcan1_tx
E19: not available for can0/can1...
Want to try again?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/dE1bIym6rDg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORpKGh0pYiYL5AjJuDUXqLHTwunYGS_uCaYHXqwkz4xBMg%40mail.gmail.com.