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.
I am using the TMS570LS0714PZ microcontroller and I am not able to access all 64 mailboxes in HALCoGen. It is claiming that there are only 32 mailboxes in CAN1 and only 16 mailboxes in CAN2. CAN3 is not shown. However, according to the product datasheet, my MCU has CAN1, CAN2 and CAN3 and each CAN has 64 mailboxes. This was proven to be correct by directly writing into the MCU's control registers. Is there a way to fix this in HALCoGen?
I have looked at this forum which has a similar issue
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/543081/halcogen-not-generating-code-for-can4-mailboxes-32
However, my MCU does not have a CAN4v000.xml file, so it seems that HALCoGen is using some default code-gen configuration which I cannot find. Is there a possible work around for this?
Hi Viraj,
I am working on your issue and i will provide an update soon.
--
Thanks & Regards,
Jagadish.
Hi Viraj,
It is HALCoGen UI bug, and the datasheet information is correct i.e., each DCAN have 64 mailboxes..
Please have a look on this old thread
--
Thanks & Regards,
Jagadish.
hahaha, its more than just a UI problem. I had to rewrite the autogen code template to fit the specs for my MCU, including the xml file and template C file. might as well make this system open-source at this point :P
I had to rewrite the autogen code template to fit the specs for my MCU
That is correct. I will log this bug and we will take care of this one in our next HALCoGen release.