Hello TI support team,
My hardware is H/W: TMS570MCU HDK
I am confused about how to configure the MibSPI as GPIO,
HALCoGen generate:
/** @def mibspiREG1
* @brief MIBSPI1 Register Frame Pointer
*
* This pointer is used by the MIBSPI driver to access the mibspi module registers.
*/
#define mibspiREG1 ((mibspiBASE_t *)0xFFF7F400U)
/** @def mibspiPORT1
* @brief MIBSPI1 GIO Port Register Pointer
*
* Pointer used by the GIO driver to access I/O PORT of MIBSPI1
* (use the GIO drivers to access the port pins).
*/
#define mibspiPORT1 ((gioPORT_t *)0xFFF7F418U)
which one should I use, 0xFFF7F400U or 0xFFF7F418U?
what is the default state of the MIBSPI1 after reset? GPIO or SPI?
If I want to use mibspiPORT1 to configure the port, I could not find any spec. How to configure the port as GPIO?
Thanks
Jun