The MK26F microcontroller is an Arm Cortex-M4F with 2 MB of program flash and 256 KB SRAM, SDRAM controller, SDHC controller, and much more running up to 180 MHz which makes it a powerful microcontroller and easy to program and play with it.
I like Freescale (NXP) microcontrollers reason why I decided to work on a development board, easy to program but with the capabilities of medium-level hardware, the perfect hardware to get ready in new capabilities electronics, ideal for hobbyists and enthusiasts wich want to make more powerful electronics.
This board incorporates an external 128 Mbit SDRAM and SDHC socket, an RGB LED,and the most common communication peripherals (SPI, I2C, UART, CAN and I2S, ADCs, and DACs).
This board is called a Pyramid and can be upgraded with blocks, the blocks are like the Arduino Shield but designed specifically for this kind of development board working exclusively at 3.3 volts.
I will be updating this info here and on my website, if anyone is interested, this project aims to be open hardware.
This is the code necessary to blink a LED on the board.
#include <stdio.h>
#include "clock_config.h"
#include "MK26F18.h"
#include "delay/delay.h"
int main(void) {
BOARD_InitBootClocks();
SIM->SCGC5 |= SIM_SCGC5_PORTA(1); // Enable clock for PORTA
PORTA->PCR[24] = PORT_PCR_MUX(1); // PORTA24 -> ALT1 RGB_LED
GPIOA->PDDR |= (1<<24); // Set GPIOA24 as Output
GPIOA->PCOR |= (1<<24); // Turn off GPIOA24
printf("Hello World, Blink a LED. \n");
while(1) {
GPIOA->PSOR |= (1<<24); // Turn on GPIOA24
delay(500);
GPIOA->PCOR |= (1<<24); // Turn off GPIOA24
delay(500);
}
return 0 ;
}
The blocks are dedicated hardware add-ons to use easily with the MK26F Pyramid, one of the simplest blocks is the ePaperBlock.
The ePaperBlock is a Tricolor electronic ink display, it uses the SPI protocol and it has a resolution of 250x128 pixels in a 2.13-inch display.
int main(void) {
BOARD_InitBootClocks();
ePaperInit();
ePaperClear();
ePaperLoad(wallPaperMono, wallPaperRed);
ePaperUpdate();
ePaperDeepSleep();
while(1);
return 0 ;
}
With this code it's very easy to update the content of the screen.
Please let me know in the comments what kind of hardware would you like for this Pyramid.
One of the options it's to get this board in white, I think it looks nice or could be black. Please let me know what do you think is the best color for it.
What microcontroller would you like in a pyramid? - comment below
More info will be available at: https://www.savageelectronics.com/blog
Comments