DSP Function Generator with Cortex-M4F and C

System Overview Project details for the hardware can be found here Required Kicad Hardware library: https://github.com/cracked-machine/KicadLibrary For details of the MCU configuration and firmware refer to FunctionGeneratorCortexM4_SW Note, RevB was the final design. RevC was not built and is an untested future proposal. Features This STM32-based instrument has the following features: Output signal with synchronized…

Read the full article

Music I listened to in 2020

Mr Bungle - Raging Wrath of the Easter Bunny I always knew this was a good record but the original demo was of such poor recording quality it was difficult to be sure. Well, now we have proof! This sits somewhere between Grindcore, Thrash metal and Ween. What? You need more?! Clipping. - Visions of…

Read the full article

Serial output with JLinkRTTClient on the nRF52-DK with Zephyr

Prerequisites Zephyr RTOS https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html Zephyr SDK https://docs.zephyrproject.org/1.11.0/getting_started/getting_started.html Nordic CLI Tools (includes JLink Tools) https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools VSCode SEGGER JLINK -NORDIC nRF52-DK Building and uploading the hello-world program change directory to the nRF_Connect_SDK/ncs/zephyr/samples/hello_world directory Add -DNRF_LOG_USES_RTT=1 to makefile. e.g. CMakeLists.txt…

Read the full article

DSP Peak Detector algorithm in practice

DSP Peak Detector Algorithm Note, X is the channel number. MIXER_PEAK_MAPPING and SPLITTER_PEAK_MAPPING are used to support GPIO mappings for different PCB layouts. ADC input demux The data from multiple ADC channels is interlaced into a single array: [0]=CH1, [1]=CH2, [2]=CH3, [3]=CH4, [5]=CH1... This must be demuxed or binned according to ADC_NUMBER_OF_CHANS Average sampled voltage…

Read the full article

Fundamental Theorem of Calculus

An antiderivative of a function f is one function F whose derivative is f . OR F ( x ) is the antiderivative of f ( x ) For example: A definite integral equals the difference between the antiderivative of the bounds of the definite integral F ( b ) − F ( a )…

Read the full article