Using DMA in ALU UDB project

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

cross mob
Anonymous
Not applicable

Hi.

   

Just one question. How can I using DMA put data from PSoC SRAM to registers in ALU, for example I want to send uint8 byte to A1 register without using ARM processor - that means without using this code ' component01_<ALU_1>__A1_REG = byte;'.
 

   

With regards.

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

IO to datapath components is usually done using the FIFOs This is quite more flexible. The transfer from FIFO to a register is then done using a UDB state machine.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Then it isn't possible to directly (using DMA) write or read to/from ALU registers? Can you show example, how to configure DMA to write or read from ALU? I've read datasheets, Application Notes, but still can't find answer to this problem.

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

Read "Component Author Guide". Chapter 6.4 gives you the name of the accumulator in your component.

   

Chapter 7 shows how to implement DMA capabilities.

   

 

   

Bob

0 Likes