Re:Reverse Engineer the BL602 WiFi Driver
by jandrese on Wednesday July 07, 2021 @01:55PM
(#27763930)
Why does a WiFi chip have block of code dealing with an Infrared Remote Control? Was this chip originally designed for a STB?
[ Parent
| on HN ]
Re:Reverse Engineer the BL602 WiFi Driver
by ElementW on Thursday July 08, 2021 @04:18AM
(#27769439)
As Huwyt_Nashi052 said, IR controllers are generally very flexible and allow for receiving/sending arbitrary low-to-medium frequency signals.
BL602 is no exception with the software mode the controller provides, giving you access to raw pulse lengths; for example I use it as a pulse frequency counter to interpret a BLDC driver's "speedometer" line, and there are countless other applications like controlling an eInk display's common anode/cathode line.
Re:Reverse Engineer the BL602 WiFi Driver
by Huwyt_Nashi052 on Wednesday July 07, 2021 @02:26PM
(#27764259)
I must have missed it in the article but a hardware peripheral for interfacing with IR remotes is common in microcontrollers and can be very versatile with the right configuration. It's often used for driving addressable RGB LEDs, for example.
Re:Reverse Engineer the BL602 WiFi Driver
by jandrese on Wednesday July 07, 2021 @02:38PM
(#27764373)
I don't think the article talked about it directly, but there was a block right in the middle of the memory map for it.
Re:Reverse Engineer the BL602 WiFi Driver
by SAI_Peregrinus on Wednesday July 07, 2021 @03:47PM
(#27765049)
Lots of SoCs start by licensing (or already having) an existing MCU or CPU core and adding a bunch more peripherals. They didn't need the die area, so they left the IR peripheral in.
Re:Reverse Engineer the BL602 WiFi Driver
by RF_Savage on Thursday July 08, 2021 @01:32AM
(#27768729)
Could also be that they figured somebody might want to make an IR to wifi bridge solution.
Or maybe somebody might make some RGB light strip with both local IR control and app control via wifi or bluetooth?
It does make sense and IR receiver is a very simple peripheral.