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

[TW#12117] HSPI - No clock at 900KHz #491

Closed
Searaphim opened this issue Apr 4, 2017 · 2 comments
Closed

[TW#12117] HSPI - No clock at 900KHz #491

Searaphim opened this issue Apr 4, 2017 · 2 comments
Assignees

Comments

@Searaphim
Copy link

For some reason when we set 900KHz on the HSPI and send data there is no clock on the HSPI CLK pin. The Chip Select pin does work though. HSPI also works on any other frequency we've tried (below or above 900KHz). It seems a bit odd that this behavior shows up only at that specific clock speed.

@projectgus
Copy link
Contributor

projectgus commented Apr 4, 2017

To clarify, are you using the driver/spi.h driver and spi_bus_add_device() to configure the HSPI clock? Do you have a snippet of code that demonstrates the bad settings?

@Spritetm
Copy link
Member

Spritetm commented Apr 5, 2017

Smells like a bug in the clock register calculation code... I'll look into this, working on SPI anyway.

@Spritetm Spritetm self-assigned this Apr 5, 2017
@igrr igrr added the Status: In Progress Work is in progress label Apr 26, 2017
@FayeY FayeY changed the title HSPI - No clock at 900KHz [EZ#12117] HSPI - No clock at 900KHz Apr 28, 2017
@FayeY FayeY changed the title [EZ#12117] HSPI - No clock at 900KHz [TW#12117] HSPI - No clock at 900KHz Apr 28, 2017
@igrr igrr closed this as completed in 881a90b Apr 29, 2017
@igrr igrr removed the Status: In Progress Work is in progress label Dec 14, 2017
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