cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

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
Reply
3 Replies
Esteemed Contributor II

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
Reply
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
Reply
Esteemed Contributor II

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
Reply