Hi,
I am trying to use the DB-9 on the ICE V2.1 and thus far have not connected to it. I am using the code from the dcanTxRX sample and have done this in the MUXING of the pins
/* Pin Mux for DCAN1 Tx Pin */
HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_CTSN(0)) =
DCAN_SLEWFAST_RXDISABLED_PULLDWN_PUPDENABLED_MODE2;
/* Pin Mux for DCAN1 Rx Pin */
HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_RTSN(0)) =
DCAN_SLEWFAST_RXENABLED_PULLUP_PUPDENABLED_MODE2;
This according to other posts should connect DCON1 to the UART0 pins. When I enable DCOM1 (or DCOM0) and do loop back I/O through them I do not get any voltage on CANH line of the DB-9. What else do I have to do. I saw some other posts about GPIO pin settings, is that what I have to do ?
The DCOM seems to work in loopback now I just have to connect to the outside world. The DCAN data in the AM335x technical manual seems self contained and doesn't reference how to connect to a pin. I could not find references about how to do this in the manual. In fact in the DCAN section they refer to the TIOC and RIOC registers which seem to control the muxing but these are not referenced in the dcanTxRx code.
Thanks for the help
--jim schimpf