A small typo in gpt_lld.c ?
Line 311 (in flabbergast kinetis branch):
#if KINETIS_GPT_USE_PIT3
if (&GPTD4 == gptp) {
nvicDisableVector(PITChannel4_IRQn);
}
#endif
It seems like the correct PITChannel is 3, not 4?
Search found 5 matches
- Sat Oct 31, 2015 1:11 pm
- Forum: Kinetis Support
- Topic: Teensy 3.1 / MK20DX256VLH7 support
- Replies: 52
- Views: 42665
- Tue Oct 06, 2015 9:19 pm
- Forum: Kinetis Support
- Topic: Teensy 3.1 / MK20DX256VLH7 support
- Replies: 52
- Views: 42665
Re: Teensy 3.1 / MK20DX256VLH7 support
BTW, I tried the ADC, the I2C master, the SPI master, and Serial. All appear to work fine :) I still have to port I2C slave, which might be tricky (since the I2C slave implementation I currently have, outside of ChibiOS, relies on a tricky hack with PORTB_ISR), and USB, which might also be tricky (...
- Mon Oct 05, 2015 9:52 pm
- Forum: Kinetis Support
- Topic: Teensy 3.1 / MK20DX256VLH7 support
- Replies: 52
- Views: 42665
Re: Teensy 3.1 / MK20DX256VLH7 support
BTW, I tried the ADC, the I2C master, the SPI master, and Serial. All appear to work fine :) I still have to port I2C slave, which might be tricky (since the I2C slave implementation I currently have, outside of ChibiOS, relies on a tricky hack with PORTB_ISR), and USB, which might also be tricky (...
- Mon Apr 13, 2015 9:56 pm
- Forum: Kinetis Support
- Topic: Teensy 3.1 / MK20DX256VLH7 support
- Replies: 52
- Views: 42665
Re: Teensy 3.1 / MK20DX256VLH7 support
Thanks for the info. It did the trick. I used the demo example as a starting point. I have searched through the source and found the settings. I added the following to my code. Maybe these defines could be added to ...hal/boards/.../board.h since the drivers are actually activated by defining KINETI...
- Fri Apr 10, 2015 9:32 am
- Forum: Kinetis Support
- Topic: Teensy 3.1 / MK20DX256VLH7 support
- Replies: 52
- Views: 42665
Re: Teensy 3.1 / MK20DX256VLH7 support
Hi and thanks for the good work on ChibiOS and Teensy. I am using RedoX's repository and it works well upto a point. I use the serial driver SD1 and it works fine, BUT when I try to use the other two serial ports (SD2 and SD3) the whole thing crashes as soon as I try to read from or write to the ser...