E1.20 RDM (Remote Device Management) Protocol Forums

E1.20 RDM (Remote Device Management) Protocol Forums (http://www.rdmprotocol.org/forums/index.php)
-   RDM General Implementation Discussion (http://www.rdmprotocol.org/forums/forumdisplay.php?f=4)
-   -   DMX (http://www.rdmprotocol.org/forums/showthread.php?t=1290)

saiteja October 24th, 2018 12:57 AM

DMX
 
I am developing code in STM32F407 Controller and i have taken RGBW mode in DMX. now i am looking to add strobe effect to RGBW. iam setting the PWM and making it zero after some delay. at slower delays like 25ms the lights are hangging. i thought that is because of interrupt during delay. so i implemented timer delay concept there also iam facing same issue. Can some one suggest solution for this

saiteja October 24th, 2018 01:00 AM

i want simultaneous option of change in PWM and strobe at different speeds.
In manual it is working fine but in DMX it is hanging
in timers i am setting prescale to 84 and ARR to 99.

ericthegeek October 24th, 2018 07:15 PM

We have a lot of experience with the protocols here, but not much experience with any particular microcontroller. I suspect the answer will depend on the behavior of the specific PWM block in your chip.

saiteja October 24th, 2018 11:55 PM

Quote:

Originally Posted by ericthegeek (Post 3221)
We have a lot of experience with the protocols here, but not much experience with any particular microcontroller. I suspect the answer will depend on the behavior of the specific PWM block in your chip.

If only PWM eventhough giving simultaneously it was taking but when adding strobe function to it. it is haging. For this i have tried with SmoothPWM by taking TIM5 in that simultaneous working is fine but issue is at lower delays like 25ms and 50ms it is not getting the high intensity

Oiment February 27th, 2019 09:36 AM

Why would lower delays in those ranges cause problems? I thought lower delays were easier to handle.


All times are GMT -6. The time now is 04:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.