8 years, 2 months ago.

Hexiwear SD Card Interface Trouble

I have been attempting to make use of the uSD card socket on the 'hexiwear docking station' with no success.

The declaration used was:

SDFileSystem sd(PTE3, PTE1, PTE2, PTE4, "sd");

After some investigation I have found that the definitions in 'PeripheralPins.c' for port PTE do not cover SPI.

How can I add this functionality?

Question relating to:

Next generation wearable IoT development platform designed to reduce time to market. Comes in compact form factor with on-board MCUs, BLE connectivity, sensors, OLED display, and battery. Open source software …

2 Answers

8 years ago.

Has anyone from the Hexiwear team addressed this? I am facing the same problem trying to get the SD card reader on the motherboard to work in SPI mode.

I meant to post this as a comment. Sorry for the confusion.

posted by Jeremy Gummeson 28 Oct 2016
5 years, 11 months ago.

The SPI port to PTE pins are specified (mbed-dev os2), perhaps these have since been added from a couple of years ago, see here:

https://os.mbed.com/users/mbed_official/code/mbed-dev/file/0387e8f68319/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_HEXIWEAR/PeripheralPins.c/

So you should be able to use the sdCard, but I don't have one of these so can't test.

Here is the SD Card API:

https://os.mbed.com/components/SD-Card/

Sorry the SDHC card slot is not compatible with Mbed SD Card. You will need one of these modules for the SPI port.

https://www.mikroe.com/microsd-click

posted by Paul Staron 11 Jan 2019