Not applicable
Oct 14, 2016
01:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2016
01:54 AM
Hi there,
I'm using Dave 3.1.10 and an XMC4400-F64x512 Stepping Code AB. I want to use Pin 2.9 as direct PWM output to control an axial fan. I used the XMC Pinout Tool V2.1.10 to find out which CCU to use.
The pinout tool says P2.9 is available as output pin in CCU80 Slice 2 (OUT22).
In Dave I add the app PWMSP002 [1.0.34] and there I go to Manual Pin Assignment and set Resource to "pin_directoutput" but then only the following pins are available:
- P0.3
- P0.4
- P0.5
- P0.6
- P1.4
- P1.5
- P1.15
What I tried so far:
- creat a new DAVE CE project with nothing else in it but just the PWMSP002 app, so the pin 2.9 is definitly not used by another app
- install and try it with Dave4
- checked the XMC4400 errata sheet for known hardware bugs
By now it looks to me that this is a software bug in Dave and that the workaround is to not use the dave app but to directly program the XMC's registers.
I'm using Dave 3.1.10 and an XMC4400-F64x512 Stepping Code AB. I want to use Pin 2.9 as direct PWM output to control an axial fan. I used the XMC Pinout Tool V2.1.10 to find out which CCU to use.
The pinout tool says P2.9 is available as output pin in CCU80 Slice 2 (OUT22).
In Dave I add the app PWMSP002 [1.0.34] and there I go to Manual Pin Assignment and set Resource to "pin_directoutput" but then only the following pins are available:
- P0.3
- P0.4
- P0.5
- P0.6
- P1.4
- P1.5
- P1.15
What I tried so far:
- creat a new DAVE CE project with nothing else in it but just the PWMSP002 app, so the pin 2.9 is definitly not used by another app
- install and try it with Dave4
- checked the XMC4400 errata sheet for known hardware bugs
By now it looks to me that this is a software bug in Dave and that the workaround is to not use the dave app but to directly program the XMC's registers.
6 Replies
Oct 14, 2016
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2016
06:20 AM
Hi,
Did you try with PWM_CCU8 in DAVE4?
Regards,
Jesus
Did you try with PWM_CCU8 in DAVE4?
Regards,
Jesus
Not applicable
Oct 14, 2016
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2016
06:37 AM
yes i tried it with dave4 but it didn't work either
Oct 16, 2016
06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2016
06:25 AM
Hey,
Use the pinout Tool and Check the slice usage for each ccu4 and ccu8. Some slices are using the same pins...
Use the pinout Tool and Check the slice usage for each ccu4 and ccu8. Some slices are using the same pins...
Not applicable
Oct 16, 2016
11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2016
11:46 PM
I already created a new DAVE CE project with nothing in it but the PWMSP002 app to verify that the pin 2.9 is definitly not used by another app.
Oct 16, 2016
11:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2016
11:59 PM
Hi Thomas,
See DAVE4 using PWM_CCU8. You need to enable the channel 2 direct output.
Regards,
Jesus
See DAVE4 using PWM_CCU8. You need to enable the channel 2 direct output.
Regards,
Jesus
Not applicable
Oct 17, 2016
02:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2016
02:11 AM
Ok it's working now with Dave4 🙂 Thanks a lot for that. Unfortunately I must still use Dave3 for a while. Probably it's not going to be fixed for Dave3, is it?