- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i want to start using the IOM on my TC377, and i'm following the example in iLLD_1_0_1_13_0_TC3xx_Drivers_And_Demos_Release.
I managed to make the demo to work (i guess it was tested on a different uC, because i needed to change a couple of things to make it work), but i don't understand how the connection between the IOM and the SMU works.
The IOM has a single output event signal which is connected to the SMU; using a debugger i see that it sets the alarm on the register AG[8].21 (so the 21st bit of the 8th alarm group). Why is the IOM setting that bit?
On the User Manual, in the IOM Chapter it says "Note: the alarm output adapted to the fSPB will be connected to the Safety Management Unit, SMU.EMM". But i can't find anywhere any reference to this EMM register. I guess it will end up in AG[8].21, but where is that stated? Or is it ending up there because of some configuration in the demo that i'm not being able to see?
(remark: the original C code of the demo was trying to clear AG[8].20 and it was not working. Using a debugger i saw that the bit being set was the following one)
Thanks
Claudio
Solved! Go to Solution.
- Labels:
-
AURIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are right there is a single signal that goes from the IOM to the SMU, all SMU connections are listed in the device appendix. IOM SMU alarm is ALM8[25]
some time ago I created a bare IOM metal example if you want to take a look (attached)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ugo,
thanks a lot.
Turned out i miscounted the zeros!
The command is
SMU_AG8.U = 0x02000000
with six trailing zeros (not five as i thought), which in fact corresponds to AG[8].25, the bit indicated in the appendix that you pointed out.
I wonder why they don't state this in the SMU and\or IOM User Manual, rather than in the appendix...and also what that SMU.EMM register is.
Thanks