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.

AWR1642: Cannot write into VIM registers.

Part Number: AWR1642

Hi,

I am using the AWR1642 EVM and want to program the VIM module to catch interrupts.I want to enable a certain interrupt channel using the REQENASET register. I have tried writing into this register but I the value in it does not get updated. This is for the MSS R4F core, with the core in System Mode.

Is there a particular sequence/initialisation to write this particular register? 

Thanks,

John.

  • Hello John,

    You need bring the VIM out of reset to write to VIM register set.

    Below is the details in the TRM to bring the VIM out of reset:

    Thanks,

    Raghu

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Hello Raghu,

    Thanks for the reply. Unfortunately I think I am missing something. The VIM module resets successfully and is brought out of reset by writing the SOFTRST2:VIMRST with 0x00000000, but yet I cannot write anything in the registers. This is the same for the FIQPR registers as well as the REQENASET registers. Also I tried manually updating the values using the debugger, but it still remains the same(not updating).

    Please suggest.

    Thanks,
    John.
  • The issue is resolved offline using below VIM baseaddress to access the VIM registers

    MSS_VIM 0xFFFF_FE00 0xFFFF_FEFC 252B MSS_VIM (VIM) module configuration
    Registers

    -Raghu