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

Porting to G0x1 #83

Open
dzarda opened this issue Mar 1, 2021 · 6 comments
Open

Porting to G0x1 #83

dzarda opened this issue Mar 1, 2021 · 6 comments

Comments

@dzarda
Copy link

dzarda commented Mar 1, 2021

I reckon the upcoming G0C1/G0B1 ought to be successful. We should add support for their USB cell.

They call it USB full-speed host/device interface, and it appears that they extended the existing dev/fs with backwards compatibility. Host bits seem to be a simple addition in register description, occupying the high halfword. (We should probably ignore the host functionality...?)

obrazek

G4 map for comparison:

obrazek

One notable change is the 32-bit PMA access:

obrazek


Which of our implementation files would be an appropriate starting point?

Cheers

@dmitrystu
Copy link
Owner

I think it's close to L052. Unfortunately, there is no proper G0 on the local suppliers stock.

@dzarda
Copy link
Author

dzarda commented Mar 5, 2021

Yeah patient we must be

@dzarda
Copy link
Author

dzarda commented Mar 12, 2021

Mouser has a few pieces stocked.
obrazek

@ghent360
Copy link

G0s a widely available now, you can get several nucleo G0 kits from mouser.

@GrantMTG
Copy link

That's good news!

@ghent360
Copy link

The PMA on the G0 is 32-bit access only. The rest is more or less the same with some reg names changed.

Created PR #123.

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

No branches or pull requests

4 participants