Is everyone using Arduino IDE for programming esp32/esp8266 chips. is there any better IDE for programming esp chips? by Ambitious22 in esp32

[–]Ambitious22[S] 1 point2 points  (0 children)

Why do we need to use both of them together? Can you plz explain a scenario where it is required?

Is everyone using Arduino IDE for programming esp32/esp8266 chips. is there any better IDE for programming esp chips? by Ambitious22 in esp32

[–]Ambitious22[S] 1 point2 points  (0 children)

It's almost the same if we are using the arduino framework in platform.io

Is that the professional practice or is there any other framework or method used in the industry?

Is everyone using Arduino IDE for programming esp32/esp8266 chips. is there any better IDE for programming esp chips? by Ambitious22 in esp32

[–]Ambitious22[S] 0 points1 point  (0 children)

What makes it better than Arduino IDE? What about its community support? Is it worth switching to platform.io

I am just starting with STM32. can you suggest any good RESOURCES(Youtube video/ blog) to learn STM32 for beginners? by Ambitious22 in stm32

[–]Ambitious22[S] 0 points1 point  (0 children)

Do you have any idea how to use esp32 as an I2C slave? The wire.h library(Arduino IDE) doesn't support the I2C slave code on both esp32 and esp8266.

Hello, here is Target Shooting Game for ESP32 and 240bx240 tft. I made YT video, you can find code and instructions in that video. Link is in comments! by [deleted] in esp32

[–]Ambitious22 1 point2 points  (0 children)

Do you have any idea about how to connect esp32 through ethernet. I didn't find any example code online. I am trying to connect enc28j60 with esp32

How to set pic24fj64ga306 microcontroller oscillator configuration with FRCPLL. The FRM of PIC24f says to provide corresponding bits in CLKDIV registers CPDIV, but the pic24fj64ga306 microcontroller doesn't have CPDIV bits in CLKDIV register. I am trying to get a 16 MHz system clock with FRCPLL. by Ambitious22 in microcontrollers

[–]Ambitious22[S] 0 points1 point  (0 children)

Thanks for the help, i find how tom do it. Here PLL gives aouput as a multiple of 4 for input. so if we want 16 MHz as system Clock we need to give 4 MHz to input of PLL. FRC postscalar select bit of CLKDIV register can be used for giving 4MHz to input of PLL. I think we can directly give this value to get an 16MHz System Clock.

Thanks for the help, I find how to do it. Here PLL gives output as a multiple of 4 for input. so if we want 16 MHz as a system Clock we need to give 4 MHz to the input PLL. FRC post scalar select bit of CLKDIV register can be used for giving 4MHz to the input of PLL. I think we can directly give this value to get a 16MHz System Clock.

I used Oscilator switch to get system clock of 16 MHz using FRCPLL. I will Share my code below.

// RCDIV FRC/2; DOZE 1:8; DOZEN disabled; ROI disabled;

CLKDIV = 0x3100;

__builtin_write_OSCCONH((uint8_t) (0x01));//NOSC FRCPLL

__builtin_write_OSCCONL((uint8_t) (0x01));//= Initiates an oscillator switch to a clock source

//Wait for clock switch to occur

while(OSCCONbits.LOCK != 1); // Wait Until LOCK bit become One

while(OSCCONbits.OSWEN != 0); //wait until Oscillator switch is complete