vagrantc has quit [Quit: leaving]
Shadyman has quit [Remote host closed the connection]
KREYREN_ has quit [Remote host closed the connection]
CodeAgain has quit [Read error: Connection reset by peer]
SJFriedl has quit [Ping timeout: 258 seconds]
<ds2> set_: I don't care about all the support...just trying to figure out availability. Figure they are cheap breakout boards for the MSP430
ikarso has joined #beagle
jfsimon1981_c has joined #beagle
Siegurd has joined #beagle
jfsimon1981_b has quit [Ping timeout: 255 seconds]
jfsimon has quit [Ping timeout: 264 seconds]
jfsimon1981 has joined #beagle
Siegurd has quit [Remote host closed the connection]
Siegurd has joined #beagle
KREYREN has joined #beagle
fuser has joined #beagle
<fuser> Miydoc
fuser has left #beagle [#beagle]
libredev has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]
libredev has joined #beagle
jfsimon1981_c has quit [Remote host closed the connection]
Stat_headcrabed has joined #beagle
SJFriedl has joined #beagle
jfsimon1981_b has joined #beagle
Stat_headcrabed1 has joined #beagle
<Siegurd> I’ll answer my own question, you can use pins pru1_pru_r3x_0 and pru1_pru_r31_1 (GPIO_70,
<Siegurd> GPIO_71
<Siegurd> ) thanks to the pin multiplexing system.
<Siegurd> ) simultaneously with PRU1 (GPIO_70) and the C/C++ user space application (GPIO_71
Stat_headcrabed has quit [Ping timeout: 248 seconds]
Stat_headcrabed1 is now known as Stat_headcrabed
<Siegurd> oh, something with the program...
<Siegurd> I’ll answer my own question, you can use pins pru1_pru_r3x_0 and pru1_pru_r31_1 (GPIO_70,
<Siegurd> <Siegurd> GPIO_71
<Siegurd> <Siegurd> ) thanks to the pin multiplexing system.
<Siegurd> <Siegurd> ) simultaneously with PRU1 (GPIO_70) and the C/C++ user space application (GPIO_71
<Siegurd> sorry
Stat_headcrabed has quit [Quit: Stat_headcrabed]
jfsimon1981_b is now known as jfsimon
_whitelogger has joined #beagle
xet7 has joined #beagle
<zmatt> Siegurd: your question is quite unclear anyway
<zmatt> a pin can only be muxed to one of its functions at any time, so using a pin in direct pru input (via r31) or output (via r30) is mutually exclusive with using it in gpio mode
<zmatt> and if muxed to direct pru input/output then that pin is exclusively accessible to that pru. using a pin in gpio mode allows it to be used by linux as well as both pru cores (albeit with higher latency and less timing accuracy than using direct pru i/o)
<Siegurd> zmatt: does AD7771 uses PRU0 pins or Linux system pins?
<zmatt> just be careful to not write to any gpio register from PRU other than the SETDATAOUT and CLEARDATAOUT registers
<zmatt> how would I know what pins you're using to interface to the AD7771 ? and there's no such thing as "Linux system pins"
<zmatt> nor PRU0 pins for that matter
<zmatt> some pins have pru0/1 direct input/output modes available as mux modes
<Siegurd> I'm about ad7771-mcasp0.dtsi from https://github.com/mvduin/overlay-utils
<zmatt> that uses mcasp0 and has nothing to do with pru
<zmatt> of course it is definitely a possibility to use pru to receive the signals instead of using mcasp0, or you could use mcasp0 but with pru reading the data directly from mcasp instead of using linux
<zmatt> (all of these would use completely different DT overlays and software)
<Siegurd> I thought there is some kind of freeRTOS on PRU which is some kind of interface between Linux and pins and all protocols (SPI, PWM, UART and so on) are made in PRUs. So when overlay is loaded = firmware for PRU is loaded. Glad I was wrong.
ikarso has joined #beagle
<Siegurd> Another question: why then overlay's exists on BBB if it has PRUs? 1 universal firmware on PRU can solve all communication protocols...
vagrantc has joined #beagle
set_ has quit [Ping timeout: 248 seconds]
kona has left #beagle [#beagle]
potleg is now known as CrazyEddy
set_ has joined #beagle
<zmatt> uhh no.. while pru may be able to emulate certain peripherals, it definitely can't emulate all of them, let alone at their designed performance specs, and most definitely not all at the same time
<zmatt> also I'm not sure why you imagine you'd want to run something like freertos on pru... I'm not sure it's even possible and it would definitely be incompatible with implementing a software-emulated peripheral since these will generally require very precise timing
<zmatt> and overlays are just a way to modularize a device tree blob, which is the data strucvture that informs linux about the hardware it's running on and thus which drivers to load and what configuration needs to be done
<zmatt> if you did have a soft-peripheral implemented by pru (and there are indeed examples of these) then you'd still need an overlay for it as well since otherwise linux has no way of knowing about it
vagrantc has quit [Quit: leaving]
<Siegurd> zmatt: thanks for clarifying that!
<ds2> Overlays exists because there are too any idiots who do not understand anything.
<ds2> Overlays needs to go away =)
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #beagle
KREYREN has quit [Remote host closed the connection]