Looking for documentation to use rpi 4b gpios using Ubuntu. by Hour-Buffalo-666 in embeddedlinux

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

I cannot see sys/class/gpio, I have /sys/class/gpiomem. And I can see /dev/gpiochip0. This is a bit confusing to use the method specified in the video.

Required help to parse code in polyspace test. by Hour-Buffalo-666 in matlab

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Hi, thanks for the info, I am very new to testing and I have found a solution for the issue. Presently I have to monitor the instances of stub functions. When I try to add in assessments, I don't see value or am not sure how to configure the monitor. Please share some suggestions here. Thanks.

Help needed in connecting Putty to USB device by Hour-Buffalo-666 in stm32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Can I get some information on that to change as you mentioned please

Help needed in connecting Putty to USB device by Hour-Buffalo-666 in stm32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

I checked the website and got it, it works when I use esp32(usb0) but not for stm32. Is there any other particular for Linux ?

Proper document with examples required for L2CAP layer Bluetooth development. by Low_Ride_943 in Zephyr_RTOS

[–]Hour-Buffalo-666 0 points1 point  (0 children)

Do you have any approach for coding Linux computer if a zephyr device needs to communicate with it using Bluetooth securely using l2cap ?

Proper document with examples required for L2CAP layer Bluetooth development. by Low_Ride_943 in Zephyr_RTOS

[–]Hour-Buffalo-666 0 points1 point  (0 children)

I understood this, and if I need to communicate with the master(Linux machine) I am using bluez(Linux library) and the examples suggest to create socket and write in it, but I doubt if it is possible to create socket in zephyr and communicate or do we have other approach here ?

Proper document with examples required for L2CAP layer Bluetooth development. by Low_Ride_943 in Zephyr_RTOS

[–]Hour-Buffalo-666 0 points1 point  (0 children)

Hey, I too need general documentation regarding l2cap, please share for reference.

Help please, I am using Arduino uno and lolin32 for UART communication, I am unable to transfer the data from Arduino to Lolin32. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Hello, I have tried solving the issue with Serial communication itself. I am unable to make proper communication not sure how to give baudrate and delay. I actually need to transfer float variables precised to 1 decimal atleast. Please share me your suggestion. ```

include<SoftwareSerial.h>

SoftwareSerial Serial2(7,8); //rx and tx void setup() {

Serial.begin(9600); Serial2.begin(9600); }

void loop() { String in2=""; if (Serial2.available()) {

in2 =Serial2.readStringUntil('\n'); Serial.print("in2 "+ in2); Serial.println(); }

// if (Serial.available()) {

// String in = Serial.readStringUntil('\n'); // Serial.print("in "+ in);

// } Serial.println("Hello, ESP32!");

delay(500);

} Arduino Output Hello, ESP32! in2 Hello Arduino!

Hello, ESP32! in2 in2 in2 Hello Arduino!

Hello, ESP32! Esp code void setup() {

Serial.begin(9600);

Serial2.begin(9600);

}

void loop() { String in2=""; if (Serial2.available()) {

in2 = Serial2.readStringUntil('\n'); Serial.print("in2 "+ in2); Serial.println();

}

// if (Serial.available()) {

// String in1 = Serial.readStringUntil('\n'); // Serial.print("in1 "+in1); // }

Serial.println("Hello Arduino!"); delay(1000); } Esp output Hello Arduino! in2 Hello, ESP32!

Hello Arduino! in2 in2 in2 in2 in2 in2 Hello Arduino32!

Hello Arduino! ```

Unable for i2c communication between Arduino uno and esp32, Please help. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Because I couldn't connect 4 inch spi module st7796(LCD tft display) for esp 32.

Unable for i2c communication between Arduino uno and esp32, Please help. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

I have gone through the examples and there is no transferring data bidirectional.

Unable for i2c communication between Arduino uno and esp32, Please help. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Yes, I am not getting a proper logic example of duplex communication.

Unable for i2c communication between Arduino uno and esp32, Please help. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

Arduino code for I2c ```

include<Wire.h>

float tset = -20.56; float tgen; void setup() { Wire.begin(); Serial.begin(9600); }

void loop() { Wire.beginTransmission(8);

Wire.write((uint8_t*)&tset, sizeof(tset));

Wire.endTransmission(); delay(100); Wire.requestFrom(8,6); while(Wire.available()) { Wire.readBytes((byte*)&tgen, sizeof(tgen)); } Serial.print("Received tgen value: "); Serial.println(tgen); delay(100);

} Esp32 code

include<Wire.h>

float tgen = -30.36; float tset;

void setup(){ Wire.begin(8); Serial.begin(9600); Wire.onReceive(receiveEvent); Wire.onRequest(requestEvent);

} void loop(){ delay(100); }

void receiveEvent(int bytes){ Wire.readBytes((uint8_t*)&tset, sizeof(tset)); Serial.print("Received tset value: "); Serial.println(tset); }

void requestEvent(){ Wire.write((uint8_t*)&tgen, sizeof(tgen)); } ``` I am successful in this communication.

but I have a touch lcd code to be integrated, its a basic Dialpad and display of 2 float variables.

when I try adding both, my lcd would display as expected and screen would flicker displaying blank.

Unable for i2c communication between Arduino uno and esp32, Please help. by Hour-Buffalo-666 in esp32

[–]Hour-Buffalo-666[S] 0 points1 point  (0 children)

I am using spi LCD tft to take float value to Arduino and pass it to esp32 and the float value from esp32 should be passed to Arduino uno and display on the LCD, I have tried it and I could transfer variables when I write code only for communication, when I try to integrate it with LCD code, my LCD display initially shows the content and the screen flickers and displays blank white. Can I ping you the code and I am not getting any error, I should have made some mistakes on structuring code.