Hi XiangJun,
I have send you a « simple project » that duplicates my issue.
I have removed a lot of code related to the PLC stack, but it looks like the
problem
still remains. I have deliberately left all the FRDM related code.
Im using a FRDM-K64F board, on Kinetis Design Studio 3.2.0 and SDK 2.0
environment.
Running the program, a simple menu will appear
Select choice 2, enter a number of PPDU (for example 5000), plug a scope on
PTB23 and you should see
something like next picture. The GPIO associated to PTB23 is toggled each
time the PDB_IRQ_HANDLER()
function is called. This is how the data are sent on the line. Have a look
at the Frdm_TX() function, you will see,
EnableIRQ(PDB_IRQ_ID) and DisableIRQ(PDB_IRQ_ID) functions calls. It works
fine.
Reset the board, run the program again, and select choice 1, and a number of
PPDU of 500 for example.
Plug a scope on PTC9, and you should see next picture. . The GPIO associated
to PTC9 is toggled each time
the ADC16_IRQ_HANDLER() function is called.
You can select the option 1 more than once, the process is still working.
Now, in the Frdm_RX() function uncomment EnableIRQ(ADC16_IRQ_ID) and
DisableIRQ(ADC16_IRQ_ID) functions calls.
Run the program again, and select choice 1, and a number of PPDU of 500 for
example. Plug a scope on PTC9
THE PROBLEM APPEARS here. The second time, you select option 1, the
ADC16_IRQ_HANDLER() function
is not called anymore.
Im not able to do the same thing on the receive side as I do on the
transmit side.
Any help is welcome. Let me know if you need more details.
Thanks in advance.
Best Regard
Nadine,
TALUKO
CRE@TVT NUMERIQUE
Bâtiment A, 1er étage
Place Besagne
83000 Toulon
<http://www.taluko.com> www.taluko.com
Tel : +(33) 4 98 07 74 52
Mobile: +(33) 6 66 27 85 66