Here's one I never ran into before.
I have a 18M2+ loaded with code that works great. For simplicity let's just say it runs in a loop, looks for an input then outputs a tone burst.
Power up, burst out simple...
But sometimes when power is applied it just sits there doing nothing. Shut it down power it again and it's off and running forever.
The input on pin 16, (C.7) is a optotransistor and the pin swings between 0 and 4.9 when turned on and off. As for the power supply, it is a switch mode 24V wall wart, with an added 7805 regulator and big caps are before and after it with a .1uf accross the chip's power and ground. The 5V output is clean with no trash (I tried different power packs) and no inductors are being powered up at startup (looking for spikes)
The older 18M chip had pin 4 as a reset but the 18M2+ now designates that as C.5, and there is no reset. The two programming resistors are in place on pin 3. There are some inputs, C.0. C.1, C.2. and C.5 (the old reset) that are floating since they are not used. Am I missing something here? Since these are unused, do they need to be tied to gnd? It just looks like the chip is not starting since the loop is the first step in the program.
Any ideas or opinions will be appreciated. I have some more 18M2's on order in just case the chip is regressing back to it's carbon state.
Thanks,
Len
I have a 18M2+ loaded with code that works great. For simplicity let's just say it runs in a loop, looks for an input then outputs a tone burst.
Power up, burst out simple...
But sometimes when power is applied it just sits there doing nothing. Shut it down power it again and it's off and running forever.
The input on pin 16, (C.7) is a optotransistor and the pin swings between 0 and 4.9 when turned on and off. As for the power supply, it is a switch mode 24V wall wart, with an added 7805 regulator and big caps are before and after it with a .1uf accross the chip's power and ground. The 5V output is clean with no trash (I tried different power packs) and no inductors are being powered up at startup (looking for spikes)
The older 18M chip had pin 4 as a reset but the 18M2+ now designates that as C.5, and there is no reset. The two programming resistors are in place on pin 3. There are some inputs, C.0. C.1, C.2. and C.5 (the old reset) that are floating since they are not used. Am I missing something here? Since these are unused, do they need to be tied to gnd? It just looks like the chip is not starting since the loop is the first step in the program.
Any ideas or opinions will be appreciated. I have some more 18M2's on order in just case the chip is regressing back to it's carbon state.
Thanks,
Len