Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:45 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : bitbang ws2812 interferes with IR receive

Author Message
k2backhoe
Regular Member

Joined: 04/12/2021
Location: United States
Posts: 47
Posted: 04:28am 12 May 2022
Copy link to clipboard 
Print this post

I haven't poured through the manual yet, that's my next step, so if the answer is obvious, just give me a page number.
I have a program that does a LOT of bitbanging data to long strings of ws2812 panels.  I tried to run the IR decoder as shown in page 31 (manual 5.07.03).  I get random wrong stuff (mostly 0's) for the key codes.  I turn off the bitbanging and it works perfectly.  
Do I have to disable the IR interrupts until I pause the ws2812 transfers?  Alternate between one and the other?
It's late and I'll try more tomorrow.  Any help is appreciated.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8298
Posted: 06:32am 12 May 2022
Copy link to clipboard 
Print this post

Bitbang on the WS2812 is very timing critical, I believe. It's quite possible that interrupts are being disabled automatically during a string update. That would mess with the IR reader - or anything else that uses interrupts.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025