CMSIS-DAP: DAP_SWO_Baudrate

| CMSIS-DAP Version 2.0.0 Interface Firmware for CoreSight Debug Access Port

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_SWO_Baudrate
SWO Commands

Set SWO baudrate. More...

Set SWO baudrate.

## DAP_SWO_Baudrate (0x19):

Sets the baudrate for capturing SWO trace data. Can be called iteratively to determine supported baudrates.

DAP_SWO_Baudrate Request:

| BYTE | WORD |
> 0x19 | Baudrate |
|******|**********|

- Baudrate: Requested baudrate

DAP_SWO_Baudrate Response:

| BYTE | WORD |
< 0x19 | Baudrate |
|******|**********|

- Baudrate: Actual baudrate or 0 (baudrate not configured) When requested baudrate is not achievable the closest configured baudrate can be returned or 0 which indicates that baudrate was not configured.

Note
  When Manchester Mode is used and if decoder is implemented with clock recovery then baudrate is not required since clock is automatically decoded. However such decoders are harder to implement (especially for high frequencies) and the clock recovery might not be implemented. Therefore the baudrate should be provided also for Manchester mode.