- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to complete my question I have the following kit : CY8CPROTO-062-4343W
G*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Anybody do you have any news ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
FYI,
Before reading your solution, I tried
Changing
Cy_DMA_Descriptor_SetDstAddress(&txDma_Descriptor_0, (void *)&mSPI_HW->TX_FIFO_WR);
to
Cy_DMA_Descriptor_SetDstAddress(&txDma_Descriptor_0, (void *)&SCB_TX_FIFO_WR(mSPI_HW));
And it was also compiled OK.
moto