Search found 16 matches

by fpga_comp
Sun Sep 21, 2014 5:58 pm
Forum: Kinetis Support
Topic: Kinetis support in trunk
Replies: 18
Views: 11981

Re: Kinetis support in trunk

Found one typo in the mk20d5.h (path: os/ext/CMSIS/KINETIS), line 622 K20 Sub-family reference manual P.241 say it is field 1 for DMAMUX. Probably a mix up of binary notation and hex. #define SIM_SCGC6_DMAMUX ((uint32_t)0x00000010) /*!< DMA Mux Clock Gate Control */ It should be: #define SIM_SCGC6_D...
by fpga_comp
Thu Sep 11, 2014 1:28 am
Forum: Kinetis Support
Topic: RTC driver for Kinetis.
Replies: 13
Views: 10050

Re: RTC driver for Kinetis.

Not all ports are going to have RTC. You can only rely on binary counters on Kinetic K2X or low end micros e.g. AVR.
So either you are going to need to emulate the RTC in software via 1 second interrupts or simply use binary counters for time stamps.
by fpga_comp
Mon Sep 08, 2014 11:12 pm
Forum: Kinetis Support
Topic: RTC driver for Kinetis.
Replies: 13
Views: 10050

Re: RTC driver for Kinetis.

>However I needed to leave PCT1 configured as RTC_CLKIN but disconnected to make it work. The signal is probably getting coupled by stray capacitance. It can pick up all kind of noise etc. A comment about the pal_lld_setpadmode(): I found the modes setting too restrictive for my application. There a...
by fpga_comp
Sat Aug 30, 2014 4:28 pm
Forum: User Projects
Topic: Post your PCB
Replies: 36
Views: 24148

Re: Post your PCB

Tectu: Not sure if you are talking about my PCB or someone else, but I might as well add more details. It is first revision prototype right now. Part cost + PCB is below $200 US. 10 pieces of bare double sided proto PCB done in China for about $21 including shipping. Took one and half days for me to...
by fpga_comp
Fri Aug 29, 2014 9:04 pm
Forum: User Projects
Topic: Post your PCB
Replies: 36
Views: 24148

Re: Post your PCB

Here are some pictures of my PCB for a FPGA Computer/Eval board. (work in progress) I am working on firmware right now. I am using a Freescale Kinetis K22 and using ChibiOS 2.6.5. I have been trying to back port some of the new code. Not having much luck with serial port. I'll have to come back to t...
by fpga_comp
Thu Aug 28, 2014 2:35 pm
Forum: Kinetis Support
Topic: SPI driver for KINETIS K20.
Replies: 35
Views: 23995

Re: SPI driver for KINETIS K20.

There is a DMA SPI library for the Teensy 3.X (K20) here: https://github.com/crteensy/DmaSpi (actual code is in the DmaSpi.h header file!) Hope that would be useful here. As far as I can remember from the forum discussion that started that, they basically use 8-bit DMA write to the TXDATA FIFO. http...

Go to advanced search