I'm just starting to utilize the BAM through eSCI. Starting with the password exchange at the beginning, I tried to use the serial configuration specified in the manual (section 16.3.2.3.2) which is "one start bit, eight data bits, no parity and one stop bit". When I send the password, a response comes back but my serial terminal drops one of the bytes. If I change my config to have odd parity instead of no parity, then I receive the full password back correctly.
Is this an error in the reference manual?
Solved! Go to Solution.
Hi Ryan,
no, the parity is not used. This looks like something different. Are you waiting until the echo character is received? Transmission of next character should not start until echo of previous character is received. What is your crystal frequency? Are you sure the baud rate is correct?
Regards,
Lukas
Hi Ryan,
no, the parity is not used. This looks like something different. Are you waiting until the echo character is received? Transmission of next character should not start until echo of previous character is received. What is your crystal frequency? Are you sure the baud rate is correct?
Regards,
Lukas
This looks to have been my problem. I didn't realize serial mode echo-ed each byte, was expecting each message. After waiting byte-per-byte, everything works with no parity. Thanks!
I'm only sending the password, then reading the echo. My understanding is the echo doesn't come until I've sent the entire password, correct? Or am I supposed to wait for an echo with each byte?
My crystal frequency is 20 MHz, so I'm using 24000 baud rate.