I just lost a few hours to this quirk and I'm hoping someone can explain it to me so I don't get bitten by this again - or at least maybe I'll save someone else some trouble if they come looking for an answer. I'm receiving packetized data on a MK22FN1M0's UART0 at 2 Mbps. As discussed in previous threads, the IDLE interrupt is unusable in DMA…(Show moreShow less)
This is essentially how I've been doing it, but to get the performance I need the general solution isn't going to work. It doesn't let me interrupt a low priority task to handle a packet right away and it precludes the use of a low-power idle state. I'm also working on making this as close to a zero-copy implementation as I can, and there are…
Hi all, I'm having lots of issues with KBOOT on a MKL27Z and OS X. The problem is that sometimes it just doesn't seem to register properly on the host, and I can't figure out why. I can see it appear as 'Kinetis Bootloader' for 1s, and then it disconnects. Sometimes this happens, but after a few tries it 'settles' and I'm able to flash.…(Show moreShow less)
If I set FOPT to 0x3D such that the ROM bootloader is skipped, then my program seems to initialize USB fine. So this seems to suggest something is wrong with the ROM bootloader? Can anyone confirm similar issues?
Hello! I'm trying to implement a block-based audio processor using double buffering on the input and output and I'm getting some unexpected discontinuities in my output signal. I'm using the Arduino IDE Teensy 3.6, which uses the K66 processor, but I have no debugger capability. The configuration of the peripherals is as follows: ADC0 is…(Show moreShow less)
Jeff The K66 has a PDB which is intended for ADC/DAC timing, rather than the more limited PIT. See chapter 3 in http://www.utasker.com/docs/uTasker/uTaskerADC.pdf for a reference to do more or less what you are doing. I have attached binary files for the Teensy 3.6 (hex file actually since the Teensy can't load binary files) and the…
Quick intro, we are using the ARM mbed cli and exporting a project to IAR. We have swapped the processors on our FRDM K64F board to an MK64FX512 that has flex memory. It's pin compatible as long as you use the same pin and package in this case the 100 LQFP package. I have run some code on the board after the micro swap and verified it works…(Show moreShow less)
I've been through the detailed exercise of writing DMA driven TX and RX drivers for the Kinetis UARTs. Despite the kitchen sink of functionality included in the UART peripheral there seems to be some trivial, but critical functionality missing in the Kinetis (and Coldfire) implementation that is needed for proper device driver implementation. …(Show moreShow less)
I'm glad I'm not the only one who's run up against this. It's frustrating. I also settled on using INTMAJOR for notifications, but at 2 Mbps there's no way I can afford an IRQ every byte. Instead, I set the major loop count to something convenient and then I have a periodic timer interrupt that checks for an idle condition. This part is really…
I'am currently working with K26f processor with KDS3.2 and KSDSK v1.3. Core clock is 180Mhz,Flash Clock is 25.71 Mhz as Processor Expert recommends... I imported Flash Driver component into my project,selected the address to erase in internal flash,but FlashErase () returns me error 0x20 - Flash Access Memory.Following is my code after importing…(Show moreShow less)
I was having kStatus_FLASH_AccessError while using FLASH_Erase command with Kinetis SDK 2.2 with a K02F microcontroller. I was puzzled why it had such an issue until I saw your answer. Thank you very much. I really appreciate your this and other countless helps to the community.
Hello, we are evaluating the FRDM-K28F for a HS USB application. But no matter what I try, I can't get USB working. The blink example works nicely ;-) When I try any of the other USB examples USB never is recognized. Linux lsusb does not change when I attach the USB cable to the "HS USB" port, the USB attach sound is never played. I…(Show moreShow less)
Hi Mark, Yes, please try with attached image file. Wish it helps. Have a great day, Ma Hui ----------------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the Correct Answer button. Thank you!…
We are making use of the CAU unit in KL28 to calculate the digest of the 256KB application code in flash, but the result keeps changing unless the interrupt is disabled. Is it true that the interrupt must be disable for the CAU module to run? The code is based on the mmcau library 2.0.0 from MKL28Z512xxx7 SDK 2.2 with customized wrapper. The…(Show moreShow less)
I'm currently facing a weird error while trying to use the DemoConsole example listed in the user guide for the OM2385/SF001 kit (which contains a OL2385 SIGFOX module and a KL43Z development board). The board itself seems to be working fine, since I'm able to run other available examples, but the example meant to make use of the Sigfox module…(Show moreShow less)
Hi All Please note that I have made a new video discussing practical use of bit-banding on the Cortex-M4 based Kinetis parts that can be viewed at: https://youtu.be/FZnkZ1h_EAQ Regards Mark Kinetis: http://www.utasker.com/kinetis.html