Closed digitaldanny closed 3 years ago
Hardware being leveraged from DSP course.
Initial SW plan. Should be able to eliminate the need for dual-core with 6DOF calculation on glove-side.
Need to implement a non-blocking read so the DSP algorithms can run while waiting for new controller data.
Needed to do some project configurations to get the PitcherThis project back up and running.
Project > Properties > Build > C2000 Compiler
C:\Users\Daniel\workspace_v10\SeniorDesign_DspEffectsRack_v2\device\driverlib C:\ti\c2000\C2000Ware_3_03_00_00\device_support\f2837xd\common\include C:\ti\c2000\C2000Ware_3_03_00_00\device_support\f2837xd\headers\include C:\Users\Daniel\Desktop\SW_Projects\GestureControl\demo C:\ti\c2000\C2000Ware_3_03_00_00\device_support\f2837xd\common\source C:\ti\c2000\C2000Ware_3_03_00_00\device_support\f2837xd\headers\source C:\Users\Daniel\Desktop\SW_Projects\GestureControl\demo\inc C:\Users\Daniel\Desktop\SW_Projects\GestureControl\demo\src C:\ti\c2000\C2000Ware_3_03_00_00\libraries\dsp\FPU\c28\include ${CG_TOOL_ROOT}/include ${INSTALLROOT_F2837XD}/headers/include ${INSTALLROOT_F2837XD}/common/include ${PROJECT_LOC}/../../Desktop/SW_Projects/GestureControl/demo ${PROJECT_LOC}/../../Desktop/SW_Projects/GestureControl/device
Project > Properties > Build > C2000 Linker > File Search Path
rts2800_fpu32.lib libc.a F2837xD_Headers_nonBIOS_cpu1.cmd DspEffectsRack_2837xD_RAM_lnk_cpu1.cmd
C:\Users\Daniel\Desktop\SW_Projects\GestureControl\demo ${CG_TOOL_ROOT}/lib ${CG_TOOL_ROOT}/include ${INSTALLROOT_F2837XD}/headers/cmd
Copy and link these files into the project:
"C:\ti\c2000\C2000Ware_3_03_00_00\device_support\f2837xd\common\source\F2837xD_Dma.c" "C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2837xd\driverlib\ccs\Debug\driverlib.lib" "C:\ti\c2000\C2000Ware_3_03_00_00\libraries\dsp\FPU\c28\lib\c28x_fpu_dsp_library.lib"
Project > Properties > Build > C2000 Linker > Basic Options
I have the DSP Effects Rack program running, but I am getting weird skipping issues. Portions of the clip are sometimes playing multiple times and the output is very noisy. I believe this might be an issue with the DMA triggering before the processing is complete.
Glove controls to effects rack:
Glove Sensor | DSP Effect |
---|---|
Thumb | Toggle music on/off |
Pointer | Toggle effects on/off |
Middle | High-pass filter cutoff frequency |
Pitch | Pitch |
Roll | Low-pass filter cutoff frequency |
Describe the solution you'd like