Search found 22 matches

by BugSimpson
Thu Jan 02, 2025 8:18 pm
Forum: General Discussion
Topic: UART Interrupt without UART driver
Replies: 10
Views: 7367

Re: UART Interrupt without UART driver


Suggest you read the technical reference manual (in as far as you haven't already) to handle interrupts on the UART side, but to connect the interrupt to an ISR, it'd be best to use esp_intr_alloc . You can do it by poking directly into the relevant registers as well, but since the ESP32 does run ...
by BugSimpson
Wed Jan 01, 2025 4:52 pm
Forum: Hardware
Topic: change cpu clock on a esp32c3
Replies: 0
Views: 986

change cpu clock on a esp32c3

Hello, can someone explain to me how to change the CPU clock? I tried the following
I don't know what to do at the moment... >


const uint8_t cpu_clock_source[][3] = {
//SYSTEM_SOC_CLK_SEL | SYSTEM_PLL_FREQ_SEL | SYSTEM_PERIOD_SEL
{ 0 , 0 , 0 },
{ 1 , 1 , 0 },
{ 1 , 1 , 1 },
{ 1 , 0 , 0 },
{ 1 ...
by BugSimpson
Sat Dec 28, 2024 6:36 pm
Forum: Hardware
Topic: esp32c3 change cpu_clock_src
Replies: 2
Views: 871

Re: esp32c3 change cpu_clock_src

i only read this register..
by BugSimpson
Sat Dec 28, 2024 10:06 am
Forum: Hardware
Topic: esp32c3 change cpu_clock_src
Replies: 2
Views: 871

esp32c3 change cpu_clock_src

hello @all,

i try to change the cpu clock source (by manipulating registers) and read the
( SYSTEM_SYSCLK_CONF_REG & SYSTEM_CLK_XTAL_FREQ_bm ) xtal frequency, i become everytime 40mhz.
it will be not change -.-*

i try to change like this ->


void app_main(void)
{
sys_set_cpu_clock_frequency ...
by BugSimpson
Wed Dec 25, 2024 6:39 pm
Forum: Hardware
Topic: How i can disable automatic CS from SPI
Replies: 5
Views: 2439

Re: How i can disable automatic CS from SPI

i allready have try this, have you seen my picture in #1?
there you can see short spikes.. i dont no why^^
by BugSimpson
Wed Dec 25, 2024 9:15 am
Forum: Hardware
Topic: How i can disable automatic CS from SPI
Replies: 5
Views: 2439

Re: How i can disable automatic CS from SPI

I dont use the framework.
I want to now how I can do this with Register…
by BugSimpson
Mon Dec 23, 2024 6:13 pm
Forum: Hardware
Topic: How i can disable automatic CS from SPI
Replies: 5
Views: 2439

How i can disable automatic CS from SPI

good evenig,

i use a c3 in spi master mode.
which register must be write to handle the cs pin by my self?
i have try to disable the mapping for FSPICS0 but i become a cs from about 40ns (see picture)

thx
by BugSimpson
Fri Dec 20, 2024 5:54 pm
Forum: Hardware
Topic: ESP32C3 > SPI > Single Transfer Mode
Replies: 0
Views: 1919

ESP32C3 > SPI > Single Transfer Mode

I have another question about the SPI interface in single transfer mode.

You can fill the registers from SPI_W0_REG - SPI_W15_REG with data.

When I call my function, it sends the contents of SPI_W0_REG, but SPI_W1_REG is also filled with data.

How does it work that it also sends the second ...
by BugSimpson
Thu Dec 19, 2024 6:16 pm
Forum: Hardware
Topic: esp32c3 > spi > send words fail
Replies: 2
Views: 2009

Re: esp32c3 > spi > send words fail

The number of bytes is correct. Is it possible that there is still a bit that needs to be queried if the transmission is ready?

Go to advanced search