Looking for a software reboot/reset method in SXB?
T&E Engineer
Posts: 1,396
Is there a way to cause a reset of·an SX48 or SX28 without physically pressing the reset pushbutton (e.g. /MCLR goes Low)? I have an SX48 with a keypad and LCD and want to use one of the unused keys to cause a reset on the board using the keypad (and not just using a longer wired parallel pushbutton reset switch). The SX48 is also a master for 1 of many SX28 slave boards. I wrote some code to basically TX a LOW to a pin that is wired to /MCLR on the SX28 slave unit which kind of works but don't know if this is the right way to accomplish this or is there a better approach to doing this.·
Comments
Upon reset all I/O are set to input mode, so that should allow the SX to startup okay.
Make sure you still include the 10K pullup on /MCLR.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
I just wanted to make sure that was a good method to send a low
(or basically this: First set RA.1 HIGH and then just PULSOUT RA.1, 255)
RA.1 is wired to /MCLR on the proto board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Smykowski: Well-well look. I already told you: I deal with the customers so the engineers don't have to. I have people skills; I am good at dealing with people. Can't you understand that? What is wrong with you people?