Can I use additional pins from Google Coral Dev Board as GPIO? - gpio

It seems that only 8 pins from the 40-pin header can be used as GPIO on Google Coral Dev board.
We want to use a peripheral (compatible with Raspberry pi 4.0) that needs 14 pins for GPIO (adafruit RGB hat matrix).
Is is possible to use/reconfigure some of the remaining pins on the header as GPIO? (i.e. UART, I2C, SPI)

Related

How can I use coral peripheral bus pins as gpio?

The data sheet for the coral som states
The following pins are configured for general purpose input/output, by default. Additionally, you can reconfigure other pins
(SAI, SPDIF, SDIO, I2C, UART, SPI, and PWM) to behave as GPIO, using a device tree overlay
Can anybody provide some insight on how to do this? Looking at the imx8mq.dtsi I only see gpio1-5 so I don't even know where the other existing gpio pin definitions are coming from.

Configuring bluetooth on beagleboneblack with cc2564moda using Qt

I'm trying to develop an application on Bluetooth Low Energy Peripheral based on Qt 5.7 on beaglebone-black using UART module CC2564MODA.
I'm able to advertise LE device & created services and characteristics.
Using BLE Scanner Application to realize implementation.
While trying to pair my peripheral with any device Linux kernel prints
Bluetooth: SMP security requested but not available
Where Linux kernel contains BlueZ v 5.41 .
I can see my services & all characteristics with pairing option.
But i wanted to add 4 pin pairing method.
Where i can set pin code.
Is there any article to study or any standard method to resolve this issue.
Thanks

i2c device not detected on beaglebone black (MS5803-14BA Pressure Sensor)

I am unable to detect MS5803-14BA Pressure Sensor through probing i2c devices using ic2 tools on Beaglebone Black.
The sensor works perfect on arduino uno using library provided by sparkfun, so I ruled out that the sensor might be damaged.
I am connecting i2c sensors do the beaglebone black as follows:
vcc P9_4,
GND P9_2,
SCL P9_19,
SDA P9_20
on i2c-1 bus
Other sensors are getting detected (eg MPU6050), but for some reason MS5803-14BA sensor is not.
I doublechecked all connections are correct.
Do I need pull up resistors or a linux driver?
I am running Linux beaglebone 3.8.13-bone70 and I am willing to read this sensor in Node.js.
Please help before I go mad...
Kind regards

How to use APC220 Radio Communication Module in raspberry pi

I am developing a project using Arduino to send a message to Raspberry Pi using an APC220 Radio Communication Module.
The Raspberry Pi can't receive serial message by using USB connect to APC220. I want to know how to use APC220 in Raspberry Pi?
The APC220 has a TTL UART interface which you can connect directly to the RPi TTL UART pins on the GPIO header - you do not need the USB-Serial converter (though that should work too if it is a standard CDC/ACM device - though this suggests that there may be issues).
A note of caution however, the RPi GPIO pins use 3.3Volt logic, the APC220 datasheet is not clear on the TTL level used, but the specified supply range is 3.3 to 5.5 volts so it seems likely that it is 3.3V - best measure it to be certain. You can probably use the RPi GPIO headers's 3.3V supply pin to power the ACM220, then you will be sure to be safe. If the ACM220 level is too high, the quick-and-dirty solution is to use current limiting resistors in-line to protect the RPi (10KOhm should be enough, but don't hold me responsible; you should know what you are doing before proceeding).
The UART device on the Pi is /dev/ttyAMA0.
See here for details of serial I/O on the Pi.
22 Feb 2012 Update
The discussion here suggests that to make the TTL<->USB adapter work on Raspberry Pi, you need to disconnect the EN signal - the discussion links back to the manufacturer documentation, which gives that advice in the troubleshooting section. Since that makes the device appear as a USB serial, and you won't have to reconfigure the on-chip serial or build a connector that may be simpler.

How does Bluefruit EZ-link perform DTR/RTS over Bluetooth for programming?

Bluefruit EZ-link is described as programmer. It means it supports RTS/DTR:
The EZ-Link has another impressive feature: the DTR/RTS/DSR flow
control pins are automatically synced to the computer serial port.
What this means is that if the computer sets the hardware flow control
DTR or RTS pins high or low the pins on the bluetooth module will
follow.
So Arduino IDE performs reset to initiate flashing (as Arduino's Bootloader wait for few seconds after reset for upload commands from Arduino IDE). For USB reset works by switching DTR to 1 and 0 and special schematics on Arduino board monitors it and performs reset. After reset is done Arduino IDE runs avrdude and start flashing.
The question is "How does it works over Bluetooth module by Adafruit?" There is no RTS/DTR line for Bluetooth..
PS. I believe virtual COM-port drivers for this Bluetooth device should send special AT+ commands and Bluetooth device should handle them and perform setting 1 or 0 to special pin wired with MCUs reset. But this requires Bluefruit bluetooth driver to be used. But i can't see it requires special BT drivers at computer.
RFCOMM do support flow control.
RFCOMM is based on GSM TS 07.10. Bluefruit extract info on RFCOMM and map it to flow control lines.

Resources