tuxd3v | seems that by attempt to discover a new pwm channel on h2+/H3 is not going well... I setup the PWM to 1khz, duty cycle 0.3 ms on PA6 | 03:29 |
---|---|---|
tuxd3v | acording to a specific revision of the datasheet PWM1 would be function 3 | 03:30 |
tuxd3v | its a port alternate function | 03:30 |
tuxd3v | I setup pinctrl to have function 3 on PA6 | 03:31 |
tuxd3v | apritzel went further he tried function 4 and function 5, to no avail.. | 03:31 |
tuxd3v | but the interesting thing is that the PWM1 registers are there in the Chip!! | 03:32 |
tuxd3v | I am acquiring the signal using sigrok on desktop, and using a logic analyzer to retrieve the signal, but till now seems dead jimmy!! :( | 03:33 |
tuxd3v | And the problem is that a lot of Allwinner vendors are using indeed PA6 to route the suposed pwm1 signal to the GPIO...its not only bananapi, orangepi does the same.. | 03:34 |
tuxd3v | well, its a dead end :( | 04:35 |
tuxd3v | after some time here playing with signal acquisition..I found no pwm1 on GPIO7( SoC pin PA6 ) on bananapi m2 zero.. | 04:37 |
tuxd3v | if its not there, we will not support pwm via GPIO, on bananapi m2 zero, very unfortunately... | 04:38 |
tuxd3v | the GPIO has right now, 1 SPI, 2x I2C, 2xUSART | 04:39 |
tuxd3v | this should work | 04:39 |
tuxd3v | but no PWM :/ | 04:40 |
tuxd3v | c0rnelius, does you have a OrangePi Zero? | 04:43 |
c0rnelius | No sir | 06:34 |
tuxd3v | c0rnelius, thanks, that is one of the boards afected too :/ | 15:58 |
tuxd3v | but I believe all boards that have h2+/h3 are afected by not having the 2 channel pwm, only 1 channel, and I don't know about H5 because its pin compatible with h3 | 15:59 |
tuxd3v | but I believe h5 provides 2 pwm channels on PA5/PA6.. | 16:00 |
tuxd3v | this boards maker copy a lot o f things without questioning its functionality and then the boards end without pwm.. | 16:01 |
tuxd3v | the pnlçy pwms are in PA5, or PL10 | 16:01 |
tuxd3v | PA5 is used by uart0, and PL10 they put the led there...puff, no pwm on gpio :/ | 16:02 |
tuxd3v | c0rnelius, your nanopi neo2, is probably also afected by this.. | 16:09 |
Tenkawa | tuxd3v: nope.. read this post: | 16:10 |
Tenkawa | https://forum.armbian.com/topic/14596-pwm1-on-h5/ | 16:10 |
Tenkawa | the 2nd pwm has been replaced | 16:11 |
Tenkawa | it is just a uart | 16:11 |
tuxd3v | Tenkawa, yeah that is the problem :/ | 16:13 |
tuxd3v | people end without pwm in the GPIO | 16:13 |
Tenkawa | its designed that way.. no way around it | 16:13 |
tuxd3v | so Orange Pi Zero Plus, is another board with this problem.. | 16:15 |
* tuxd3v is looking and probably there are dozens of boards with this problem.. | 16:15 | |
Tenkawa | definitely... very many boards with the "design choice" | 16:16 |
tuxd3v | Tenkawa, its a pitty situation.. | 16:17 |
Tenkawa | yes.. but.. not our choice right? | 16:17 |
tuxd3v | This guys try to be RaspberryPi competitiors, but end up delivering boards without some functionality | 16:17 |
tuxd3v | Tenkawa, yeah you right, I just invested a lot of time in trying to convince the Soc to give me 1 channel on PA6, and I failled :( | 16:18 |
Tenkawa | tuxd3v: these boards are made by companies that are building these, then moving on and never looking at them again | 16:19 |
Tenkawa | thats what makes boards like RPI, and BeagleBoard and a few others different | 16:20 |
tuxd3v | Tenkawa, yeah, it seems to be that way indeed :/ | 16:20 |
Tenkawa | they want tontinue growth of the existing product | 16:20 |
Tenkawa | er to continue | 16:20 |
Tenkawa | sad that some of these other companies are like that... but it is the way it is :( | 16:21 |
tuxd3v | yeah, the problem is that we only later discover the missing functionalities :( | 16:22 |
tuxd3v | but at that time.. its already too late. | 16:22 |
Tenkawa | indeed | 16:22 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!