how to enable DMA in sdio and spi with CYW54907(WICED 6.1)

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

cross mob
jach_2064941
Level 2
Level 2
Distributor - Weikeng(GC)
25 sign-ins 10 sign-ins 5 sign-ins

Dear

I use WICED 6.x to develop a project.

can we Enable DMA in SDIO and SPI

with CYW54907

james

0 Likes
1 Solution
KotnaniK_71
Employee
Employee
50 likes received 25 likes received 10 likes received

Hi James,

DMA is enabled by default when SDIO is initialized but for SPI, DMA can't be enabled with CYW54907.

Thanks.

View solution in original post

6 Replies
KotnaniK_71
Employee
Employee
50 likes received 25 likes received 10 likes received

Hi James,

DMA is enabled by default when SDIO is initialized but for SPI, DMA can't be enabled with CYW54907.

Thanks.

jach_2064941
Level 2
Level 2
Distributor - Weikeng(GC)
25 sign-ins 10 sign-ins 5 sign-ins

hi Michal

ok thanks

james

0 Likes
jach_2064941
Level 2
Level 2
Distributor - Weikeng(GC)
25 sign-ins 10 sign-ins 5 sign-ins

hi Michel

Can we use non-black mode with DMA?

james

0 Likes

Hi James,

By default, block mode is enabled with DMA and we don't recommend making changes in the default implementation.

Can you please provide us some more insights about your requirement.

Thanks.

jach_2064941
Level 2
Level 2
Distributor - Weikeng(GC)
25 sign-ins 10 sign-ins 5 sign-ins

hi

We want spi and dma working parallelly

we will get data from ACIS continually through SPI bus.

In the meantime, the data need to write back to sd card

in CYW54907

By the way, can we set spi SCK duty cycle

james

0 Likes

Hi James,

I regret to inform you that we can't set SPI SCK duty cycle as it is fixed by hardware.
Also, we don't have any provision to change the duty cycle for SPI SCK. 

Thanks.

0 Likes