Altera_Forum
Honored Contributor
9 years agoCan you sovle the CPLD?
Good afternoon~:)Are there any manipulators in here?
OK,let’s go into the subject directly.Now let me describe the questions about counting process of the three way external pulse by used cpld (http://www.kynix.com/detail/668602/cpld21d1914gtdta.html). First,CPLD just counts the first pulse. Every second will have a counting result A[31:0] . Second,CPLD measure the width of second variable width pulse by taking the way of counting.At the same time every pulse will product a result of width counting B[15:0]. Third, the third pulse is similar to the second way,it also products a counting result C[15:0]. Now I need a STM32 to read the A in PLCD every second by using spi and do a zero clearing to it, while reading B and C in the constant time. Questions: Do you have any suggestions or realizable way about this problems?:confused: I’m asking for your advice urgently. Please accept my appreciation! Thanks a lot!