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\$
\$\endgroup\$
5
-
\$\begingroup\$ There's no such thing as an "empty" MCU; even an unprogrammed MCU contains opcodes it can potentially execute. \$\endgroup\$– Ignacio Vazquez-AbramsCommented Oct 5, 2016 at 6:35
-
\$\begingroup\$ O'K Ignacio you are right. \$\endgroup\$– TonyCommented Oct 5, 2016 at 6:47
-
\$\begingroup\$ My question is if the pic32mx is not programmed will external oscillator generates waves? \$\endgroup\$– TonyCommented Oct 5, 2016 at 6:49
-
\$\begingroup\$ Does the default unprogrammed memory contents translate into halt opcodes? \$\endgroup\$– Ignacio Vazquez-AbramsCommented Oct 5, 2016 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\$– TonyCommented Oct 5, 2016 at 6:59
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
0
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.