Click here to Skip to main content
15,887,027 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 17:04
professionalVivi Chellappa3-Aug-22 17:04 
GeneralI was there... Pin
Marc Clifton2-Aug-22 3:47
mvaMarc Clifton2-Aug-22 3:47 
GeneralRe: I was there... Pin
PIEBALDconsult2-Aug-22 4:09
mvePIEBALDconsult2-Aug-22 4:09 
GeneralRe: I was there... Pin
RickZeeland2-Aug-22 5:26
mveRickZeeland2-Aug-22 5:26 
RantHow hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch1-Aug-22 23:30
mvahoney the codewitch1-Aug-22 23:30 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Mircea Neacsu1-Aug-22 23:59
Mircea Neacsu1-Aug-22 23:59 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 0:17
mvahoney the codewitch2-Aug-22 0:17 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Mircea Neacsu2-Aug-22 0:56
Mircea Neacsu2-Aug-22 0: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 1:10
mvahoney the codewitch2-Aug-22 1:10 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
OriginalGriff2-Aug-22 0:55
mveOriginalGriff2-Aug-22 0:55 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 1:07
mvahoney the codewitch2-Aug-22 1:07 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru2-Aug-22 6:07
Calin Negru2-Aug-22 6:07 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 7:32
mvahoney the codewitch2-Aug-22 7:32 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru2-Aug-22 21:33
Calin Negru2-Aug-22 21:33 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 23:28
mvahoney the codewitch2-Aug-22 23:28 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
Calin Negru3-Aug-22 2:28
Calin Negru3-Aug-22 2:28 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch3-Aug-22 2:27
mvahoney the codewitch3-Aug-22 2:27 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 8:10
mve0x01AA2-Aug-22 8:10 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 8:14
mvahoney the codewitch2-Aug-22 8:14 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 8:18
mve0x01AA2-Aug-22 8:18 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch2-Aug-22 8:25
mvahoney the codewitch2-Aug-22 8:25 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
0x01AA2-Aug-22 8:31
mve0x01AA2-Aug-22 8:31 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
JohnDG523-Aug-22 5:13
JohnDG523-Aug-22 5:13 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
honey the codewitch3-Aug-22 5:46
mvahoney the codewitch3-Aug-22 5:46 
GeneralRe: How hard is it to implement a 1984 "simple" hardware communication protocol? Pin
JohnDG523-Aug-22 6:32
JohnDG523-Aug-22 6: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.