<zmatt>
mattb0ne: it's conceivable there's something wrong with that R30 declaration, like I said normally it comes from an #include but I was just too lazy to check which one
<zmatt>
I don't *think* the declaration is wrong, but I'm also not sure I tested it
vagrantc has quit [Quit: leaving]
SJFriedl has quit [Quit: Leaving]
SJFriedl has joined #beagle
<set_>
He seems he fixed it w/ a rational exchange of a register... I hope he does well!
<set_>
As long as Jet Fuel is not mixed. It should be okay?
<set_>
Speakin' of Jet Fuel, did anyone see the Alabama fake launch? They lit that puppy up. Za-Zoom!
<set_>
Live or even on released video?
<set_>
Man, just being in the field nearby must have been a sight to behold.
<set_>
Anyway, so. Back to the BBB!
<set_>
Thank you and, well whomever you are or a group of people there, I appreciate you making the technical docs. along w/ the coding that went into the docs pages.
vagrantc has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
frostsnow has quit [Remote host closed the connection]
frostsnow has joined #beagle
Shadyman has joined #beagle
vagrantc has quit [Quit: leaving]
aussetg has quit [Remote host closed the connection]
aussetg has joined #beagle
aussetg has quit [Remote host closed the connection]
aussetg has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
Stat_headcrabed has joined #beagle
florian has joined #beagle
Shadyman has quit [Quit: Leaving.]
starblue has quit [Ping timeout: 240 seconds]
jfsimon1981 has quit [Remote host closed the connection]
starblue has joined #beagle
jfsimon1981 has joined #beagle
ft has quit [Quit: leaving]
mattb0ne has joined #beagle
lucascastro has quit [Ping timeout: 265 seconds]
ikarso has joined #beagle
lucascastro has joined #beagle
mattb0ne has quit [Ping timeout: 248 seconds]
otisolsen70 has joined #beagle
xet7 has joined #beagle
mattb0ne has joined #beagle
weevoy has quit [Ping timeout: 240 seconds]
<mattb0ne>
for logic shifters is it necessary to power both sides of the board?
<zmatt>
there's tons and tons of chips that would suit your needs probably
<mattb0ne>
there is a whole family of chips
<mattb0ne>
ok
<mattb0ne>
I will do some research
<mattb0ne>
I just need open drain outputs is the key
<zmatt>
but SN74 also contains all sorts of logic, which isn't what you're looking for
<zmatt>
open drain or push-pull, either will work in this case
<mattb0ne>
ok
<mattb0ne>
I will do some research and circle back just to confirm what I found will work
<zmatt>
no actually, do get specifically open-drain (or open-collector)
<mattb0ne>
ok
<zmatt>
since if you were to get push-pull it would be 3.3V probably and that's not really what you want
<mattb0ne>
ok
<zmatt>
plus those might be intolerant of 5V on their output, while open-drain drivers tend to be tolerate higher voltage on their output than the supply voltage
<mattb00ne>
I think that fits the bill and they have it in a module format so less soldering for me =)
CrazyEddy has quit [Ping timeout: 248 seconds]
<mattb00ne>
question for the peanut gallery
<mattb00ne>
in my PRU deep dive, there was a lot of talk of registers in paticular R30 and R31 which are input and output registers. My question revolves around how C knows what registers are exposed. For example the code snippet I used has defines R30 as volatile register. How does C map that to something meaningful on the beagle? is that handled by the compiler? So if I made something up like R69, would it fail?
<zmatt>
mattb00ne: yes it would fail, the only global register declarations allowed are __R30 and __R31, these special cases are recognized by the compiler. See section 5.7.2 "Global Register Variables" in the compiler user's guide ( https://www.ti.com/lit/ug/spruhv7c/spruhv7c.pdf )
<mattb00ne>
ok thanks
<zmatt>
R30 is essentially a normal register except it also controls external logic, by default it directly controls pru's direct gpio outputs (when configured into that mode at the SoC-level)
<zmatt>
R31 is not a normal register, reading it will read special inputs to the PRU code, writing to it is used to trigger events / issue commands to external logic
otisolsen70 has quit [Quit: Leaving]
ft has joined #beagle
mattb00ne has quit [Ping timeout: 240 seconds]
waldo323 has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
xet7 has joined #beagle
vagrantc has joined #beagle
xet7 has quit [Quit: Leaving]
ikarso has quit [Quit: Connection closed for inactivity]