This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Message Control Register

I'm using a Infineon C515C, with the RTX51 Full package. However I'm having difficulty addressing the Message Control Register (MCR0 and MCR1) specifically the TXRQ bit in MCR1. Does anyone know where I would find this registers definition?

Parents
  • Thanx for that however, when I said the registers definition I meant in Keil. I know I should have made it clearer.

    Here is the crux of the mater: I have a piece of code to transmit 6 CAN messages across a CAN bus. When I'm simulating I can see that the message objects have been configure using the CAN Tools, in the peripherals menu, as they appear with the correct Data length direction and ID. However these messages will not transmit until the TXRQ checkbox/bit is set high. I can see that the message appears to be transmitted in the CAN Communications tab.

    When I have searched the included files (reg515c.h, rtxcan.h) to find where the Message Control Register is defined: I can't find it anywhere. So perhaps the question should be: How do I set the TXRQ bit in the message control register on the siemens c515c?

Reply
  • Thanx for that however, when I said the registers definition I meant in Keil. I know I should have made it clearer.

    Here is the crux of the mater: I have a piece of code to transmit 6 CAN messages across a CAN bus. When I'm simulating I can see that the message objects have been configure using the CAN Tools, in the peripherals menu, as they appear with the correct Data length direction and ID. However these messages will not transmit until the TXRQ checkbox/bit is set high. I can see that the message appears to be transmitted in the CAN Communications tab.

    When I have searched the included files (reg515c.h, rtxcan.h) to find where the Message Control Register is defined: I can't find it anywhere. So perhaps the question should be: How do I set the TXRQ bit in the message control register on the siemens c515c?

Children