Kart/Bluetooth

(Difference between revisions)
Jump to: navigation, search
(Test pins)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
The [[Kart|kart's]] Bluetooth boards hold a SOC which is programmed as an RS232 modem.
+
The [[Kart|kart's]] [[Kart/Motherboard|motherboard]] holds an [https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle nrf52840 USB Dongle]
The also comprise a legacy RS232 port.
+
which interfaces with the FPGA via UART and the Smartphone via [https://en.wikipedia.org/wiki/Bluetooth_Low_Energy BLE].
  
[[File:Kart bluetooth board.jpg |center|200px|Bluetooth board]]
+
[[File:Kart_nrf52840.png|center|200px|Bluetooth module]]
  
 
== Connectors ==
 
== Connectors ==
  
The long side single 18-pin row connector is used to program the [http://www.rayson.com/rayson/en/?pros=product&pros=product&b_cat_id=A01&m_cat_id=A0103&s_cat_id=A010307&prod_id=P0062&level=3 Bluetooth module].
+
The module is plugged in the center of the [[Kart/Motherboard|motherboard]] following the silk given orientation.
  
The 10-pin header connector corresponds to the RS232 port.
+
The 10-pin header on its bottom is used to program it via the [https://www.silabs.com/documents/public/application-notes/an0062.pdf SWD] protocol.
A flat cable can be crimped with a female header in one side and a female RS232 connector on the other.
+
  
An unmounted 4-pin single row connector provides a differential stereo audio output.
+
The modules head is shaped like a USB to be plugged and used directly in a PC.
  
== Connection between FPGA and Bluetooth module ==
+
== Connection between the FPGA and the Bluetooth module ==
  
Both components connect via:
+
Both components connect via [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] following a specific [[Kart/serial_link|protocol]].
* a serial port link
+
* an 8-bit parallel port
+
  
The serial port is used for sending the [[Kart/serial_link#SmartPhone_to_Kart|controls]]
+
The serial port is used for sending the [[Kart/serial_link#Registers|controls]]
and receiving the [[Kart/serial_link#Kart_to_SmartPhone|status]] information.
+
and receiving the [[Kart/serial_link#Registers|status]] information.
 
+
The parallel port is driven by the [http://www.rayson.com/rayson/en/?pros=product&pros=product&b_cat_id=A01&m_cat_id=A0103&s_cat_id=A010307&prod_id=P0062&level=3 Bluetooth module]:
+
* Parallel port bit 0 is brought high when the Bluetooth module has successfully achieved a connection, e.g. with a mobile phone.
+
 
+
Additionally, the FPGA:
+
* pulses the BT <code>reset_n</code> line at power-up
+
* drives the BT <code>VReg_en</code> line high after the reset
+
 
+
== Test pins ==
+
 
+
The Kart controller design leaves 4 free pins.
+
Pins 1 to 2 are foreseen for test outputs.
+
Pins 3 and 8 are foreseen for test outputs with a divider by&nbsp;2 for pulses.
+
  
 
[[Category:Kart]]
 
[[Category:Kart]]

Revision as of 10:21, 28 June 2022

Contents

The kart's motherboard holds an nrf52840 USB Dongle which interfaces with the FPGA via UART and the Smartphone via BLE.

Bluetooth module

Connectors

The module is plugged in the center of the motherboard following the silk given orientation.

The 10-pin header on its bottom is used to program it via the SWD protocol.

The modules head is shaped like a USB to be plugged and used directly in a PC.

Connection between the FPGA and the Bluetooth module

Both components connect via UART following a specific protocol.

The serial port is used for sending the controls and receiving the status information.

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox