Part Number: CC1310
Tool/software: Code Composer Studio
Hello Support Team,
i have a Problem with the CC1310_LAUNCHXL_shutDownExtFlash().
I want to shut down the external Flash in my application with this function.
My problem now is, that my colleague have made a mistake at our own designed Layout.
The GPIO 20 is used, to power up the coil of our relai.
So when i activate the function CC1310_LAUNCHXL_shutDownExtFlash(), the coil is powered up all the time, because the DIO20 is set High in the function.
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI_FLASH_CS, 0);
uint8_t i;
for(i = 0; i < 8; i++){
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_CLK, 0);
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_MOSI, (byte >> (7 - i)) & 0x01);
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_CLK, 1);
}
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI_FLASH_CS, 1);
I have to shut down the external flash, because the current consumption is otherwise to high in sleep mode with out it.
Is there a solution, to turn off the external flash, with out using the DIO20?
Thank you very much!
Bester regards
Sini