âSep 28, 2021
11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
âSep 28, 2021
11:46 PM
Alarm configuration:
SMU_AG10CF2 = 1
SMU_AG10CF1 = 1
SMU_AG10CF0 = 0
to forward a reset request to SCU
Triggering Alarm:
Once the error condition is true we are doing the below things
1. Check the state of SSM is in Run or Fault
2. Verifies the alarm is triggered from alarm group dedicated for SW alarm (in our case Alarm 10)
3. Writes the below value in the CMD registers
CMD = 0x06 (SMU_Alarm)
ARG = Alarm 10 (from Alarm Grp 10)
Problem: SW breakpoints hits function to set the alarm status (i.e SW can trigger Alarm) but not able to forward reset request to SCU
Question: Could you please let me know on whether anything further need to be configured?
Also, it would be helpful if you can check that whether am I following correct steps to trigger alarm upon error and forward the reset request to SCU
Thanks for your time in advance
SMU_AG10CF2 = 1
SMU_AG10CF1 = 1
SMU_AG10CF0 = 0
to forward a reset request to SCU
Triggering Alarm:
Once the error condition is true we are doing the below things
1. Check the state of SSM is in Run or Fault
2. Verifies the alarm is triggered from alarm group dedicated for SW alarm (in our case Alarm 10)
3. Writes the below value in the CMD registers
CMD = 0x06 (SMU_Alarm)
ARG = Alarm 10 (from Alarm Grp 10)
Problem: SW breakpoints hits function to set the alarm status (i.e SW can trigger Alarm) but not able to forward reset request to SCU
Question: Could you please let me know on whether anything further need to be configured?
Also, it would be helpful if you can check that whether am I following correct steps to trigger alarm upon error and forward the reset request to SCU
Thanks for your time in advance
Solved! Go to Solution.
1 Solution
âOct 21, 2021
06:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
âOct 21, 2021
06:21 AM
Hello,
Did you configure the SCU_RSTCON (Reset Configuration Register) to define which reset is generated by a reset request trigger from the SMU ?
By writing in the RSTCON.SMU bitfield (7:6), you can choose:
- 0x01: System reset
- 0x10: Application reset
Give it a try, I hope it fixes your issue đ
1 Reply
âOct 21, 2021
06:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
âOct 21, 2021
06:21 AM
Hello,
Did you configure the SCU_RSTCON (Reset Configuration Register) to define which reset is generated by a reset request trigger from the SMU ?
By writing in the RSTCON.SMU bitfield (7:6), you can choose:
- 0x01: System reset
- 0x10: Application reset
Give it a try, I hope it fixes your issue đ