USB-CONSOLE, M4 GPIO

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

USB-CONSOLE, M4 GPIO

Jump to solution
2,109 Views
cagrikeserer
Contributor I

Hello everyone,

I'm using Colibri VF61 Board which is great but i have some questions needed to be answered.

1-) Is there any chance to convert USB-OTG to USB-CONSOLE or any other way to done it? I need console port because i want to reach my board while it works in the field.

2-) I searched all PDF's about VF61 GPIO's on M4 but i couldnt find nothing. Does it make any difference whether GPIO's are connected to A5 or M4 while coding them using Linux Kernel ?

Thanks for your answers.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,909 Views
falstaff
Senior Contributor I

Hi Cagri,

1) What do you mean by "USB-CONSOLE" exactly? I guess you would like to use a Serial Console on a CDC ACM (serial communication) USB function. This is implemented by default with the later images, just connect the board to your host and a CDC ACM device should appear. On Linux, you can use the TTY /dev/ttyACMX to connect to it.

2) The two cores share the complete peripheral bus, hence all GPIO's are available from both cores. However, you should make sure that each GPIO is only assigned to one core (or even better, a complete bank of GPIO's). What kind of firmware are you planning to use on the M4 core?

--

Stefan

View solution in original post

0 Kudos
Reply
6 Replies
1,910 Views
falstaff
Senior Contributor I

Hi Cagri,

1) What do you mean by "USB-CONSOLE" exactly? I guess you would like to use a Serial Console on a CDC ACM (serial communication) USB function. This is implemented by default with the later images, just connect the board to your host and a CDC ACM device should appear. On Linux, you can use the TTY /dev/ttyACMX to connect to it.

2) The two cores share the complete peripheral bus, hence all GPIO's are available from both cores. However, you should make sure that each GPIO is only assigned to one core (or even better, a complete bank of GPIO's). What kind of firmware are you planning to use on the M4 core?

--

Stefan

0 Kudos
Reply
1,909 Views
cagrikeserer
Contributor I

Hi Stefan,

Thank you for your help.

Actually i am designing a carrier board for 'Colibri VF61' that's why i mentioned like "USB-CONSOLE". I figured it out that console pins are connected to UART_A pins on Colibri. So I am going to connect these pins to a micro USB for reaching board while it operates (for debug etc.).

I am planning to load Kernel to A4 and using GPIO's from M4. It's not a big code just several LED's or something like that.

Thanks again,

Regards.

0 Kudos
Reply
1,909 Views
falstaff
Senior Contributor I

Hi Cagri,

If you plan to make lots use of the M4, I would also suggest to make UART_B easily accessible (as Debug console for the M4 core)...

--

Stefan

0 Kudos
Reply
1,909 Views
cagrikeserer
Contributor I

A5 i mean.

0 Kudos
Reply
1,909 Views
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can yuo help here?

0 Kudos
Reply
1,909 Views
timesyssupport
Senior Contributor II

Hello karinavalencia​,

Stefan is best suited to handle this as the Colibri VF6 hardware is by Toradex, and in addition to hardware differences from TWR-Vybrid, also uses a different OS stack (kernel, bootloader, etc.). Stefan, if you would like our assistance, please let us know however.

Regards,

Timesys Support