MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and Loopback | Videos
MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and Loopback
Getting Started Using MPLAB® Harmony in VS Code® (for PIC32C and SAM Development) Playlist:
https://youtube.com/playlist?list=PLtQdQmNK_0DTGNRV0qKkIEFn2fmrN0q31&si=K9Z9WB0hkz-LrlSh
Building on where we were at the end of the 100 ms Timer video, a SERCOM (Serial Communications Interface) peripheral is now added to the project, which can be configured as USART, SPI or I2C. Here the SERCOM is configured as a UART.
1. A low level, hardware specific function, is used to send "Hello World!", i.e., SERCOM1_USART_Write( ).
2. Then a STDIO binding is added, allowing standard printf, with a count variable.
3. Finally, a USART loopback is implemented, using the context help code snippet. In between, the MPLAB AI Coding Assistant is used, to lend a hand here and there.
In closing, the SYS_CONSOLE is introduced, which offers similar functionality.
To view this video, please click manage cookies below and accept functional cookies.
{"SalesForceSecurePath":"https://microchip.my.salesforce-scrt.com","EmbeddedServiceName":"Messaging_For_Microchip","SalesForcePath":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924","AgentAvailableHeader":"No problem. Chat with our engineering experts or schedule a call that's convenient for you.","ScheduleCallUrl":"https://microchip.my.site.com/schedulemeetingportal/s/","SalesforceOrgId":"00Do0000000KAkK","JsUrl":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924/assets/js/bootstrap.min.js"}