Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report SWM weirdness #183

Open
david-sawatzke opened this issue Jan 6, 2020 · 4 comments
Open

Report SWM weirdness #183

david-sawatzke opened this issue Jan 6, 2020 · 4 comments
Labels

Comments

@david-sawatzke
Copy link
Member

david-sawatzke commented Jan 6, 2020

Even though, according to the reference manual, swm should be enabled per default, it needs to be reenabled in the usart example for the lpc845.

It's listed as disabled per default in the svd.

It shouldn't be possible to use it in a disabled state

@david-sawatzke
Copy link
Member Author

It's also not enabled per default on hardware:

(gdb) x  0x40048080
0x40048080:	0x00000017

So it seems the RM really is wrong

@hannobraun
Copy link
Member

Sounds like there are two action items here:

  • Fix our API
  • Report the bug to NXP

david-sawatzke added a commit to david-sawatzke/lpc8xx-hal that referenced this issue Jan 9, 2020
Also makes the new functions public, to stay in line with gpio and
bypass unused function warnings
david-sawatzke added a commit to david-sawatzke/lpc8xx-hal that referenced this issue Jan 10, 2020
hannobraun added a commit that referenced this issue Jan 13, 2020
Force swm to be enabled on lpc845, fix #183
@david-sawatzke
Copy link
Member Author

The issue was closed, since it's fixed for the hal, but we should still report it

@hannobraun hannobraun changed the title Investigate SWM weirdness Report SWM weirdness Jan 13, 2020
@hannobraun
Copy link
Member

Yes, good point. Updated title and labels accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants