Example Project: 16-channel 20-bit Delta Sigma ADC's data buffering w/ PSoC 3 and PSoC 5

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

The attached project implements Delta Sigma ADC's output data buffering using the DMA.

   

Since the spoke width is of 16-bits for the peripherals like  ADC, we need two independent DMAs to buffer the output data in a memory location. The ADC's input channel selection is done using an Analog Mux whose select lines are driven by a state-machine. Once the current ADC conversion is over, Analog Mux's channel select lines will change to connect the next ADC's channel.

   

The attached project works in both PSoC 3 and PSoC 5 as well. Only difference is that PSoC 3 requires endian swapping before transferring the ADC data to memory.

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

   

First of all thank you for your code.

   

Second thing, when i try to open Top Design i get the next error message: "Unable to open file from disk: (Object reference not set to an instance of an object.)"

   

 

   

can you please check it and upload the peoject once again?

   

 

   

Thank you,

   

Naftali.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are probably using a Creator version before 3.0. The uploaded project-file works error-free under Creator 3.0

   

 

   

Bob

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received
        Thank Senthilnathan. Bob Marlowe also gave us his project: http://www.cypress.com/?app=forum&rID=66562 Now we can choose and compare. It is a pity that no DMA in PSoC4 (((   
0 Likes