If you want to use the opensda to connect your FlexIO UART, you need to check the FLEXIO UART IO pin you are using, especially the UART_TX and UART_RX pin, whether it is connected to the opensda com pin.
You can find the MIMXRT1060-EVK board opensda interface is using GPIO_AD_B0_12 and GPIO_AD_B0_13 pins in default.
If you check the FLEXIO pin, you will find no flexio pin is connected to GPIO_AD_B0_12 and GPIO_AD_B0_13, so if you want to connect your Flexio uart pins to the opensda, you need to disconnect J45, J46, then connect J45_1 pin to your FLEXIO UART_RX, J46_1 pin connect to your FLEXIO UART_TX, then you can test it.
BTW, do you test the official SDK project:
SDK_2.6.2_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexio\uart\polling_transfer
You also can refer to that code usage.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi, kerryzhou
Thank you for your reply, but I have already made the required hardware connections. I have been able to test the correctness of my .axf file using the MCUXpresso IDE, as I have mentioned in the question. So it seems to be another cause for this issue I am encountering.
Furthermore, the project you are indicating was my start point in developing the application. So it has been tested and analyzed accordingly.
However, the .axf file attached in my previous post does not produce the expected behavior when downloaded via OpenSDA.
Thank you,
Irina
Could you tell me where is your main function? I didn't find it in the source, I will check your code in details.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi, kerryzhou
I have attached the generated folder next to the previous archive. This is generated from a Simulink model. Anyway, the .c file which is compiled into the executable form is called imxrt_flexio_106x.c. Maybe you will find helpful some other files existing there.
Thank you for your help on this,
Irina
I am not familiar with the Simulink model which you mentioned.
Let's still talk about the flexIO uart function, please tell me what the detail things you has done based on the SDK flexio project, and what's the detail function you want to realize.
If you just want to use some flexio to realize the UART function, do you test the relatec pin UART wave directly, whether that works? If you connect the TTL-USB to the related pin, whether works, or just the on board opensda com port can't work?
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------