Search found 6 matches

by TrebuchxD
Mon Oct 23, 2023 4:48 pm
Forum: Hardware
Topic: UART software download problem on WIN10
Replies: 1
Views: 1128

Re: UART software download problem on WIN10

Hello! After a day I managed to track the problem and find a workaround. The bridge was the problem. STLinkV2 has some (just guessing) problems with managing DTS, and RTS commands apparently. When a transmission without them is used everything works well. So just don't use it for programming ESP32. ...
by TrebuchxD
Sun Oct 22, 2023 11:16 pm
Forum: Hardware
Topic: UART software download problem on WIN10
Replies: 1
Views: 1128

UART software download problem on WIN10

Hi! I recently got my hands on the ESP32s2 module, which doesn't have an onboard USB-UART bridge. I took one (STLink Virtual COM port from STLink v2) to download my code, but the process did not work. I pulled down boot0, connected through the same bridge using the terminal and I got a message: "rst...
by TrebuchxD
Mon Aug 07, 2023 10:44 pm
Forum: Hardware
Topic: DMA configuration using registers
Replies: 6
Views: 2335

Re: DMA configuration using registers

I managed to successfully apply the DMA to the UART peripheral (using registers), as well as run the required transfer using the idf framework, but still, I wish I know what I do wrong when configuring DMA registers. Also, I checked the data array using STM32 and it was 100% correct.
by TrebuchxD
Sat Aug 05, 2023 7:08 pm
Forum: Hardware
Topic: DMA configuration using registers
Replies: 6
Views: 2335

Re: DMA configuration using registers

Yes, the addresses are correct. Here is my memory dump: (sent through UART) 0x3ffb2228: 0xc01e01e0 //belong to the dma, EOF, 480, 480 (size,len) 0x3ffb222c: 0x3ffb4c20 //data[] address 0x3ffb2230: 0x0 //No next link Hello World! DMA dsc address: 0x3ffb2228 Data: 0x3ffb4c20 //data[] address 0x3ffb4c2...
by TrebuchxD
Thu Aug 03, 2023 3:57 am
Forum: Hardware
Topic: DMA configuration using registers
Replies: 6
Views: 2335

Re: DMA configuration using registers

Hi! Thanks for the answer! The Descriptor is allocated at the stack, in function "app_main", yet the the transaction start is also called from this function, from an infinity loop (delayed by vTaskDelay() ). To check I madea global variable from the descriptor, however the program behaviour is unfor...
by TrebuchxD
Wed Aug 02, 2023 3:37 pm
Forum: Hardware
Topic: DMA configuration using registers
Replies: 6
Views: 2335

DMA configuration using registers

Hello! I bought ESP32-wroom-32 board a week ago, and I instantly started learning its capabilities. I learned how to use DPORD, GPIO, SPI peripherals using registers, but DMA stopped me. The idea is to send 2kiB of data through SPI in one transaction. I have a buffer prepared, data in it is valid (w...