Implementing UART driver for WiFi ESP Click Board on LPC55S28-EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implementing UART driver for WiFi ESP Click Board on LPC55S28-EVK

1,249 Views
SegFault0
Contributor II

I'm working on implementing a driver for the WiFi ESP Click Board on my LPC55S28-EVK development board using MCUXpresso IDE. The Click board features an ESP32 module and can connect to existing networks or create its own. While the manufacturer provides a library and SDK, my board isn't supported by their SDK.

Hardware Setup:

  • LPC55S28-EVK development board
  • WiFi ESP Click Board connected via MikroBUS interface
  • Connections:
    • UART TX/RX routed to mikroBUS header pins P24[3] (PIO0_13, pin 71) and P24[4] (PIO0_14, pin 72)
    • RST on PIO1_2 (pin 61)
    • CS on PIO0_26 (pin 60)

Current Status:

I need to implement my own hardware abstraction layer (HAL) since I can't use the manufacturer's SDK. The original library uses functions like digital_out_high(), uart_write(), etc., which I need to implement using the MCUXpresso SDK's native functions.

From my testing, i determine that the driver is working.

Technical Details:

  • Using FLEXCOMM1/USART1 for UART communication
  • UART Configuration: 115200 baud, 8N1
  • Pin Configuration:
    • RX: PIO0_13 configured as FC1_RXD_SDA_MOSI_DATA (ALT5)
    • TX: PIO0_14 configured as FC1_TXD_SCL_MISO_WS (ALT6)

Questions:

I have tested the communication and my driver by connecting my UART bridge (TX/RX) to P19[9] and P19[11]. The communications seems to work and i can see the AT commands being send. If I go into the pin config tool and route the RX/TX signals to the MikroBus Header (P24[3] & P24[4]) my UART bridge does not pick up the AT commands.

Bildschirmfoto vom 2024-11-18 13-20-28.png

Any help or guidance would be greatly appreciated!

0 Kudos
Reply
1 Reply

1,207 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I recommend reviewed the example on the SDK.

Pavel_Hernandez_0-1732053124924.png

Best regards,
Pavel

0 Kudos
Reply