Skip to content

Conversation

@sandeepmistry
Copy link
Contributor

Note: SERCOM_USART_CTRLA_FORM needs to be set to auto baud to enable break detection.

Since there is no easy way on the SAMD to detect the break duration, the break value is set to 0xffff when a break is detected, otherwise -1 when no break is detected.

@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b191_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request [UART] add sendBreak(duration) API #329
  5. Select one of the boards under SAMD Pull Request [UART] add sendBreak(duration) API #329 in Tools->Board menu
  6. Compile/Upload as usual

@sandeepmistry sandeepmistry changed the title [UART] add sendBreak(duration) and readBreak() API's [DO NOT MERGE] - [UART] add sendBreak(duration) and readBreak() API's Jun 29, 2018
@sandeepmistry sandeepmistry changed the title [DO NOT MERGE] - [UART] add sendBreak(duration) and readBreak() API's [UART] add sendBreak(duration) API Jul 2, 2018
@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b192_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request [UART] add sendBreak(duration) API #329
  5. Select one of the boards under SAMD Pull Request [UART] add sendBreak(duration) API #329 in Tools->Board menu
  6. Compile/Upload as usual

@sandeepmistry
Copy link
Contributor Author

Closing this for now, we can do something outside the core for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants