- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm facing a strange problem, an need someone's advise.
I made a board using 20732S, keep button 1 and PUART schematic same as demo board.
Test with hello sensor code, and button interrupt 1 works. debug trace log can be shown to HCI UART, but cannot show to PUART,
where I've modified "spar_init.c" for controlling log output correctly.
When I configure output to PUART, I found I have to press button 1 for 2 times, then PUART can output. The message can output until the button pressed twice, after that it output the log normally.
Is there any suggestion for this issue? Thank you in advanced.
Solved! Go to Solution.
- Labels:
-
GPIO
-
Peripherhal UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's really confused me. When I re-install the SDK and recompile the code, everything works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to see the output log from the puart.
Ex: Is "(INT)But1: ..." displayed just after 2nd button pressing?
And is the phenomenon changed after pressing button 1 three times or more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, button works fine. It always display "(INT)But1 ...." from 1st time pressing to n time.
And the phenomenon doesn't change after 2nd press.
That's after 2nd time press, everything works well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's really confused me. When I re-install the SDK and recompile the code, everything works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to hear that.