Jan 23, 2019
11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 23, 2019
11:16 PM
Hello,
I prepared a custom board with XMC4200. I am trying to program the device with XMC-Link 8-pin connector on SWD (TCK,TMS,TX,RX). With XMC Flasher tool programming and verification ok, but nothing comes to the digital IOs, PWMs... etc. Also can't see anything running with micrium.
Maybe the device is in sleep mode? Ports pin is pulled up 3.3V with 22k, rtc xtal1-2 & hib_io_0 pins are open.
Any ideas?
I prepared a custom board with XMC4200. I am trying to program the device with XMC-Link 8-pin connector on SWD (TCK,TMS,TX,RX). With XMC Flasher tool programming and verification ok, but nothing comes to the digital IOs, PWMs... etc. Also can't see anything running with micrium.
Maybe the device is in sleep mode? Ports pin is pulled up 3.3V with 22k, rtc xtal1-2 & hib_io_0 pins are open.
Any ideas?
- Tags:
- IFX
5 Replies
Jan 24, 2019
02:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2019
02:20 AM
If you dont run the processor using an external crystal you need to set up the xmc4200 to run from the internal oscillator. Please have a look at the DAVE clock-control app. You can run everything except the USB using the internal oscillator.
Jan 24, 2019
03:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2019
03:31 AM
I have 12MHz crystal on the xtal pins, RTC supplied by internal slow oscillator. But I configured the external clock pin. For Main PLL 24MHz and for RTC 32.7kHz exist. This is the first time I see a response from the microcontroller. Although I normally expect 80MHz for the main PLL at least now I am sure that I can flash and load a program to the microcontroller, thank you for that.
However, still can't do anything else with the uC. Still suspicious about some kind of a sleep mode.
However, still can't do anything else with the uC. Still suspicious about some kind of a sleep mode.
Jan 24, 2019
04:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2019
04:20 AM
Is the boot mode set correctly? A pullup on the TMS pin is required to set the boot mode to the internal Flash, as far as I know. I only have experience with the XMC4500, but I image the XMC4200 is the same. See shte chapter "Startup Modes" in the reference manual.
Jan 24, 2019
04:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2019
04:53 AM
Thank you amanning, I am checking it, maybe that could be the problem.
Jan 30, 2019
12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 30, 2019
12:19 AM
Hello, I solved the problem it was the crystal. I was not getting the correct oscillator freq with the external oscillator configuration, that was the clue. Many thanks.