Skip to content

Commit

Permalink
Set HCI baud rate to 1000000.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul D.Smith committed Nov 3, 2023
1 parent 4f95db1 commit cd4d597
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tlsr8258/build/tlsr_tc32/apps/cloudsmets/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ extern "C" {

/**********************************************************************
* Debug mode config
* Currently allowing printf output to tlsr8258 PC4 pin.
*/
#define UART_PRINTF_MODE 1
#define UART_PRINTF_MODE 0
#define USB_PRINTF_MODE 0

/*
* It seems that the TLSR8258 is not reliable above 115200. Put simply it will
* not communicate over the zbhci interface.
* BAUDRATE sets the BAUD rate that will be used if you use the printf()
* debugging statements but HCI_BAUDRATE sets the BAUD rate for the HCI interface.
*/
#define BAUDRATE 115200
#define HCI_BAUDRATE 1000000

/* PM */
#define PM_ENABLE 0
Expand Down
9 changes: 8 additions & 1 deletion tlsr8258/build/tlsr_tc32/apps/esme/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ extern "C" {
* Enable serial port debugging.
*/
#define UART_PRINTF_MODE 0
// TODO: Why do we seem to be limited to this speed?
#define USB_PRINTF_MODE 0

/*
* BAUDRATE sets the BAUD rate that will be used if you use the printf()
* debugging statements but HCI_BAUDRATE sets the BAUD rate for the HCI interface.
*/
#define BAUDRATE 115200
#define HCI_BAUDRATE 1000000
#define BAUDRATE 115200
#define USB_PRINTF_MODE 0

Expand Down

0 comments on commit cd4d597

Please sign in to comment.