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

Issue: 2350 possible SPI baud rates are different. #985

Open
AndrewCapon opened this issue Aug 13, 2024 · 1 comment
Open

Issue: 2350 possible SPI baud rates are different. #985

AndrewCapon opened this issue Aug 13, 2024 · 1 comment
Labels
sdk-2.0-rp2350 Issues relating to Pico SDK 2.0 or RP2350 support

Comments

@AndrewCapon
Copy link
Contributor

Hi Guys,

This one may have some impact on all your SPI code.

I noticed it in the st7789 code, it was asking for baud 62'500'000 and getting 37'500'000.

I fixed it here with:

    // The ST7789 requires 16 ns between SPI rising edges.
    // 16 ns = 62,500,000 Hz
    // 2350 doesn't support 62,500,000 so use 75,000,000 seems to work.
#if !PICO_RP2350
    static const uint32_t SPI_BAUD = 62'500'000;
#else
    static const uint32_t SPI_BAUD = 75'000'000;
#endif

So just a heads up that you may be seeing some issues...

Cheers

Andy

@Gadgetoid Gadgetoid added the sdk-2.0-rp2350 Issues relating to Pico SDK 2.0 or RP2350 support label Aug 13, 2024
@peardox
Copy link
Contributor

peardox commented Oct 1, 2024

Well, that fixed my slow display :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdk-2.0-rp2350 Issues relating to Pico SDK 2.0 or RP2350 support
Projects
None yet
Development

No branches or pull requests

3 participants