ADC samples to array using DMA.

A catchall for PSoC5 discussions not captured by the other forums.

Moderator: ericb

ADC samples to array using DMA.

Postby Texton » Fri Oct 26, 2012 11:47 am

Hi all.

Okay, I have 2 PSoC5's which both are connected to wireless transceiver modules (nRF24L01+). Now I have to record sound using ADC_DelSigma on the first PSoC5, transmit it wireless and play it on the other PSoC5.

Problem is that the wireless modules doesn't "stream" - or yes it does, but it streams in 32byte packages - so I would like to transmit 32samples (each sample being 8bit) at the time.

To do this I have to collect 32samples and put them in an uint8-array. The transmitter-PSoC5 got a lot of other stuff to do so I'll have to use a DMA to do this collection. How do I do that? :)
Texton
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 10
Joined: Fri Jul 27, 2012 10:02 am

Re: ADC samples to array using DMA.

Postby Texton » Fri Oct 26, 2012 1:58 pm

Never mind I found a nice link:

http://www.cypress.com/?rID=44335

explains it all
Texton
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 10
Joined: Fri Jul 27, 2012 10:02 am

Re: ADC samples to array using DMA.

Postby dalapoi » Tue Feb 18, 2014 8:03 pm

Hi,

Any chance if you can publish your driver for the nrf24l01 that you ported on PSOC 5?

Thanks
dalapoi
Newbie
Newbie
 
Posts: 1
Joined: Tue Feb 18, 2014 7:59 pm


Return to “%s” PSoC5 General

Who is online

Users browsing this forum: No registered users and 1 guest