czwartek, 6 października 2011

Opis Development Board - STM32 FireBull

 
Poniżej pokrótce przedstawię parametry posiadanej przeze mnie płytki, którą zakupiłem jakiś czas temu z Chin za pośrednictwem ebay.pl. Aby nie powielać licznych informacji do znalezienia w sieci, pozwolę sobie przytoczyć opis płytki z ów aukcji:



STM32F103VCT6 development board + 3.2'' TFT LCD touch screen
Features
  • MCU: STM32F103VCT6 from STMicroelectronics, incorporates the high-performance ARM® Cortex™-M3 32-bit RISC core operating at a 72 MHz frequency in LQFP100 package. The STM32F103VCT6 offers high-speed embedded memories(256KB FLASH, 48KB RAM), 12-bit ADC, DAC, PWM, I2C, SPI, I2S, SDIO, USART, USB, CAN, and FSMC.
  • 3.2'' TFT LCD touch screen, 320*240 resolution, 262k color, 8/16 bit bus, IO controlling, Stand-Alone touch controller chip, supports 1 SD card(SPI) and 1 DATA FLASH for storage application, such as images, files, data, etc.
  • 128M NAND FLASH, IO controlling, customized updating is available(supports up to 1G, 2G, 4G, etc.).
  • Onboard high performance MP3/WMA/MIDI audio decoder and ADPCM encoder: VS1003. It is a single-chip MP3/WMA/MIDI audio decoder and ADPCM encoder. It contains a highperformance, proprietary low-power DSP processor core VS DSP4, working data memory, 5 KiB instruction RAM and 0.5 KiB data RAM for user applications, serial control and input data interfaces, 4 general purpose I/O pins, an UART, as well as a high-quality variable-sample-rate mono ADC and stereo DAC, followed by an earphone amplifier and a common buffer.
  • One USB host port, features a file manage and control chip: CH376, used to MCU system read/write file in USB Flash Drive or SD card. CH376 supports USB-Device Mode and USB-HOST Mode. Set the basic firmware of USB communication protocol in the inner. It is also set firmware of special communication protocol to deal with Mass-Storage devices, communication interface firmware of SD card, FAT16, FAT32 and FAT12 file system manage firmware in the inner. It supports common USB storage devices (contains USB Flash Drive/USB hard disk/USB Flash memory/USB read card) and SD cards (contain SD card with standard capacity and HC-SD card with high capacity, MMC card and TF card compatible with protocol).
    • Supports 1.5Mbps low-speed and 12Mbps full-speed, compatible with USB V2.0, only needs crystal and capacitance external.
    • USB-HOST Mode and USB-DEVICE Mode, automatically switch Host Mode and Device Mode.
    • Supports USB device control transfer, bulk transfer and interrupt transfer.
    • Detects USB device plug and unplug automatically and sends message to USB host.
    • Set file system manage firmware of FAT16, FAT32 and FAT12, support the capacity up to 32GB USB Flash Drive and SD Card.
    • Supply file manage function: open, create or delete file, enumerate and search file, create the sub-catalog, and support the long file name.
    • Supply 8-bit passive parallel interface with 2MB speed, support parallel data bus connect to MCU.
    • Supply SPI device interface with 2MB/24MHz speed, support SPI serial bus connect to MCU.
  • One Ethernet port, features a Microchip Stand-Alone Ethernet Controller with SPI Interface: ENC28J60. Onboard RJ45 connector with transformer and indicator LED.
    • IEEE 802.3™ Compatible Ethernet Controller
    • Fully Compatible with 10/100/1000Base-T Networks
    • Integrated MAC and 10Base-T PHY
    • Supports One 10Base-T Port with Automatic Polarity Detection and Correction
    • Supports Full and Half-Duplex modes
  • One USB device port(supported by STM32F103VCT6)
  • Communication Interfaces: one CAN, one RS485two RS232
  • SD card slot that uses SPI interface
  • Memories: one EEPROM with I2C interface & one Data Flash with SPI interface
  • AD & DA function: one potentiometer for ADC input adjustment, Screw-terminated connectors for two channels ADC input & one channel DAC output
  • Human-Machine Interfaces: one buzzer, four user LEDs, one power indicator, one USB communication indicator, three user push-buttons, one joystick(five directions), one reset button
  • Powered from 5V DC or USB interface, configured via onboard jumper
  • Dimension: 15cm x 11cm



Oraz obrazek wraz z rozmieszczeniem elementów (moja płytka wygląda nieco inaczej, ale jedynie pod względem estetycznym tak więc cały układ został ten sam):


1. 5V DC jack
2. USB port (slave/device mode)
3. MCU
- STM32F103VCT6
- LQFP100 package
4. COM port 1 & 2
5. RS-232 transceiver: SP3232
6. Screw-terminated connectors for ADC & DAC
- two channels ADC input
- one channel DAC output
7. RS-485 transceiver: SP3485
8. Screw-terminated connectors for CAN & RS485
9. CAN transceiver SN65VHD230
10. NAND Flash, 128M
11. TFT LCD module connector
12. Battery holder
13. Data Flash with SPI interface
14. one joystick & three push buttons
15. MP3/WMA/MIDI audio decoder and ADPCM encoder: VS1003
16. Reset button
17. three audio ports
18. File manage and control chip: CH376
19. USB port (host mode)
20. Stand-Alone Ethernet Controller with SPI Interface: ENC28J60
22. Ethernet port
23. JTAG/SWD port
24. EEPROM with I2C interface



To by było na tyle jeśli chodzi o podstawowy opis płytki, na chomiku zamieściłem schemat elektroniki płytki.

http://chomikuj.pl/bula87/STM32 - Schemat - STM32F103VCT6_ board

2 komentarze:

  1. Bardzo fajny blog. Również zamierzam zacząć przygodę z tą płytką (póki co jestem w fazie wyboru płytki).
    Mam nadzieję, że nie skończyłeś przygody i będziesz kontynuował ten tutorial :)
    Jestem ciekawy samego sposobu programowania- nie sprawiało kłopotów?

    OdpowiedzUsuń
  2. Dzięki.
    Płytkę polecam jak najbardziej bo rodzina procesorów bardzo przyjazna, coraz więcej materiałów w necie można znaleźć jak również w gazetach.

    Blog oczywiście będę prowadził dalej ale chwilowo walczę z pracą inżynierską jak również rekrutacją do pracy. Tak więc jak się nieco z tym ogarnę to mam zamiar przedstawić to do czego mi się udało jeszcze dojść:
    Obsługa wyświetlacza LCD, prosta biblioteka graficzna, ADC, interfejs 1-WIRE na przykładzie DS18B20 i parę innych. Tak więc za jakiś czas można śmiało zaglądać.

    A co do sposobu programowania to było nieco problemów na początku ale bardziej technicznych. Z racji, że programuję przez interfejs SWD to musiałem przekonfigurować środowisko i dojść do tego, że jedynym sposobem programowania jest puszczenie debugera, a nie jak powinno być normalnie upload do pamięci :) poza tym środowisko Keil jest jak najbardziej przyjazne.

    OdpowiedzUsuń