00:43
brook has joined #beagle
01:41
Shadyman has joined #beagle
02:32
vagrantc has joined #beagle
03:12
darkapex has quit [Ping timeout: 240 seconds]
03:39
buzzmarshall has quit [Quit: Konversation terminated!]
04:19
darkapex has joined #beagle
05:30
Siegurd has joined #beagle
06:15
darkapex has quit [Remote host closed the connection]
06:16
darkapex has joined #beagle
06:16
vagrantc has quit [Quit: leaving]
06:37
<
zmatt >
Siegurd: setting ADC_CLKDIV to zero is forbidden
06:37
<
zmatt >
iirc it should be set to produce a 3 MHz clock, I'd need to check the clkdiv value for that
06:55
rob_w has joined #beagle
07:00
<
Siegurd >
When I change the ADC_CLKDIV value from 0 to 1, the ADC reading frequency is divided by 2 and becomes 70kHz. So I thought this was a working solution
07:14
Shadyman has quit [Quit: Leaving.]
07:36
otisolsen70 has joined #beagle
07:55
<
zmatt >
see the comments in adc.dtsi regarding how the configuration affects the sample rate
08:09
<
zmatt >
Siegurd: minimum value permitted for clkdiv is 7
08:09
<
zmatt >
(resulting in 24 MHz / ( 7 + 1 ) = 3 MHz adc clock)
08:14
<
Siegurd >
Yep. Setting ADC_CLKDIV to 7 gives 200KHz F
08:20
<
Siegurd >
Should I use ADC_TSC.STEPENABLE_bit.STEP1 = 1 in a while loop for ADC channel 5 continious reading or before?
08:40
florian_kc has joined #beagle
08:57
florian_kc is now known as florian
10:00
ft has quit [Quit: leaving]
10:41
<
zmatt >
uhh normally you don't need to touch STEPENABLE after initialization
11:01
renrelkha has quit [Quit: bye]
11:04
renrelkha has joined #beagle
12:57
<
Siegurd >
Can I create array: uint16_t ADC[20000]; in PRU to send it to ARM via RPMsg?
13:01
<
Siegurd >
Or should I use Shared Memory to PRU interact with ARM?
13:59
brook has quit [Remote host closed the connection]
14:14
brook has joined #beagle
14:55
brook_ has joined #beagle
14:57
<
dinuxbg >
Siegurd: RPMsg has something like 512 byte limit per transaction. Either you need to send your array in chunks, or use shared memory.
14:57
brook has quit [Ping timeout: 246 seconds]
14:59
buzzmarshall has joined #beagle
15:08
rob_w has quit [Remote host closed the connection]
15:15
<
Siegurd >
@dinuxbg Are there any exapmles how to write and read shared memory data from PRU and userspace?
16:18
brook_ has quit [Remote host closed the connection]
16:36
vagrantc has joined #beagle
16:38
brook has joined #beagle
17:14
<
Siegurd >
can pru_rpmsg_send() be used without pru_rpmsg_receive()?
19:03
jfsimon1981 has quit [Remote host closed the connection]
19:09
jfsimon1981_c has quit [Ping timeout: 255 seconds]
19:20
djinni has quit [Quit: Leaving]
19:29
ft has joined #beagle
19:39
darkapex has quit [Ping timeout: 240 seconds]
19:39
darkapex has joined #beagle
19:42
djinni has joined #beagle
20:08
florian has quit [Killed (NickServ (GHOST command used by florian_kc!~florian@dynamic-093-132-095-131.93.132.pool.telefonica.de))]
20:09
florian_kc has joined #beagle
20:49
darkapex has quit [Ping timeout: 240 seconds]
20:50
otisolsen70 has quit [Quit: Leaving]
20:50
darkapex has joined #beagle
21:16
brook_ has joined #beagle
21:17
brook_ has quit [Read error: Connection reset by peer]
21:18
brook has quit [Ping timeout: 258 seconds]
21:28
Siegurd has quit [Read error: Connection reset by peer]
21:37
brook has joined #beagle
23:15
vagrantc has quit [Ping timeout: 240 seconds]