Integrating WHD

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
aniruddhann
Level 1
Level 1
25 sign-ins 10 sign-ins 5 questions asked

Hi,

while porting WHD, I have similar question as https://community.infineon.com/t5/Wi-Fi-Combo/Support-for-porting-WHD-to-stm32F7/m-p/212755 .

1. However this question seems not answered fully. So, please let us know it.

2. & I assume the port specific type can be something like below -

e.g. 

// GPIO object
typedef uint32_t /* TODO: port specific type */ cyhal_gpio_t;
 
shall be something like below for stm32f429xx device -
 
typedef struct
{
  __IO uint32_t MODER;    /*!< GPIO port mode register,               Address offset: 0x00      */
  __IO uint32_t OTYPER;   /*!< GPIO port output type register,        Address offset: 0x04      */
  __IO uint32_t OSPEEDR;  /*!< GPIO port output speed register,       Address offset: 0x08      */
  __IO uint32_t PUPDR;    /*!< GPIO port pull-up/pull-down register,  Address offset: 0x0C      */
  __IO uint32_t IDR;      /*!< GPIO port input data register,         Address offset: 0x10      */
  __IO uint32_t ODR;      /*!< GPIO port output data register,        Address offset: 0x14      */
  __IO uint32_t BSRR;     /*!< GPIO port bit set/reset register,      Address offset: 0x18      */
  __IO uint32_t LCKR;     /*!< GPIO port configuration lock register, Address offset: 0x1C      */
  __IO uint32_t AFR[2];   /*!< GPIO alternate function registers,     Address offset: 0x20-0x24 */
} GPIO_TypeDef;

typedef GPIO_TypeDef cyhal_gpio_t;
 
Thanks in advance for any correction & insight.
 
0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @aniruddhann ,

You can Refer to section 6  Create a new project for non-H7 MCU boards, in the attached document to port easily.

section 6.4 Changes required in PAL library ,  gives info of gpio related changes.

Thanks,

Rakesh B G

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @aniruddhann ,

You can Refer to section 6  Create a new project for non-H7 MCU boards, in the attached document to port easily.

section 6.4 Changes required in PAL library ,  gives info of gpio related changes.

Thanks,

Rakesh B G

0 Likes