-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi i'm trying to get this working on the raspberry pi without much luck. I've found that the printk in the timer callback is too slow so the transmit speed is not reliable, removing it does fix the issue. Another issue i found is in the manchester encoding i think the bits are swapped the comments are right but the code is wrong in https://github.com/flofeurstein/DaliDriver/blob/master/dali_drv.c#L169 .
I'm also getting wierd timing issues, for example the first bit is sent with a period of about 600 us and from then on it gets the right period of ~830 us but the duty cycle is wrong should be 50% but it's ~70% (if you want i can get you a screenshot from the scope). Do you have any idea on how to fix this?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels