Tool/software:
Hello TI Team,
I am using the AWR1843AOP radar and have successfully flashed the Medium Range Radar (MRR) demo. By default, the CANFD data transmission was configured on:
-
CANFD_TX:
SOC_XWR18XX_PINE14_PADAE
-
CANFD_RX:
SOC_XWR18XX_PIND13_PADAD
I confirmed that CAN messages are correctly received on these default pins.
Objective:
I want to re-route the CANFD communication to different pins:
CANFD_TX::SOC_XWR18XX_PINB4_PADBR
(Ball B4)
CANFD_RX: SOC_XWR18XX_PINA4_PADBS
(Ball A4)
According to pinmux_xwr18xx.h
, these are the respective mappings:
Code Modifications Made by me:
In Can_Initialize()
inside mss_main.c
, I commented out the default pinmux configuration:
and Then, I added:
// CANFD_ TX
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINB4_PADBR, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR18XX_PINB4_PADBR, SOC_XWR18XX_PINB4_PADBR_CAN2_FD_TX);
// CANFD_ RX
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINA4_PADBS, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR18XX_PINA4_PADBS, SOC_XWR18XX_PINA4_PADBS_CAN1_FD_RX);
issue:
After making these changes, no CAN messages are received on the new pins (Ball B4 and A4).
Question:
Is there any additional configuration required to route it through these alternate pins on the AWR1843AOP?
Kindly let me know if any further changes are needed to get CANFD working on these alternate pins.
Thank you,
Mitesh