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
WROOM-32U
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: WROOM-32U
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.
-
- Posts: 2
- Joined: Thu Jan 17, 2019 8:13 am
Re: WROOM-32U
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
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
Who is online
Users browsing this forum: No registered users and 50 guests