AnsweredAssumed Answered

Problem merging USB CDC and RTC demo

Question asked by joe birch on Aug 18, 2015
Latest reply on Aug 19, 2015 by joe birch

I can't get Real Time Clock and USB CDC to work together.

 

I am using KDS 3.0, KSDK 1.2 on a FRDM_K22.

I am able to run the USB CDC demo: C:\Freescale\KSDK_1.2.0\examples\frdmk22f\demo_apps\usb\device\cdc\virtual_com\freertos\kds

and the RTC demo: C:\Freescale\KSDK_1.2.0\examples\frdmk22f\demo_apps\rtc_func\kds

separately but I have trouble combining them in a new project.

 

RTC works but CDC doesn't. I don't get a USB_DEV_EVENT_CONFIG_CHANGED event.

 

I zipped the project. There is a conditional compile ADDRTC. if undefined CDC works.

I think the problem is in BOARD_ClockInit() which is called for the RTC setup.

 

I appreciate the help

Joe

 

 


Original Attachment has been moved to: usb_cdc_rtc.zip

Outcomes