The Snickerdoodle Book/PlatformController

From krtkl wiki
Jump to navigation Jump to search

Platform Controller

Introduction

no text here right now

15. Peripherals

ADC

Several 12-bit analog to digital converters (ADC) on the platform controller are used to monitor the on-board systems. The power supply levels are monitored using the ADCs.

TODO: insert Table 15.1: ADC Port Connection

I2C

SPI

LEDs

The platform controller is connected to 5 LEDs that are used to indicate various states and events of the board. These LEDs are connected to peripherals that are configured as PWM timers for brightness control on the LEDs through the PWM duty cycle.

TODO: insert Table 15.2: LED PWMTimer Channels

USART

USART1

USART1 is connected to the Zynq processing subsystem on UART0 and is normally used to bridge the Zynq console output to the USB device peripheral. Normally the USB device is configured as a communications device class (CDC) interface.

TODO: insert Table 15.3: Platform Controller USART1

USART2

USART2 is connected to the Bluetooth HCI interface of theWilink 8 module.

TODO: insert Table 15.4: Platform Controller USART2

USB Device

The USB device peripheral is normally configured as a communications device class (CDC) interface to provide access to the Zynq console by bridging to USART1 which is connected to UART0 on the Zynq.

During certain boot modes, the USB device is configured for device firmware upgrade (DFU) and can be used to program the platform controller by writing directly to the embedded flash memory.

Basic Parameters

TODO: insert Table 15.5: USB Parameters

GPIO

TODO: insert Table 15.6: GPIO Pin Configuration

EXTI

TODO: insert Table 15.7: GPIO External Interrupt Pin Configuration

16. Firmware

The platform controller firmware provides the logic for handling the tasks of the...

Development Environment

The integrated development environment used to target the platform controller is the ARM® Keil microcontroller development kit (MDK). The MDK can be downloaded from http://www2.keil.com/stmicroelectronics-stm32/ mdk. After registering and activating the MDK, custom platform controller firmware can be developed and compiled

17. Device Firmware Upgrade (DFU)

For full customization of the Snickerdoodle system the firmware on the platform controller can be modified and upgraded.

For more details see Chapter 17 here.


18. USB Interface (Virtual COM Port)

The USB interface is most commonly specified as a communications class device and used to bridge the UART (RS-232) connection between the platform controller and the application processor.

For more details see Chapter 18 here.