Strange problems with DMA/SPIS

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

cross mob
Anonymous
Not applicable

Hi,

I have been using SPIS and feeding the TX buffer using DMA. However, the following strange behavior is observed :

  • When the output GPIO RS485_IO5 (that is used for debugging and not connected to anything in the board) is enabled, the DMA works.
  • If I disable the GPIO (right click - disable) . the DMA stops working ......

This has been confirmed a few times. nothing else is changed in the design/code or the board .....

SPIS mode 0

SPIS tx interrupt is FIFO NOT FULL

DMA drq is set on LEVEL

CY8C5888AXI-LP096

I apologize, but I will not be able to share the design. if data is missing I will provide it in comments.

pastedImage_1.png

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Assaf,

What are all the other resources used in the project ? Does the RX DMA work properly ?

Best Regards,
VRS

0 Likes