[Yocto 3.10.53/i.MX6SX] Enable GPT Capture on i.MX6SX

cancel
Showing results for 
Search instead for 
Did you mean: 

[Yocto 3.10.53/i.MX6SX] Enable GPT Capture on i.MX6SX

762 Views
Lambert
NXP Employee
NXP Employee

HI Team,

Customer asked us to implement GPT capture on i.MX6SX,  provided sample code in uboot to customer for reference. FYI.

Purpose:

Some customers want to enable GPT Capture mode on their design.  It can be used to measure signal width. Here is sample code in uboot for GPT capture function.

HW Platform:

i.MX6SX SDP board

HW Modification:

SD1_CMD:  config it to CLKO1 function

SD1_DATA0: config it to GPT Capture 1 input

We can shorten TP86 to TP89 for quick test:

99934_99934.pngimage001.png

SW Platform: BSP 3.10.53_GA

 

SW  code path: arch\arm\cpu\armv7\mx6\clock.c

 

SW detail:  Pls refer to attached for detail

 

 

 

 

Thanks,

Lambert

Original Attachment has been moved to: log_both-edge.txt.zip

Original Attachment has been moved to: clock.c.zip

1 Reply

195 Views
zhujunzhu
Contributor I

HI Lambert!

 

Can provide drive source?

 

Thanks,

Zhujun zhu

0 Kudos