Giter Club home page Giter Club logo

kl05z's Introduction

#Documentación kl05z

Generada en Arteko.

##Completado

Titulo Descripción

##Por realizar

Titulo Descripción
Setup General Config. del MCG, puertos y todo lo básico para una configuración mínima.
MCG Configuración del oscilador
Puertos Configuración y uso de los puertos. Como entradas y salidas.
Timers Configuración de los timers y uso básico.
UART Configuración y uso básico del UART
I2C Configuración y uso básico del I2C
SPI Configuración y uso básico del SPI
Interrupciones Configuración y uso de interrupciones usando el timer como ejemplo para prender un led.
ADC Configuración y uso
LLS Dormir y despertar
DMA Configuración del DMA y uso usando un ejemplo con UART
PWM Configuración y uso del PWM
TSI Configuración y uso de la interfaz capacitiva

##Notas Las partes de la documentación se encontrarán en BRANCHES individuales y de preferencia con TAGS para indicar la complejidad del ejemplo.

La branch master no llevará código, solo llevará el readme.md que indica el contenido de la documentación.

kl05z's People

Contributors

atwoz avatar arturopalomo avatar

Watchers

 avatar Erick Zapatero avatar  avatar  avatar  avatar  avatar  avatar

kl05z's Issues

Inicializacion del Clkout repetida

En el archivo MCU_init.c en la linea 22 se repite la inicialización


     #ifdef MCU_MKL25Z4
    /** Inicialización del pin CLKOUT (sólo tiene efecto en el KL25Z */
    ini_Clkout();
    #endif

    /** Inicialización del Multipurpose Clock Generator **/
    init_MCG();

    #ifdef MCU_MKL25Z4
    ini_Clkout();
    #endif  

Error en las mascaras de la función ini_Clkout

Falta poner el OR en las máscaras de la funcion ini_Clkout en la linea 30 y 33 del archivo Puertos.c.

Debería ser:

  //Habilitamos la funcion alterna FB_CLKOUT  en el pin
  PORTC_PCR3 |= ( PORT_PCR_MUX(0x5));

  //Seleccionamos CLKOUT en el SIM SOPT2
  SIM_SOPT2 |= SIM_SOPT2_CLKOUTSEL(2);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.