Page 1 of 1

WROOM-32U

Posted: Thu Jan 17, 2019 8:27 am
by stefan_matters
Hello together,

I want to use the WROOM-32U in our new iot-product but I have some issues with the GPIO PINMUX. The requirements are:
3 xUARTs @ 9600 baud
2 xSPI Slaves (one SPI controller)
1 xSD Host Controller (4Bit)
2 xI2C
3 xPWM
2 xGPIOS

The Module use an internal Flash which is connected to 6 pins.

My question is:
Can I map the UART1 to other Pins as 17/18 which are used for the flash ?

Can I use the SPI controller for 2 other Chips with a dedicated Chip Select Pin (normal GPIO) ?

I want to Programm the Module via the latest ESP-IDF.

Thanks
Stefan

Re: WROOM-32U

Posted: Sat Jan 19, 2019 3:45 am
by ESP_Sprite
Yes and yes. The UART (and SPI) pins can be remapped to any GPIO (but note some GPIOs are input-only) and each SPI peripheral can have up to 3 hardware CS pins.

Re: WROOM-32U

Posted: Wed Jan 23, 2019 12:09 pm
by stefan_matters
Thanks,

but the wroom-32u use a internal SPI Flash, so we cannot map the SPI pins (CLK, MOSI,MISO CS0) to another pins.
But I can use the SPI controller to communicate with other peripherals via CS 1 CS 2 is that right ?
This mode is also supported by freertos ?

Thanks
Stefan