cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox PSoC 6 SDK

New Contributor

Hi,

I try the example project SCB_SPI _Master_DMA but there is an error with the following line:

Cy_DMA_Descriptor_SetDstAddress(&txDma_Descriptor_0, (void *)&mSPI_HW->TX_FIFO_WR);

The TX_FIFO_WR : could not be resolved.

I try to find some advice in google, but no luck!

Do you have some advice ?

Thanks.

Gilles.

0 Likes
Reply
6 Replies
New Contributor

Just to complete my question I have the following kit : CY8CPROTO-062-4343W

G*

0 Likes
Reply
Employee

Hi,

We are not facing any issues while we build the example project.

Can you let us know your PC configuration?

Can you also try building other code examples and check if that is working?

Regards

Alakananda

Alakananda
0 Likes
Reply
New Contributor

Hi,

Thank You for your answer. My PC is Windows 10 last update, I try the blink led and hello word without any trouble.

I have updated Modus Toolbox with the last patch 2.21 and I have the same  trouble. In fact I would to use the WS2812 Project (https://iotexpert.com/psoc-6-dma-ws2812-leds-modus-toolbox/ ) and I have this error. So I try the SPI-DMA project from scratch to verify if there is some error in the project WS2812, and I have the same trouble. I paste a print screen with the error in the spi_dma.c

I try to replace &mSPI_HW->TX_FIFO_WR by &SCB2->TX_FIFO_WR but no luck, same problem.

Gilles.

pastedImage_2.png

0 Likes
Reply
New Contributor

Just to complete, when I build the project there is no errors, no warning, but there is a problem as I show in the previous print screen. And when I try the program on the board it is not OK.

Result of build:

pastedImage_0.png

0 Likes
Reply
New Contributor

Hello,

Anybody do you have  any news ?

0 Likes
Reply
New Contributor

Finally I find the solution:

- On project name, right click, select index --> Freshen All files

follow by:

- On project name, right click, select index --> Rebuild

and after Build project and every things are Ok.

G*

0 Likes
Reply