PI-CPUF407 is a module with STM32F407 processor, Fast Ethernet and Wi-Fi communication interface, SD card slot, two USB 2.0 peripheral interfaces (1x Full Speed and 1x High speed) and GPIO expansion connector with digital and analog inputs and outputs. The advantage is low power consumption, which also allows battery operation. The module has a small Rasberry PI format size with similarly placed connectors and mounting holes, so it fits into most Rasberry PI boxes. Also, the expansion GPIO connector has a similar wiring so that expansion HAT modules can also be used.
Target applications:
|
Features:
|
PI-CPUF407 is powered either with USB-C connector or with independent input with terminal block. On USB-C is UART bridge for service terminal. It is also available without Wi-Fi, Ethernet and/or USB.
A sample application is available to speed up the development of the desired application.
The sample application contains:
- Bootloader for application update over terminal
- OS FreeRTOS
- TCP/IP stack lwIP
- DHCP client
- NTP client
- Command terminal via serial line and telnet (commands similar to OS Linux)
- FatFs for reading MicroSD card files and USB drives
- Control of digital and analog inputs and outputs (modules PI-DIO, PI-AIO and PI-FIO)
Block diagram of PI-CPUF407:
The PI-CPUF407 includes an expansion connector with GPIO, which can be used to connect additional modules and thus expand the required interfaces. The connector wiring is as follows:
+3.3V | 1 | 2 | +5V |
PB7/I2C1_SDA | 3 | 4 | +5V |
PB8/I2C1_SCL | 5 | 6 | GND |
PE0 | 7 | 8 | PC6/USART6_TX |
GND | 9 | 10 | PC7/USART6_RX |
PE1 | 11 | 12 | PG7/USART6_CLK |
PE2 | 13 | 14 | GND |
PE3 | 15 | 16 | PF3/ADC9 |
+3.3V | 17 | 18 | PF4/ADC14 |
PG6 (SPI_MOSI)* | 19 | 20 | GND |
PG5 (SPI_MISO)* | 21 | 22 | PF5/ADC15 |
PG4 (SPI_SCLK)* | 23 | 24 | PG3 (SPI_SS0)* |
GND | 25 | 26 | PG2 (SPI_SS1)* |
PF0/I2C2_SDA | 27 | 28 | PF1/I2C2_SCL |
PB14/IRQn | 29 | 30 | GND |
PF6/TIM10_CH1 | 31 | 32 | PA0/ADC0 |
PF7/TIM11_CH1 | 33 | 34 | GND |
PF8/TIM13_CH1 | 35 | 36 | PA4/DAC1/ADC4 |
PF9/TIM14_CH1 | 37 | 38 | PD0/CAN1_RX |
GND | 39 | 40 | PD1/CAN1_TX |
* These pins do not have hardware support for SPI, but can be emulated in software
Downloads:
PI-CPUF407 Product brief
PI-CPUF407 Datasheet
Sample applications:
Bootloader
The bootloader is the base code that is running after the device starts. It waits about 10 seconds for an attempt to update the application via the terminal or from the MicroSD card. It then boots the main application.
Sample application
Basic application containing code for controlling all peripherals including sub-modules - Ethernet, Wi-Fi, LwIP, USB-PD, USB, MicroSD, RS-232/485/422, command line, IPv4 and IPv6 support, DHCP, telnet, NTP.
PI-CPUF407 sample application on GitLab