Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 220827

Forum Post: RE: TM4C1290NCPDT: Using TM4C1290 with SPI flash on SSI2

$
0
0
Hi Haroldo, You are trying to overwrite the default drive strength for SSI pins using the GPIPadConfigSet(). Is that correct? void GPIOPinTypeSSI (uint32_t ui32Port, uint8_t ui8Pins) { // // Check the arguments. // ASSERT(_GPIOBaseValid(ui32Port)); // // Make the pin(s) be peripheral controlled. // GPIODirModeSet(ui32Port, ui8Pins, GPIO_DIR_MODE_HW); // // Set the pad(s) for standard push-pull operation. // GPIOPadConfigSet(ui32Port, ui8Pins, GPIO_STRENGTH_2MA , GPIO_PIN_TYPE_STD); } I think you can only change the drive strength when the pins are in GPIO mode not when the pins are controlled by the peripherals (i.e. SSI).

Viewing all articles
Browse latest Browse all 220827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>