Go to advanced search

by Doug Howard
Wed Jul 19, 2017 3:41 am
Forum: Beginners
Topic: RPi3 BCM2837 PWM GPIO Output Pins
Replies: 5
Views: 1944

Re: RPi3 BCM2837 PWM GPIO Output Pins

It appears to me that on a Raspberry Pi 3 only one output at a time will work as a PWM output. I believe any of the outputs on the CanaKit "T" board will work as a PWM channel. I have verified outputs 4, 5, 6, 12, 13, 16, 17, 18, 19, 20. I assume outputs 21, 22, 23, 24, 25, 26 and 27 would work als...
by Doug Howard
Wed Jul 19, 2017 3:36 am
Forum: Beginners
Topic: RPi3 BCM2837 PWM GPIO Output Pins
Replies: 5
Views: 1944

Re: RPi3 BCM2837 PWM GPIO Output Pins

Eh? Why do you want to use a PWM GPIO to flash a LED? I assume you mean instead of using software? I'm simulating new CSX railroad signals that were just installed near us for positive train control. They look like three traffic signals stacked on top of each other for nine lamps plus a clear, luna...
by Doug Howard
Wed Jul 19, 2017 3:04 am
Forum: Beginners
Topic: RPi3 BCM2837 PWM GPIO Output Pins
Replies: 5
Views: 1944

Re: RPi3 BCM2837 PWM GPIO Output Pins

It appears to me that on a Raspberry Pi 3 only one output at a time will work as a PWM output. I believe any of the outputs on the CanaKit "T" board will work as a PWM channel. I have verified outputs 4, 5, 6, 12, 13, 16, 17, 18, 19, 20. I assume outputs 21, 22, 23, 24, 25, 26 and 27 would work also...
by Doug Howard
Wed Jul 19, 2017 12:07 am
Forum: Beginners
Topic: RPi3 BCM2837 PWM GPIO Output Pins
Replies: 5
Views: 1944

RPi3 BCM2837 PWM GPIO Output Pins

On a RPi3, What GPIO pins can be used as PWM outputs? I would like to flash more than one LED.
I'm having trouble in my Python code changing the PWM output pin.
Why is this so hard to find?
Thanks in advance,
Doug.
by Doug Howard
Tue Jul 18, 2017 11:47 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 231
Views: 56424

Re: Circle - C++ bare metal environment (with USB)

I searched for"BCM2837 PWM"
What pins can be used on a RPI3 for PWM? Why is this so had to fine?
I would like to flash more than one LED.
thanks in advance,
Doug Howard
by Doug Howard
Tue Jul 18, 2017 11:41 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 231
Views: 56424

BCM2837 PWM

Hi, if the naming scheme st uses is not invented by them, it should be something like APB1 .. n which means something like ARM Peripheral Bus or the like ;) As st-chips have various APB clocks, that might be true for bcm2837 and some pins might clock at higher speed if used by an alternate function...
by Doug Howard
Sat Jul 08, 2017 6:21 am
Forum: Beginners
Topic: A variable in a function call
Replies: 4
Views: 622

Re: A variable in a function call

Thank you, It worked and I still don't understand "tuples". Now I need to work on changing the PWM function to different GPIO pins. Thanks again.
by Doug Howard
Sat Jul 08, 2017 2:22 am
Forum: Beginners
Topic: A variable in a function call
Replies: 4
Views: 622

Re: A variable in a function call

I am not a programmer. I am trying to control ten (10) LED's and a 4 x 20 i2c LCD display in seventeen (17) different variations. I have ~ 375 lines of Python code with comments. I have inserted several prints statements and breaks to debug the code. I can pass two string variables (Rules and Aspec...
by Doug Howard
Fri Jul 07, 2017 9:08 pm
Forum: Beginners
Topic: A variable in a function call
Replies: 4
Views: 622

A variable in a function call

I am not a programmer. I am trying to control ten (10) LED's and a 4 x 20 i2c LCD display in seventeen (17) different variations. I have ~ 375 lines of Python code with comments. I have inserted several prints statements and breaks to debug the code. I can pass two string variables (Rules and Aspect...

Go to advanced search