507e01cb8e
Squashed commit of the following: boards/arm/s32k1xx/s32k148evb: Correct linker scripts for the S32K148, Update README files, Hook eht S32K148EVB into the configuration and build system. arm/s32k1xx/s32k148evb: Verify core and peripheral clocking. It is the same as the S32K146EVB. Fixed one-too-many copy-paste error in both. boards/arm/s32k1xx/s32k148evb: Correct LED and button pin number for the S32K148EVB. boards/arm/s32k1xx/s32k148evb: Change all occurrences of 146 to 148. boards/arm/s32k1xx/s32k148evb: Initial S32K148EVB. Initial commit is just clone of S32K146EVB with file name changes |
||
---|---|---|
.. | ||
configs/nsh | ||
include | ||
scripts | ||
src | ||
Kconfig | ||
README.txt |
README ====== This directory hold the port to the NXP S32K146EVB-Q144 Development board. Contents ======== o Status o Serial Console o LEDs and Buttons o OpenSDA Notes o Configurations Status ====== 2019-08-18: Configuration created but entirely untested. This configuration is intended, initially, to verify s32k14x architecture support. The configuration builds and links without error but has not yet been tested. This is VERY much a work in progress and you should not use this configuration unless you are interested in assisting with the bring-up. 2019-08-20: Initial testing, I am running out of SRAM to avoid the brickage problems I had with the S32K118EVB (i.e., with CONFIG_BOOT_RUNFROMISRAM=y). The NSH configuration now appears work correctly. Only verified when running SRAM at present. Serial Console ============== By default, the serial console will be provided on the OpenSDA VCOM port: OpenSDA UART TX PTC7 (LPUART1_TX) OpenSDA UART RX PTC6 (LPUART1_RX) USB drivers for the PEMIcro CDC Serial port are available here: http://www.pemicro.com/opensda/ LEDs and Buttons ================ LEDs ---- The S32K146EVB has one RGB LED: RedLED PTD15 (FTM0 CH0) GreenLED PTD16 (FTM0 CH1) BlueLED PTD0 (FTM0 CH2) If CONFIG_ARCH_LEDS is not defined, then the user can control the LEDs in any way. The following definitions are used to access individual RGB components. The RGB components could, alternatively be controlled through PWM using the common RGB LED driver. If CONFIG_ARCH_LEDs is defined, then NuttX will control the LEDs on board the s32k146evb. The following definitions describe how NuttX controls the LEDs: ==========================================+========+========+========= RED GREEN BLUE ==========================================+========+========+========= LED_STARTED NuttX has been started OFF OFF OFF LED_HEAPALLOCATE Heap has been allocated OFF OFF ON LED_IRQSENABLED Interrupts enabled OFF OFF ON LED_STACKCREATED Idle stack created OFF ON OFF LED_INIRQ In an interrupt (no change) LED_SIGNAL In a signal handler (no change) LED_ASSERTION An assertion failed (no change) LED_PANIC The system has crashed FLASH OFF OFF LED_IDLE S32K146EVN in sleep mode (no change) ==========================================+========+========+========= Buttons ------- The S32K146EVB supports two buttons: SW2 PTC12 SW3 PTC13 OpenSDA Notes ============= - USB drivers for the PEMIcro CDC Serial port are available here: http://www.pemicro.com/opensda/ - The drag'n'drog interface expects files in .srec format. - Using Segger J-Link: Easy... but remember to use the SWD J14 connector in the center of the board and not the OpenSDA connector closer to the OpenSDA USB connector J7. Configurations ============== Common Information ------------------ Each S32K146EVB configuration is maintained in a sub-directory and can be selected as follow: tools/configure.sh s32k146evb:<subdir> Where <subdir> is one of the sub-directories listed in the next paragraph NOTES (common for all configurations): 1. This configuration uses the mconf-based configuration tool. To change this configuration using that tool, you should: a. Build and install the kconfig-mconf tool. See nuttx/README.txt see additional README.txt files in the NuttX tools repository. b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. 2. Unless otherwise stated, the serial console used is LPUART1 at 115,200 8N1. This corresponds to the OpenSDA VCOM port. Configuration Sub-directories ----------------------------- nsh: --- Configures the NuttShell (nsh) located at apps/examples/nsh. Support for builtin applications is enabled, but in the base configuration no builtin applications are selected.