Page 1 of 1

Can we program ESP32 UART in assembly language ?

Posted: Mon May 16, 2022 6:45 am
by Rushi3499
I tried the assembly language on ESP32-c3-devKitC-02, but I cannot see the output. So, can we program the UART in assembly for the same esp32?

Re: Can we program ESP32 UART in assembly language ?

Posted: Mon May 16, 2022 6:53 am
by ESP_Sprite
Yes.

Re: Can we program ESP32 UART in assembly language ?

Posted: Thu Jun 23, 2022 11:51 am
by Rushi3499
Any sample assembly code for that?

Re: Can we program ESP32 UART in assembly language ?

Posted: Fri Jun 24, 2022 4:26 am
by Rushi3499
Can you help for tha UART assembly programming for transmite and receive the data ?

Re: Can we program ESP32 UART in assembly language ?

Posted: Fri Jun 24, 2022 5:01 am
by ESP_Sprite
No, sorry, while it's possible, no one really programs the ESP32 series in assembly. If you want UART code, you'll likely have to write it yourself.

(Btw, is there a reason you're so adamant on writing it in assembly rather than e.g. using the existing C drivers?)

Re: Can we program ESP32 UART in assembly language ?

Posted: Fri Jun 24, 2022 10:33 am
by bobolink
A google search for “risc-v uart assembly” turned up lots of examples for me.
I think it is a popular homework assignment.