Not applicable
Dec 04, 2013
03:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2013
03:07 PM
Hello
I am trying to get the PWMSVM01 app to work with CCU81. I need to use the pins P1.10 - P1.15.
I am using Dave to generate the code and then I am forcing my own settings.
I have changed the GlobalPtr in PWMSVM01_Handle0 to use CCU81 instead of CCU80, and also the PhasePtrs to use CCU81_80, CCU81_81 and CCU81_82, but it does not seem to work.
I have also changed the interrupt lines to be using the CCU81, as well as the IO configuration.
Will this app work with CCU81?
Many Thanks,
Kieran
I am trying to get the PWMSVM01 app to work with CCU81. I need to use the pins P1.10 - P1.15.
I am using Dave to generate the code and then I am forcing my own settings.
I have changed the GlobalPtr in PWMSVM01_Handle0 to use CCU81 instead of CCU80, and also the PhasePtrs to use CCU81_80, CCU81_81 and CCU81_82, but it does not seem to work.
I have also changed the interrupt lines to be using the CCU81, as well as the IO configuration.
Will this app work with CCU81?
Many Thanks,
Kieran
2 Replies
Not applicable
Dec 04, 2013
03:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2013
03:24 PM
BTW, I have also changed the KSyncStart to be 0x200 and the RESET001_DeassertReset(PER0_CCU81);
To me this should be a straightforward change?
To me this should be a straightforward change?
Not applicable
Dec 04, 2013
05:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2013
05:56 PM
Ok. I solved the problem. It only works on CCU81 if I set kEnableTrap to 0.
This seems odd to me. I looked at all the registers in the CCU80 module vs the CCU81 module and the values in them were identical.
Anyway it works now.
This seems odd to me. I looked at all the registers in the CCU80 module vs the CCU81 module and the values in them were identical.
Anyway it works now.