Power-On Propeller Microcontroller and HB25
rj33w
Posts: 2
I am using the Propeller Microcontroller with the HB25. I am trying to power-on both with a single switch. Everything works fine if I power-on the HB25, then the microcontroller. Everything also works fine if I power-on the microcontroller, then the HB25. When I power them on simultaneously, the HB25 does not operate. I have tried spin code (below) similar to the sample (which is in .bs2) that waits until the HB25 has initialized.
waitpeq(|< pin, |< pin, 0) 'Wait for the HB25 to initialize
dira[pin]~~ 'Set pin as output
outa[pin]~ 'Set pin to low
Is it absolutely true that you cannot power-on both the microcontroller and HB25 at the same time? Is there any spin code I could use to allow them to power-on at the same time? If this will not work programmatically in anyway, does anyone have a recommendation on how I could power both on with the same switch? I suppose I would have to create some type of delay so that the HB25 will power-on after the microcontroller? Any ideas?
waitpeq(|< pin, |< pin, 0) 'Wait for the HB25 to initialize
dira[pin]~~ 'Set pin as output
outa[pin]~ 'Set pin to low
Is it absolutely true that you cannot power-on both the microcontroller and HB25 at the same time? Is there any spin code I could use to allow them to power-on at the same time? If this will not work programmatically in anyway, does anyone have a recommendation on how I could power both on with the same switch? I suppose I would have to create some type of delay so that the HB25 will power-on after the microcontroller? Any ideas?
Comments