-
Hi Team, I am trying to configure the UART channel through Flexcomm7 in lpcXpresso55s16 board.
/ {
}; &flexcomm0 { &flexcomm2 { &flexcomm7 { &pinctrl {
//added the below configuration for flexcomm2 //added the below configuration for flexcomm7 }; ` 2)Created api for UART Tx and Rx communication in a module file for handling it in the Stack level 3)Using a simple test function which is given below to test the transmission functionality. void device_init()
} void main() It is giving the following log: and after that the execution is halted. There is not further program run and no any log is getting printed. The halting point is the command for configuring the flexcomm7 as UART functionality with baudrate 115200 The same work around with configuring the UART channel with Flexcomm2 is working fine and we are able to configure and communicate the data though it. The logs for the same is attaching below:
Please suggest/correct me, if I need to do any additional modifications/changes for configuring Flexcomm7 to make it functional as a UART as compare to the Flexcomm2 port (which is functioning properly) in lpcXpresso55s16. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Arjundnsh! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
Hi, In the zephyr tree, please check the file |
Beta Was this translation helpful? Give feedback.
Hi,
In the zephyr tree, please check the file
soc/arm/nxp_lpc/lpc55xxx/soc.c
which is where currently the clock configuration is set up on this SOC platform. It looks like flexcomm2 has code to be clocked for uart but not flexcomm7.