Hi,
I'm new to BLE with embedded development. On my board I have a MCU of LPC11U68 and MCU of Nordic nrf82805. I got from Fanstel a hex code when I burned it on the evaluation board with MCU nrf52805 I received data on the MCU of LPC, but when I burned it on Nordic MCU that on my board the data I received after its send with UART to the LPC is always 0.
I checked with oscilloscope the lines and I see that the Nordic MCU received data from BLE, sent it to the LPC through its UART TX pin, and LPC received the data on its UART RX port, but when I checked the data with breakpoint in the program it always 0.
I'm using interrupts for the receiving data on UART.
What can be the root cause for this issue?
Thanks.
Solved! Go to Solution.
Hello @Guy_mego,
You can download them from here: LPCOpen Software for LPC11XX (LPCXpresso LPC11U68 board).
If you are using MCUXpresso IDE, please follow the next steps for use and build the examples:
Related at your code, it seems the configuration is good, nevertheless just for double check, please verify you setup/initialize the UART clock, and your pins for the USART1.
Best regards, Raul.
Hello @Guy_mego,
Just for double check, could you please take a look if you are using the right pins in both software and hardware?
Also, are you using the Nordic MCU for BLE and it's working? So your issue is only when you are trying to communicate with the LPC trough UART?
Finally, could you please try out the UART examples for the LPC11U68?
Best regards, Raul.
Hi Raul,
I'm using the correct pin for USART1 (0,13) and (0,14) with altered function 4.
it seems that Nordic MCU is working, i think my issue is with USART1, since I connected the evaluation of Nordic to USART0 and I received the data, how since in my board it the chips are connected through USART1 pin it's not working.
My initialization for USART1 is attached.
can you please share with me the link of UART examples for the LPC11U68.
Thanks in advance.
Hello @Guy_mego,
You can download them from here: LPCOpen Software for LPC11XX (LPCXpresso LPC11U68 board).
If you are using MCUXpresso IDE, please follow the next steps for use and build the examples:
Related at your code, it seems the configuration is good, nevertheless just for double check, please verify you setup/initialize the UART clock, and your pins for the USART1.
Best regards, Raul.