Click here to Skip to main content
15,504,549 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: So.... Pin
Vivi Chellappa3-Aug-22 18:04
professionalVivi Chellappa3-Aug-22 18:04 
GeneralI was there... Pin
Marc Clifton2-Aug-22 4:47
mvaMarc Clifton2-Aug-22 4:47 
GeneralRe: I was there... Pin
PIEBALDconsult2-Aug-22 5:09
professionalPIEBALDconsult2-Aug-22 5:09 
GeneralRe: I was there... Pin
RickZeeland2-Aug-22 6:26
mveRickZeeland2-Aug-22 6:26 
RantHow hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 0:30
mvahoney the codewitch2-Aug-22 0:30 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Mircea Neacsu2-Aug-22 0:59
mvaMircea Neacsu2-Aug-22 0:59 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 1:17
mvahoney the codewitch2-Aug-22 1:17 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Mircea Neacsu2-Aug-22 1:56
mvaMircea Neacsu2-Aug-22 1:56 
Please don't take it as mansplaining Smile | :)

honey the codewitch wrote:
A) It's what the spec says

If you are referring to MIDI baud rate, we both agree on that.


honey the codewitch wrote:
B) I have reference code - multiple projects by different authors actually, that use this baud rate

Are they on ESP32? A quick search on available baud rate for ESP32 didn't give any definitive results.

Not all baud rates can be obtained from an oscillator. See this list of oscillator frequencies and search for "UART" in it. On the transmitter side, the frequency is divided by an integer number to generate the baud rate. On the receiving side, the oscillator frequency is divided to a multiple of the baud rate (x8 or x16) and, after the initial high to low transition of the start bit, successive bits are sampled in the middle. If divided frequency doesn't match the baud rate, the last bits will be sampled improperly. (yes, this part smells of mansplaining Smile | :) )

The MIDI baud rate is a divisor of 1MHz while most communication baud rates are multiples of the original 75 bauds teletype rate.

honey the codewitch wrote:
C) I'd be getting garbage instead of nothing

Are you referring to my suggestion of sending a repetitive character? This is just a test to see you have the correct baud rate. You don't need to have anything connected to the transmitter.
Mircea

GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 2:10
mvahoney the codewitch2-Aug-22 2:10 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
OriginalGriff2-Aug-22 1:55
mveOriginalGriff2-Aug-22 1:55 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 2:07
mvahoney the codewitch2-Aug-22 2:07 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru2-Aug-22 7:07
Calin Negru2-Aug-22 7:07 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 8:32
mvahoney the codewitch2-Aug-22 8:32 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru2-Aug-22 22:33
Calin Negru2-Aug-22 22:33 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch3-Aug-22 0:28
mvahoney the codewitch3-Aug-22 0:28 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru3-Aug-22 3:28
Calin Negru3-Aug-22 3:28 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch3-Aug-22 3:27
mvahoney the codewitch3-Aug-22 3:27 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 9:10
professional0x01AA2-Aug-22 9:10 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 9:14
mvahoney the codewitch2-Aug-22 9:14 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 9:18
professional0x01AA2-Aug-22 9:18 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 9:25
mvahoney the codewitch2-Aug-22 9:25 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 9:31
professional0x01AA2-Aug-22 9:31 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
JohnDG523-Aug-22 6:13
JohnDG523-Aug-22 6:13 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch3-Aug-22 6:46
mvahoney the codewitch3-Aug-22 6:46 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
JohnDG523-Aug-22 7:32
JohnDG523-Aug-22 7:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

How would you describe your current job?
Fighting dragons everyday or clicking the same boxes on the same forms, day after day?
  Results   412 votes