Kinetis K60 Bootloader & JTAG reference

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis K60 Bootloader & JTAG reference

跳至解决方案
2,132 次查看
mithunp_s
Contributor III

Dear All,

One of my customer is using  MK60FX5125VLQ12, Please suggest me on the below

1. They want to use ISP (UART/USB) for field programming, please suggest how to implement this. Please also suggest which UART port is suitable to implement this, please also share if any source code available for the implementation.

2. They want to use 4 timers for Capturing falling edge, which timers can be used for this also let us know will these timers work concurrently.

3. They need one counter for counting the events, which timer is preferred for event counting.


Regards

Mithun

标签 (1)
0 项奖励
回复
1 解答
1,516 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Mithun,

1. Do you mean the bootloader via UART/USB port? if yes, please kindly refer to an2295(serial boot) http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf and the demo code from http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW_Rev1.zip?fsrch=1

Or you may refer to an4370(USB DFU bootloader) from http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4370.pdf and the demo code from http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN4370SW&location=null&fsrch=1&Pare...

2. You may use FTM module to capture the falling edge. There are multiple channels in one FTM module, so you need't use 4 FTM modules to do that.

3. do you mean the falling edge event? if so , I think also the FTM timer can be used for that purpose, but the counter clock source should use EXTCLK — FTM External Clock which connected with the IO that falling edge happens on it. alternatively, I think you may also use a GPIO interrupt which is falling edge sensitive , a variable used to store the counter which increased in the interrupt service.

Hope that helps,

B.R

Kan

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,517 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Mithun,

1. Do you mean the bootloader via UART/USB port? if yes, please kindly refer to an2295(serial boot) http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf and the demo code from http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW_Rev1.zip?fsrch=1

Or you may refer to an4370(USB DFU bootloader) from http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4370.pdf and the demo code from http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN4370SW&location=null&fsrch=1&Pare...

2. You may use FTM module to capture the falling edge. There are multiple channels in one FTM module, so you need't use 4 FTM modules to do that.

3. do you mean the falling edge event? if so , I think also the FTM timer can be used for that purpose, but the counter clock source should use EXTCLK — FTM External Clock which connected with the IO that falling edge happens on it. alternatively, I think you may also use a GPIO interrupt which is falling edge sensitive , a variable used to store the counter which increased in the interrupt service.

Hope that helps,

B.R

Kan

0 项奖励
回复
1,516 次查看
mithunp_s
Contributor III

Hi Kan,

Thanks for the details, this information is very useful.

Regards

Mithun

0 项奖励
回复