Home
last modified time | relevance | path

Searched +full:can +full:- +full:transceiver (Results 1 – 25 of 185) sorted by relevance

12345678

/Zephyr-latest/dts/bindings/phy/
Dcan-transceiver-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Simple GPIO controlled CAN transceiver
6 compatible: "can-transceiver-gpio"
8 include: can-transceiver.yaml
11 enable-gpios:
12 type: phandle-array
14 GPIO to use to enable/disable the CAN transceiver. This GPIO is driven
15 active when the CAN transceiver is enabled and inactive when the CAN
16 transceiver is disabled.
18 standby-gpios:
[all …]
Dcan-transceiver.yaml2 # SPDX-License-Identifier: Apache-2.0
4 # Common fields for CAN transceivers
6 include: phy-controller.yaml
9 min-bitrate:
12 The minimum bitrate supported by the CAN transceiver in bits/s.
14 max-bitrate:
18 The maximum bitrate supported by the CAN transceiver in bits/s.
20 "#phy-cells":
/Zephyr-latest/include/zephyr/devicetree/
Dcan.h3 * @brief CAN devicetree macro public API header file.
9 * SPDX-License-Identifier: Apache-2.0
20 * @defgroup devicetree-can Devicetree CAN API
26 * @brief Get the minimum transceiver bitrate for a CAN controller
28 * The bitrate will be limited to the minimum bitrate supported by the CAN
29 * controller. If no CAN transceiver is present in the devicetree, the minimum
30 * bitrate will be that of the CAN controller.
34 * transceiver0: can-phy0 {
35 * compatible = "vnd,can-transceiver";
36 * min-bitrate = <15000>;
[all …]
/Zephyr-latest/drivers/can/transceiver/
DKconfig1 # CAN transceiver configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 menu "CAN transceiver drivers"
9 int "CAN transceiver driver init priority"
12 CAN transceiver device driver initialization priority.
15 bool "GPIO controlled CAN transceiver"
20 Enable support for GPIO controlled CAN transceivers.
Dcan_transceiver_gpio.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/can/transceiver.h>
16 /* Does any devicetree instance have an enable-gpios property? */
20 /* Does any devicetree instance have a standby-gpios property? */
35 const struct can_transceiver_gpio_config *config = dev->config; in can_transceiver_gpio_set_state()
39 if (config->enable_gpio.port != NULL) { in can_transceiver_gpio_set_state()
40 err = gpio_pin_set_dt(&config->enable_gpio, enabled ? 1 : 0); in can_transceiver_gpio_set_state()
43 return -EIO; in can_transceiver_gpio_set_state()
49 if (config->standby_gpio.port != NULL) { in can_transceiver_gpio_set_state()
50 err = gpio_pin_set_dt(&config->standby_gpio, enabled ? 0 : 1); in can_transceiver_gpio_set_state()
[all …]
/Zephyr-latest/include/zephyr/drivers/can/
Dtransceiver.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/can.h>
18 * @brief CAN Transceiver Driver APIs
19 * @defgroup can_transceiver CAN Transceiver
33 * @brief Callback API upon enabling CAN transceiver
39 * @brief Callback API upon disabling CAN transceiver
52 * @brief Enable CAN transceiver
54 * Enable the CAN transceiver.
56 * @note The CAN transceiver is controlled by the CAN controller driver and
64 * @retval -EIO General input/output error, failed to enable device.
[all …]
/Zephyr-latest/doc/hardware/peripherals/can/
Dtransceiver.rst3 CAN Transceiver
13 A CAN transceiver is an external device that converts the logic level signals
14 from the CAN controller to the bus-levels. The bus lines are called
15 CAN High (CAN H) and CAN Low (CAN L).
16 The transmit wire from the controller to the transceiver is called CAN TX,
17 and the receive wire is called CAN RX.
18 These wires use the logic levels whereas the bus-level is interpreted
19 differentially between CAN H and CAN L.
20 The bus can be either in the recessive (logical one) or dominant (logical zero)
21 state. The recessive state is when both lines, CAN H and CAN L, are roughly at
[all …]
/Zephyr-latest/dts/bindings/can/
Dcan-controller.yaml1 # Common fields for CAN controllers
6 bus-speed:
19 sample-point:
30 Actively controlled CAN transceiver.
33 transceiver0: can-phy0 {
34 compatible = "nxp,tja1040", "can-transceiver-gpio";
35 standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
36 max-bitrate = <1000000>;
37 #phy-cells = <0>;
46 child-binding:
[all …]
Dnxp,flexcan-fd.yaml2 # SPDX-License-Identifier: Apache-2.0
7 This is a specialization of the NXP FlexCAN CAN controller with support for CAN FD.
10 flexcan3: can@401d8000 {
12 compatible = "nxp,flexcan-fd", "nxp,flexcan";
15 interrupt-names = "common";
17 clk-source = <2>;
18 pinctrl-0 = <&pinmux_flexcan3>;
19 pinctrl-names = "default";
21 can-transceiver {
22 max-bitrate = <5000000>;
[all …]
Dnxp,flexcan.yaml2 # SPDX-License-Identifier: Apache-2.0
8 flexcan0: can@40024000 {
13 interrupt-names = "warning", "error", "wake-up", "mb-0-15";
15 clk-source = <1>;
16 pinctrl-0 = <&pinmux_flexcan0>;
17 pinctrl-names = "default";
19 can-transceiver {
20 max-bitrate = <1000000>;
26 include: ["can-controller.yaml", "pinctrl-device.yaml"]
38 clk-source:
[all …]
Dti,tcan4x5x.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments TCAN4x5x SPI CAN FD controller.
9 tcan4x5x: can@0 {
12 spi-max-frequency = <18000000>;
13 clock-frequency = <40000000>;
14 device-state-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
15 device-wake-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
16 reset-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
17 int-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
18 bosch,mram-cfg = <0x0 15 15 5 5 0 10 10>;
[all …]
/Zephyr-latest/dts/bindings/test/
Dvnd,can-transceiver.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Test CAN transceiver node
6 compatible: "vnd,can-transceiver"
8 include: can-transceiver.yaml
/Zephyr-latest/tests/drivers/can/api/src/
Dtransceiver.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/drivers/can.h>
20 * @brief Test getting CAN transceiver device pointer.
26 zassert_equal(phy, can_phy, "wrong CAN transceiver device pointer returned"); in ZTEST_USER()
34 TC_PRINT("CAN device not ready"); in can_transceiver_predicate()
39 TC_PRINT("CAN transceiver device not ready"); in can_transceiver_predicate()
51 zassert_true(device_is_ready(can_dev), "CAN device not ready"); in can_transceiver_setup()
52 zassert_true(device_is_ready(can_phy), "CAN transceiver device not ready"); in can_transceiver_setup()
/Zephyr-latest/boards/shields/mcp2515/
Dadafruit_can_picowbell.overlay4 * SPDX-License-Identifier: Apache-2.0
9 cs-gpios = <&pico_header 20 GPIO_ACTIVE_LOW>;
11 mcp2515_adafruit_can_picowbell: can@0 {
13 spi-max-frequency = <1000000>;
14 int-gpios = <&pico_header 21 GPIO_ACTIVE_LOW>;
17 osc-freq = <16000000>;
19 can-transceiver {
20 max-bitrate = <1000000>;
Ddfrobot_can_bus_v2_0.overlay4 * SPDX-License-Identifier: Apache-2.0
9 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
11 mcp2515_dfrobot_can_bus_v2_0: can@0 {
13 spi-max-frequency = <1000000>;
14 int-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>; /* D2 */
17 osc-freq = <16000000>;
19 can-transceiver {
20 min-bitrate = <60000>;
21 max-bitrate = <1000000>;
Dkeyestudio_can_bus_ks0411.overlay4 * SPDX-License-Identifier: Apache-2.0
9 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
11 mcp2515_keyestudio_can_bus_ks0411: can@0 {
13 spi-max-frequency = <1000000>;
14 int-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
17 osc-freq = <16000000>;
19 can-transceiver {
20 max-bitrate = <1000000>;
/Zephyr-latest/drivers/spi/
DKconfig.ambiq6 # SPDX-License-Identifier: Apache-2.0
47 bool "AMBIQ SPI-BLEIF driver"
55 general IOM module) for SPI transceiver. It is always used for
61 bool "Ambiq SPI-BLEIF timing trace"
63 The pins for the SPI transceiver are not exposed from the chips
66 pins. The user can enable it to configure the pins for timing
/Zephyr-latest/samples/modules/canopennode/
DREADME.rst1 .. zephyr:code-sample:: canopennode
9 stack can be used in Zephyr.
11 CANopen is an internationally standardized (`EN 50325-4`_, `CiA 301`_)
13 systems used in automation. CANopenNode is a 3rd party, open-source
17 demonstrates the use of non-volatile storage for the CANopen object
23 * A board with CAN bus and flash support
24 * Host PC with CAN bus support
31 .. code-block:: console
33 west config manifest.project-filter +canopennode
36 Building and Running for TWR-KE18F
[all …]
/Zephyr-latest/tests/drivers/can/api/
Dtwai-enable.overlay4 * SPDX-License-Identifier: Apache-2.0
7 /* Enable CAN bus */
10 pinctrl-0 = <&twai_default>;
11 pinctrl-names = "default";
13 can-transceiver {
14 max-bitrate = <1000000>;
22 output-enable; /* enable internal loopback */
26 input-enable; /* enable internal loopback */
/Zephyr-latest/boards/others/candlelightfd/
Dcandlelightfd_stm32g0b1xx_dual.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
15 transceiver1: can-phy1 {
16 compatible = "nxp,tja1051", "can-transceiver-gpio";
17 enable-gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
18 max-bitrate = <5000000>;
19 #phy-cells = <0>;
26 pinctrl-0 = <&fdcan2_rx_pb0 &fdcan2_tx_pb1>;
27 pinctrl-names = "default";
/Zephyr-latest/boards/shields/mikroe_mcp2518fd_click/doc/
Dindex.rst7 --------
9 MCP2518FD Click shield has a MCP2518FD CAN FD controller via a SPI
10 interface and a high-speed ATA6563 CAN transceiver.
12 More information about the shield can be found at
26 Set ``--shield mikroe_mcp2518fd_click`` when you invoke ``west build``,
29 .. zephyr-app-commands::
30 :zephyr-app: samples/drivers/can/counter
38 .. target-notes::
41 https://www.mikroe.com/mcp2518fd-click
/Zephyr-latest/boards/shields/tcan4550evm/
Dtcan4550evm.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
17 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
19 tcan4x5x_tcan4550evm: can@0 {
22 /* reduced spi-max-frequency to accommodate flywire connections */
23 spi-max-frequency = <2000000>;
25 clock-frequency = <40000000>;
26 device-state-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */
27 device-wake-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
28 reset-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>; /* D8 */
[all …]
/Zephyr-latest/boards/st/stm32h735g_disco/
Dstm32h735g_disco.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/h7/stm32h735igkx-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "st,stm32h735g-disco";
19 zephyr,shell-uart = &usart3;
26 compatible = "gpio-leds";
38 compatible = "gpio-keys";
50 volt-sensor1 = &vbat;
55 clock-frequency = <DT_FREQ_M(25)>;
[all …]
/Zephyr-latest/boards/witte/linum/doc/
Dindex.rst8 of communications interfaces like UART with RS232 and RS485 capabillities, CAN bus compatible to
15 - 8 to 52V power supply
16- SWD Pins for use as STLink (Pin header) and TC2030-IDC 6-Pin Tag-Connect Plug-of-Nails™ Connector
17 - Crystal for HS 25MHz
18 - Crystal for RTC 32.768KHz
19 - 1 UART serial for debug
20 - 1 Led RGB
21 - 1 Buzzer without internal oscillator
22 - 1 Mono audio up to 3W
23 - 1 Ethernet 10/100
[all …]
/Zephyr-latest/dts/bindings/serial/
Dnxp,lpuart.yaml5 include: [uart-controller.yaml, uart-controller-pin-inversion.yaml, pinctrl-device.yaml]
18 single-wire:
21 Enable the single wire half-duplex communication.
26 nxp,rs485-mode:
29 Set to enable RTS signal, which can be used to enable the driver
30 of an external RS-485 transceiver. Note hw-flow-control should be
33 nxp,rs485-de-active-low:

12345678