Hi,

for an application I need 14 PRU pins (OUT) for control 7 stepper axis. I 
tested all pins and all works except P8_45 (0xA0). Is this a known issue?

In the attachments there are the files I tried and checked the outputs with 
an oscilloscope. For Pin P8_45 I get an output (frequency ~ 100kHz) as soon 
as the hal_pru_generic driver is loaded (even there should no output).

What I did?

1. flash the current machinekit image to BBB (Rev C)
(uname -a Linux beaglebone 4.19.106-bone-rt-r49 #1stretch PREEMPT RT Wed 
Mar 11 10:50:28 UTC 2020 armv7l GNU/Linux) i did it with version 
*bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz 
as well, no luck :(*

2. change uEnv.txt settings:
#disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1
disable_uboot_overlay_wireless=1
disable_uboot_overlay_adc=1
enable_uboot_cape_universal=1

3. pinmux the pins with config-pin -f pinout.bbio (the file in the 
attachment)

4. start the application with ./run.py (file in the attachment)

5. check the output of the current pin
5.1 (setp [PRUCONF](DRIVER).pwmgen.00.out.00.pin       160)
5.2. switch setp [PRUCONF](DRIVER).pwmgen.00.out.00.enable    1 to 0 -> no 
change of the output (the issue)

6. do step 5 for all other PRU1 pins (all works except pin P8_45 (0xA0)

Is this a known issue for Pin P8_45?
Can someone help me to fix this issue? For example test the attached files 
to reproduce the issue?!

Best regards,
David

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/896c019e-5a40-4b97-9703-1dd2da65feb6n%40googlegroups.com.

Reply via email to