Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sihyung-maxim committed Sep 16, 2024
1 parent d37d694 commit 55b2f18
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Examples/MAX32655/Demo_2048/ARM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This project only supports the MAX32655EVKIT as it has the 320x240 TFT Display.
If using the MAX32655EVKIT (EvKit\_V1):
- Connect a USB cable between the PC and the CN1 (USB/PWR) connector.
- Connect pins JP4(RX_SEL) and JP5(TX_SEL) to RX0 and TX0 header.
- Open an terminal application on the PC and connect to the EV kit's console UART at 115200, 8-N-1.
- Open an terminal application on the PC and connect to the EV kit's console UART at 2000000, 8-N-1.
- Close jumper JP2 (LED0 EN).
- Close jumper JP3 (LED1 EN).

Expand Down
4 changes: 4 additions & 0 deletions Examples/MAX32655/Demo_2048/ARM/project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ PROJ_CFLAGS += -DDEV_MODE_TRACE=1
endif

MAILBOX_SIZE = 226

ifeq ($(BOARD),FTHR_Apps_P1)
$(error ERR_NOTSUPPORTED: This example requires a TFT display, therefore it's not supported on the MAX32650FTHR)
endif
57 changes: 51 additions & 6 deletions Examples/MAX32655/Demo_2048/RISCV/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## Description

TODO
This example demonstrates running the 2048 game on both ARM and RISC-V cores on the MAX32655.

The RISC-V core, running at 60MHz (ISO), handles the controller (keyboard) user inputs and the main 2048 game logic.

The ARM core, running at 100MHz (IPO), keeps track of the timer (RTC) and handles the display graphics after the RISC-V core finishes handling the main game logic.

## Software

Expand All @@ -10,16 +14,57 @@ Universal instructions on building, flashing, and debugging this project can be

### Project-Specific Build Notes

(None - this project builds as a standard example)
This project only supports the MAX32655EVKIT as it has the 320x240 TFT Display.

## Required Connections

TODO
If using the MAX32655EVKIT (EvKit\_V1):
- Connect a USB cable between the PC and the CN1 (USB/PWR) connector.
- Connect pins JP4(RX_SEL) and JP5(TX_SEL) to RX0 and TX0 header.
- Open an terminal application on the PC and connect to the EV kit's console UART at 2000000, 8-N-1.
- Close jumper JP2 (LED0 EN).
- Close jumper JP3 (LED1 EN).

## Expected Output

TODO

```
TODO
*******************************************************************************
ARM: Starting ARM Initialization.
ARM: Semaphore is not busy - with previous value: 1
ARM: Starting RISC-V core and handing off major UART0 Control to RISC-V.
RISC-V: Starting RISC-V Initialization.
RISC-V: Semaphore is not busy - with previous value: 1
RISC-V: Finished startup. Main UART0 control is handled by RISC-V now.
RISC-V: Starting Controller and Game
| | |
| | |
| | |
-----------------------------------
| | |
| | |
| | |
-----------------------------------
| | |
| | 0002 |
| | |
-----------------------------------
| | |
| | |
| | |
```
4 changes: 4 additions & 0 deletions Examples/MAX32655/Demo_2048/RISCV/project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ PROJ_CFLAGS += -DDEV_MODE_TRACE=1
endif

MAILBOX_SIZE = 226

ifeq ($(BOARD),FTHR_Apps_P1)
$(error ERR_NOTSUPPORTED: This example requires a TFT display, therefore it's not supported on the MAX32650FTHR)
endif

0 comments on commit 55b2f18

Please sign in to comment.