This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR2944EVM: CAN Bring up

Part Number: AWR2944EVM
Other Parts Discussed in Thread: UNIFLASH, AWR2944

Hello Experts,

1. According to the schematics TRCV STB pin is connected to PMIC and it's by default it's connected to pull up resistor. Do I need to initialize the whole PMIC/SPI sequence to set the STB to low and enable the CAN TRCV? any shortcuts ?

2. I am also trying with SDK CAN external loopback interrupt but I am not sure which image shall I flash to external flash.
I tried multiples but I think neither one of them is signed so the ROM SW doesn't copy the image to RAM to be executed.

  

BR,
Andrew

  • Hello Andrew,

    1) Yes, it is needed, you can refer our example: C:\ti\mmwave_mcuplus_sdk_04_04_01_02\mcu_plus_sdk_awr294x_09_00_00_15\examples\drivers\mcan\mcan_external_loopback_interrupt
    You can find it in the mcan_transceiver.c file and refer the same.

    2) You have to image the mcan_external_loopback_interrupt_release.appimage. Can you explain is this is secure or a general purpose device?
    Are you flashing the SBL also?

    Please refer the user guide and the section 4.2.2 Flash procedure for proper flashing steps, you can find the user guide under: C:\ti\mmwave_mcuplus_sdk_04_04_01_02\mmwave_mcuplus_sdk_04_04_01_02\docs\mmwave_mcuplus_sdk_user_guide.pdf

    Regards,
    Saswat Kumar

  • Hi Saswar,

    2. I think it's general purpose. It's the normal eval board from TI
    That's what I don't understand, What shall I do If I want to flash it to QSPI flash?
    Do I need SBL or just flash the CAN image directly?

    If I tried both, I think there is address conflict, and I if I flash only CAN image, I think it's not signed so it doesn't boot.

  • Hello Andrew,

    Please do go through the user guide, you have to also flash the SBL as it is the one that loads the application from the QSPI.
    Can you please try installing the uniflash and try this out with the EVM?
    I am unable to understand how you are flashing.
    Please use uniflash or the steps followed in the user guide.

    Regards,
    Saswat Kumar 

  • Hi Saswat,

    Thank you for your advise.

    I have different setup where I use Isystem debugger to flash the QSPI images directly by initializing the QSPI peripheral in MCU and filling it with data.
    I think the issue is that SBL and MCAN image both start at address zero but I fixed this and added offset in my debugger configuration so MCAN image start at 0xA0000 as expected but it didn't help and I got stuck that R4 didn't boot properly.

    Second thing I tried as you advised and according to documentation, was using UART mode for flashing but this is also didn't bring up the CAN.
    I have checked the Tx pin directly on the TRCV "U3 component in the schematic" using oscilloscope  but I didn't find any CAN signal there.

    1. If I am flashing through UART your example, do I need to do anything else than flashing SBL prebuilt and MCAN image?

    2. Does MCAN image depend on DSP core in any way since I don't flash something to DSP core using my SBL? I am asking because I found that clock source used for MCANA is DPLL_DSP_HSD_IV0_CLKOUT2_MUXED

    I would really appreciate a call to show you what I am doing and tackle this a bit faster.

    BR,
    Andrew

  • Hello Andrew,

    I understand that you have a different setup, but you are using a AWR2944 EVM right?
    For crossing out the possibility that there is some issue on the board, with the uniflash first can you please flash it with the SBL and Application then we can debug what is the issue in the current system.

    Regards,
    Saswat Kumar