In each component datasheet is a Resources used section that tells you what
the component will use, so you can browse your project and get an idea of where
and what possibilities can be achieved by dropping component or modifying its
Byte swapping could be handled by the DMA already, look in datasheet for "Endianess". Could save you your ByteSwap_Tx component and the TX_Sync component. For your self-made UDB-components you should calculate how many UDBs each should use and check how many they actually consume.
Use a CY8CKIT-059 Prototyping Kit and use creator 3.2 SP1, it is cheaper than the pioneer kit, you get debug capabilities and last, you get a CY8C5888LTI-chip!
Some DMA ref material -
http://www.cypress.com/documentation/application-notes/an52705-psoc-3-and-psoc-5lp-getting-started-dma AN52705 Getting Started with DMA
http://www.cypress.com/documentation/application-notes/an84810-psoc-3-and-psoc-5lp-advanced-dma-topics AN84810 PSoC® 3 and PSoC 5LP Advanced DMA Topics
http://www.cypress.com/documentation/application-notes/an61102-psoc-3-and-psoc-5lp-adc-data-buffering-using-dma AN61102 PSoC® 3 and PSoC 5LP - ADC Data Buffering Using DMA
http://video.cypress.com/video-library/search/dma/ Videos on DMA
https://www.youtube.com/results?search_query=dma+psoc Videos on DMA (some overlap)
I have simpler proposition: (i) use analog microphone ($1), (ii) use analog section (OPAMP, sample-hold, comparator, ADC) to extract peak amplitude, (iii) process and accumulate data in PSoC and UART it to network by WiFi dongle. Such project should fit PSoC4 ($1).
Thanks Bob, Ill have a root around and see what can be spared.
That prototyping kit is a bargain! The PSoC on it is over budget for our bulk build but great for experimentation.
Appreciate it Dana! This could all be solved by throwing money at the problem and going for the high end PSoC, but a university research budget is pretty tight so another solution needs to be found.
Cheers for the input Odissey1 but the solution needs to handle the raw audio at high quality as we transmit audio to our servers from each node. The MCU/mic is also powered by the USB VCC so a higher level of noise rejection is needed, which the digi MEMS mics excel at.
The PSoC4 may be able to handle the audio, but the noise rejection circuitry would inflate the cost and number of parts if we moved to an analog solution.