# Micropython Machine Module and SD cards

**URL:** <https://forum.core-electronics.com.au/t/micropython-machine-module-and-sd-cards/20060>\
**Category:** Support\
**Created:** [27 May 2024 03:01 UTC](https://forum.core-electronics.com.au/t/micropython-machine-module-and-sd-cards/20060 "2024-05-27T03:01:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [28 May 2024 06:27 UTC](https://forum.core-electronics.com.au/t/micropython-machine-module-and-sd-cards/20060/6 "2024-05-28T06:27:17Z")

</div>

What’s the default baudrate?

I’ve had a look at the RP2 port of the machine library (are you using an RP2040?)

The [SPI section](https://docs.micropython.org/en/latest/rp2/quickref.html#hardware-spi-bus) looks like it defaults to 10MHz which might be a bit intense for a breadboarded circuit. If the speed is too high the signal integrity will be compromised (the transitions become mushy).

Try something lower eg.

```python
spi = SPI(0, 100_000) # Default assignment for SPI0, 100kHz

```

It might still be helpful to be explicit with your pins, just in case. Leave nothing to chance 😃

---

_[View the full topic](https://forum.core-electronics.com.au/t/micropython-machine-module-and-sd-cards/20060)._
