EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / PIC24FJ128G010 CLock settings

PIC24FJ128G010 CLock settings

|

Microcontroller › PIC › PIC24FJ128G010 CLock settings

  • This topic has 0 replies, 1 voice, and was last updated 10 years, 4 months ago by kareem ahmed.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • September 22, 2015 at 9:08 am #4006
    kareem ahmed
    Participant

    The Data sheet says that this chip can do 16 MIPS @32Mhz, although I cant make it work @ 32Mhz

    From MPLABX V2.26 and using C30, I generated these Config bits Value as follow :

     
     int CONFIG2 __attribute__((space(prog), address(0x157FC))) = 0xFB3E ;
     
    //_CONFIG2(
    //    POSCMOD_HS &         // Primary Oscillator Select (HS Oscillator mode selected)
    //    OSCIOFNC_OFF &       // Primary Oscillator Output Function (OSC2/CLKO/RC15 functions as CLKO (FOSC/2))
    //    FCKSM_CSECME &       // Clock Switching and Monitor (Clock switching is enabled, Fail-Safe Clock Monitor is enabled)
    //    FNOSC_PRIPLL &       // Oscillator Select (Primary Oscillator with PLL module (HSPLL, ECPLL))
    //    IESO_ON              // Internal External Switch Over Mode (IESO mode (Two-Speed Start-up) enabled)
    //);
     
    Now I know that my controller is not working @ 32Mhz as I mesaured the clock on RC15 and found 8Mhz, Hence is working @16Mhz !
     
    So my Question is , what I am missing ?? How to Make it work @ 32Mhz !!
  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Do i need a buffer? February 7, 2026
  • ANOTHER OLD PROJECT REDO February 7, 2026
  • wall transformer polarity February 7, 2026
  • Supply vs performance query February 7, 2026
  • BPF February 7, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise