Fwd: SYS_RESETIN / P9-10 Not functioning ?

85 views
Skip to first unread message

yyr...@gmail.com

unread,
Jul 5, 2016, 1:17:20 PM7/5/16
to beagl...@googlegroups.com


On Tuesday, July 5, 2016 at 10:03:07 AM UTC-7, yyr...@gmail.com wrote:
SYS_RESETIN Does not seem to function as I would expect it to. I would expect that toggling this pin would somehow cause a system reset. It does not. Can anyone shed any light on the functionality of this pin ? I do not mind reading so if all one has is a link to pertinent information that is fine too. For completeness:

debian@beaglebone:~/nfs$ config-pin -l P9.10
Pin is not modifyable: P9.10 RSTn
debian@beaglebone
:~/nfs$ cat /etc/dogtag
BeagleBoard.org Debian Image 2016-06-19
debian@beaglebone
:~/nfs$ uname -r
4.4.12-ti-r31

I had considered a different kernel may behave differently. Then until I ran config-pin on the actual pin, I thought perhaps the pin was muxable. Apparently it's not ;)  I would appreciate any information anyone would like to share on the subject :)

William Hermans

unread,
Jul 5, 2016, 2:22:16 PM7/5/16
to beagl...@googlegroups.com
I guess to answer my own question: https://groups.google.com/forum/#!topic/beagleboard/ogyyRufIVVs The post by David Belohrad is very descriptive. Especially the part where grounding PWR_BTN will completely turn off the PMIC. Which a lot of people seem to be having issues with completely turning off their boards.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c02e1904-dc4a-44c7-8982-fea65d140f59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jul 5, 2016, 2:30:01 PM7/5/16
to beagl...@googlegroups.com
@Gerald

So hey where can I find good official documentation on SYS_RESETIN ? I've poured over the SRM, and the TRM, and have not really found any clear documentation on the subject matter. Also, what little the documentation does mention anything, names are confused between SYS_RESET, SYS_RESETIN, RESET_OUT, or RSTn . . . How does one make sense of all this ?

Wulf Man

unread,
Jul 5, 2016, 2:32:09 PM7/5/16
to BeagleBoard

William Hermans

unread,
Jul 5, 2016, 2:40:44 PM7/5/16
to beagl...@googlegroups.com
Schematic may tell me that it is connected to the PMIC through a buffer, a button, and back out to another part I do not recognize offhand. But a schematic does not tell me how this pin is used, or processed within the OS. There is a lot of conflicting information out there so it is hard to get a "bead" on what's going on.

William Hermans

unread,
Jul 5, 2016, 2:43:43 PM7/5/16
to beagl...@googlegroups.com
a patch in the post form 2013 I found may lead to some pertinent information. But much has changed in the kernel since then . . .

Gerald Coley

unread,
Jul 5, 2016, 3:00:00 PM7/5/16
to beagl...@googlegroups.com
In the AM3358 TRM. It is an interrupt input to the processor. The SW can cleanup before making it an output to reset the board. So, if the SW does not handle it, it does not reset anything.

Gerald



For more options, visit https://groups.google.com/d/optout.

Charles Steinkuehler

unread,
Jul 5, 2016, 3:04:35 PM7/5/16
to beagl...@googlegroups.com
On 7/5/2016 1:29 PM, William Hermans wrote:
> @Gerald
>
> So hey where can I find good official documentation on SYS_RESETIN ? I've poured
> over the SRM, and the TRM, and have not really found any clear documentation on
> the subject matter. Also, what little the documentation does mention anything,
> names are confused between SYS_RESET, SYS_RESETIN, RESET_OUT, or RSTn . . . How
> does one make sense of all this ?

Section 8.1.7 of the TRM "Reset Management", with some additional
details in the data sheet (sprs717). It can be confusing, since the
physical reset pin (nRESETIN_OUT) is both an input and an output, but
the individual RESET_IN and RESET_OUT signals are "broken out" on-chip
and have various sources/destinations which are discussed individually
in the TRM.

Figure 8-20 "External System Reset" in the TRM (and the nearby related
text) might help.

--
Charles Steinkuehler
cha...@steinkuehler.net

William Hermans

unread,
Jul 5, 2016, 3:23:21 PM7/5/16
to beagl...@googlegroups.com
In the AM3358 TRM. It is an interrupt input to the processor. The SW can cleanup before making it an output to reset the board. So, if the SW does not handle it, it does not reset anything.

Gerald

Thanks Gerald.
 I kind of figured already that about the software aspect. I'm toggling the pin every 5 seconds ( 5, So I can check with a multi-meter ) from an external MCU. And the board just sits there like a dumb brick . . .no reaction.

AM3358 TRM ? Is that in addition to the AM335x TRM ? The latter here is what I've searched through. Which by the way for SYS_RESET no search hits in the whole 5k pages of document . . . That's a bit frustrating. The SRM actually turned up several hits, but did not really discuss anything definitive. Then, as Charles pointed out after your post . . . I always forget about the datasheet . . . but forgot that TI loves spreading documentation out over several files . . .

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Gerald Coley

unread,
Jul 5, 2016, 3:25:30 PM7/5/16
to beagl...@googlegroups.com
AM335x is the TRM name. But I was afraid I would get jumped because that is not the processor used, instead it is the AM3358.

Look up AM3358 and select the TRM listed on that page.

Gerald



For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jul 5, 2016, 3:27:38 PM7/5/16
to beagl...@googlegroups.com

Section 8.1.7 of the TRM "Reset Management", with some additional
details in the data sheet (sprs717).  It can be confusing, since the
physical reset pin (nRESETIN_OUT) is both an input and an output, but
the individual RESET_IN and RESET_OUT signals are "broken out" on-chip
and have various sources/destinations which are discussed individually
in the TRM.

Figure 8-20 "External System Reset" in the TRM (and the nearby related
text) might help

Thanks Charles.

But yeah, not only confusing, but frustrating ! But you've also managed to squelch a lot of confusion by just what you've written here. My next step was actually to watch /proc/interrupts, which actually I think I'm still going to do. In order to see if there are in fact any interrupts happening from all this pin toggling im doing.

William Hermans

unread,
Jul 5, 2016, 3:30:58 PM7/5/16
to beagl...@googlegroups.com
AM335x is the TRM name. But I was afraid I would get jumped because that is not the processor used, instead it is the AM3358.

Look up AM3358 and select the TRM listed on that page.

Gerald

I don't think anyone would get on your case over saying "AM335X". But I was starting to wonder if there was an additional "tome" I was unaware of. I've actually had a copy of the TRM for years now on disk. Including the original with the PRU information in it :)

Thanks for the information !

William Hermans

unread,
Jul 5, 2016, 3:42:51 PM7/5/16
to beagl...@googlegroups.com
My next step was actually to watch /proc/interrupts, which actually I think I'm still going to do. In order to see if there are in fact any interrupts happening from all this pin toggling im doing.

No dice. But before I give up I'm going to switch form a TI kernel to a bone kernel and see if any of this changes. Because I know that tje reset btn works, and is sometimes especially useful after a Linux "halt".
Reply all
Reply to author
Forward
0 new messages