Search found 2 matches
- Sat Feb 25, 2023 8:59 am
- Forum: General Discussion
- Topic: I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
- Replies: 2
- Views: 1183
Re: I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
I set dma_trans.des.size but I did't get any response, but I read in technical reference for esp32c3 in system and memory chapter the following: ""when accessing a memory via GDMA, a corresponding access permission is nedded, otherwisethis access may fail"" also: ""All of the internal memories are m...
- Thu Feb 23, 2023 8:15 pm
- Forum: General Discussion
- Topic: I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
- Replies: 2
- Views: 1183
I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
#include "gdma_struct.h" typedef struct dma_link { struct { uint32_t size : 12; //the size of buf, must be able to be divisible by 4 uint32_t length: 12; //in link, uint32_t reversed: 6; //reversed uint32_t eof: 1; //if this dma link is the last one, you shoule set this bit 1. uint32_t owner: 1; //...