I'm new for PIC32MX and would like to ask the following. Does the oscillator or resonator generates waves when the micros is not programming i.e. is empty Tony

  • \$\begingroup\$ There's no such thing as an "empty" MCU; even an unprogrammed MCU contains opcodes it can potentially execute. \$\endgroup\$ – Ignacio Vazquez-Abrams Oct 5 '16 at 6:35
  • \$\begingroup\$ O'K Ignacio you are right. \$\endgroup\$ – Tony Oct 5 '16 at 6:47
  • \$\begingroup\$ My question is if the pic32mx is not programmed will external oscillator generates waves? \$\endgroup\$ – Tony Oct 5 '16 at 6:49
  • \$\begingroup\$ Does the default unprogrammed memory contents translate into halt opcodes? \$\endgroup\$ – Ignacio Vazquez-Abrams Oct 5 '16 at 6:53
  • \$\begingroup\$ No, I'm not sure. I put one unprogrammed pic32m into my pcb and view by oscilloscope if the oscillator (8Mhz) generates waves \$\endgroup\$ – Tony Oct 5 '16 at 6:59

According to a datasheet, the REGISTER 4-7 comes up with all 1's at power-up, which disables the primary oscillator, so the answer should be no, assuming you are referring to the primary oscillator.

Execution proceeds clocked by the internal RC oscillator until/if another clock source is configured. If the flash memory has been erased, that won't happen.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.