• MKL26Z How can 2 ADC inputs be read using an interrupt?

    MCUXpresso IDE v10.2.1 [Build 795] [2018-07-25] MKL26Z256VLH4   I am working on a Medical device. It needs to read 2 ADC inputs, a battery voltage and temperature.   I have 2 questions. 1) The ADC chann...
    Bruce Graham
    last modified by Bruce Graham
  • how to synchronize a freertos task with an interrupt using an event ?

    Do you have an example ? Thanks
    Raul Cortes
    last modified by Raul Cortes
  • lpc4330 lwip tcpecho_client

    I follow the some suggestion and modify tcpecho example to tcpecho_client. Though it works. But system will crash every 30 mins if it has connected with tcp server like below. I think the problem is pbuf allocation ...
    Li-Chin Wang
    last modified by Li-Chin Wang
  • Read Data From flash or RAM

    I am using a define to read data from and write to flash or ram.  #define REG_READ(address)             ((uint8_t)(*(vuint8_t *)(address))) #define RE...
    Harshitha C B
    last modified by Harshitha C B
  • Problem with Tcp_echo and PE

    Hello, I have modified Erich Stygers Tutorial: lwip with FreeRTOS and the Freescale FRDM-K64F Board | MCU on Eclipse  to implement a Tcp_echo server, as a start, to eventually end up with a Modbus TCP slave. I ...
    Peter Tsipouras
    last modified by Peter Tsipouras
  • Freertos uart receive

    Hi I use the SDK_2.2_TWR-K60D100M and try to use the freertos_uart.c on my TWR-K60D100M board to test receive data from UART.  The program like this     UART_RTOS_Receive(&ha...
    玮 姚
    last modified by 玮 姚
  • How to wait in Low Power mode with FreeRTOS and Kinetis MKL16Z

    Kinetis MKL16Z MCUXpresso IDE v10.2.1 [Build 795] [2018-07-25]  Amazon FreeRTOS   I need to put the MCU into low power mode. I go the "power_mode_switch" example to work with my custom board. I am attem...
    Bruce Graham
    last modified by Bruce Graham
  • k66f with gt202

    Any one is successful in interfacing  gt202 wifi module with k66f board??
    Srinivas Ardha
    last modified by Srinivas Ardha
  • How to enable debug_printfs within Kinetis Bootloader?

    I am running Kinetis Bootlader 1.2 on TWR-K65F180M. How do I enable the debug_printfs? The board is flashed over USB SDA. I tried defining DEBUG within KDS. But couldn't find corresponding outputs either in KDS consol...
    Tony Makkiel
    last modified by Tony Makkiel
  • How to get the USB host CDC example working with FTDI adapter.

    Hello!   I have tried to use "SDK_2.3.1_MK21FN1M0Axxx12" package USB example "usb_host_cdc" with "FTDI 232" adapter with custom board. Device is powered ON and detected OK when plugged in the USB connector: Ter...
    Risto Mustonen
    last modified by Risto Mustonen
  • K22 I2C Arbitration Lost

    Problem: I am using the K22, a MK22FN512VLH12 processor with KSDK 1.3. I found that after leaving the code running for 15 minutes or so, frequently polling an accelerometer on the I2C bus, the code fails the assert at...
    Mike Litster
    last modified by Mike Litster
  • Looking of a FreeRTOS example for Kinetis MKL16Z

    Unless somebody can point out how to build the ARM RTX5 library in MCUXpresso....   I have not been able to find an example FreeRTOS project for the Kinetis MKL16Z.   Can somebody point me to an examp...
    Bruce Graham
    last modified by Bruce Graham
  • FRDM-K64  GPIO_ReadPinInput; GPIO_SetPinsOutput and GPIO_ClearPinsOutput

    Hi everyone! I am using MCUXpresso IDE v10.3.0.  I tested the functions GPIO_ReadPinInput; GPIO_SetPinsOutput and GPIO_ClearPinsOutput using FRDM-KL25Z board and it worked very well, but if I try to u...
    Diogo Moreira
    last modified by Diogo Moreira
  • Composite USB Printer Class Malfunction

    We have a composite USB device stack that is composed of a printer class, HID class, and CDC class (in that order) and we have been seeing some strange behavior on the printer class on Windows. We have built a proper ...
    Cory Todd
    last modified by Cory Todd
  • No source available for "(gdb[1].proc[42000].threadGroup[i1],gdb[1].proc[42000].OSthread[1]).thread[1].frame[0]"

    I am working on FRDM-K64F board. I build the project and after debugging I get the following: No source available for "(gdb[1].proc[42000].threadGroup[i1],gdb[1].proc[42000].OSthread[1]).thread[1].frame[0]" No sourc...
    last modified by kirantujare
  • How do you detect (and handle!) a lwIP disconnection?

    My application handles graceful closing of the socket, but it does not recognize when the Ethernet cable has been disconnected.   In my packet-handling loop, I check the result of all netconn commands used, whic...
    last modified by dave408
  • KSDK assertion failed clocking the SDHC at 20MHz

    Not sure if this is a bug, but in my MK64F project I clock the SDHC from a 20MHz oscillator (kCLOCK_OSC0ErClk). The SD_CardInit and SD_SelectBusTiming functions call SDHC_SetSdClock functions with parameters like...
    Simon Haines
    last modified by Simon Haines
  • No udp multicast receive with Kinetis SDK 2.1.0 and FRDM-K66F

    Hello,   Any example over receive udp multicast with Kinetis SDK 2.1.0 and FRDM-K66F?   I can not make it work:       static void udpecho_thread(void *arg) { struct netconn *conn...
    Juande Sanchez
    last modified by Juande Sanchez
  • FRDM-K64 Target Connection Fail

    Hi All,   Good day.   I have just bought a FRDM-K64 evaluation kits and following the tutorial step by step to test on it. Unfortunately, I am having the communication issue between the evaluation kits to ...
    Ben Cheong
    last modified by Ben Cheong
  • freeRTOS UART driver unreliable,  Framing Errors occur

    Hi All, I started to work with the the freeRTOS UART example from the the SDK (sdk/boards/twrk64f120m/rtos_examples/freertos_uart). Unfortunately it does not really work. I use the settings as explained in the readm...
    Johannes Bruder
    last modified by Johannes Bruder