Do I need a RTOS?

Author
elsa
Max Output Level: -90 dBFS
  • Total Posts : 15
  • Joined: 2016/09/19 23:21:24
  • Status: offline
2016/11/21 03:23:37 (permalink)

Do I need a RTOS?

My hardware would have a DSP with the following characteristics:
  • Sound generation (internal parameter will generate pure tones, white noise, filtered white noise or the sum of them).
  • I2C communication with sensors.
  • 4 capacitive sensing inputs (on/off for example) and 2 LEDs.
  • Communication with flash memory (I2C or SPI) for MP3 or other music files storage
  • HCI (UART or USB) to Bluetooth module (probably Panasonic's, as they are smaller).
  • BT stack with ability of SPP/iAP + HFP/HSP profiles.
  • Communication with audio codec (I2S or PCM) with mic input and headphones output. First, I would send music from the flash memory and then sound would be internally generated.
  • Communication with battery charger chip.
  • USB communication for flash memory music exchange. To take in consideration the BT communication with HFP + SPP/iAP will last one hour at maximum and will be one time every month. SPP communication only could be done everyday but the data transferred is few. Wouldn't last more than ten minutes.
The battery will have to last 8 hours with only sound generation.
In order to use the BT STACK from Dotstack I would need to use FreeRTOS (also I could port the code to my device but that would take some time if it is needed).
Should I use a RTOS in my DSP as I have so many things to do? I have some questions, as I have never used one and also I think I would increase power consumption a lot.
#1

0 Replies Related Threads

    Jump to:
    © 2024 APG vNext Commercial Version 5.1