dudmuck / lora_codec2

using stm32f4-discovery with SX1262 for voice
GNU Lesser General Public License v2.1
28 stars 10 forks source link

PDM #1

Open 0x0fe opened 2 months ago

0x0fe commented 2 months ago

Hello, are you using the PDM library of ST or are you only using your simplified PIR based on the LUT? i see both in the project.

dudmuck commented 2 months ago

All of the examples appear to use the PDM FIR driver from the pdm_fir directory. This is from five years ago, so i do not remember it very well, so i cannot see any PIR implementation based on a lookup table. The PDM FIR library is also referenced in the credits section of the readme.

0x0fe commented 2 months ago

Thank you for the clarification, by LUT i meant the byte_coeff LUT in pdm_fir.h. Anyway this example is an interesting use case of LoRa (off gird communication, bike/motorbike communicators). I thought of that with SX1280 at the time but never with SX1262, although i doubt it can comply with EU and possibly US regulations due to the 1% duty cycle requirement (unless using a constant channel hopping scheme maybe). I will try to test it with STM32F401CC and ICS-41350.