CCS, Inc. Add a low cost USB solution to your next project using CCS C Version 5.007 and PIC16F1459 MCU! CCS C Version 5.007 now supports the PIC16F1459 MCU which is notable for two reasons - it's the first PIC16F with USB support, and now USB can be used with the internal oscillator through the PIC® MCU's active clock tuning(ACT). This eliminates the need for an external oscillator which further reduces your costs while adding USB.
ACT keeps the internal oscillator accurate by syncing with the USB bus signals. ACT can be used and configured by CCS C Compiler's #use delay() instruction. Here is an example of clocking a PIC16F with the internal 8MHz clock, while setting the ACT to tune from the USB and setting the PLL to run the instruction clock to 48MHz:
#use delay(int=8MHz, clock=48MHz, USB_FULL, act=USB)
For more examples of this or for more information on CCS C Compiler V5.007 download the demo at http://www.ccsinfo.com/demo or visit: http://www.ccsinfo.com/version5
Like us on Facebook and follow us on Twitter.
PIC® MCU, MPLAB® IDE, MPLAB® ICD2, MPLAB® ICD3 and dsPIC® are registered trademarks of Microchip Technology Inc. in the U.S. and other countries. REAL ICE, ICSP and In-Circuit Serial Programming are trademarks of Microchip Technology Inc. in the U.S. and other countries.