ST62E30B: problem with UART and transmitting bytes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-06-11 8:37 AM
Posted on June 11, 2003 at 17:37
ST62E30B: problem with UART and transmitting bytes
Labels:
- Labels:
-
Legacy Products
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-06-10 7:40 AM
Posted on June 10, 2003 at 16:40
The UART works good in receiving, but isn't possible to transmit bytes.
The transmitted charachters are not the same as I load in the UART Data register. A simple programm without interrupts doesn't work too. Here the simple (test-)code: loop3: ldi uscr,003h ; 2400 Baud 8Data 2 Stopbits, ; no Interrupt at 8MHz ldi v,100 call wait ; 100 ms ld a,x ld udsr,a inc x jp loop3 The Port PD5 (TXD) is configured as an Output PP and is initialized with a 1-Level. Perhaps, Is there an undocumented OptionByte for the UART? Ho can I resolve my Problem? HelmutOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-06-10 9:16 PM
Posted on June 11, 2003 at 06:16
Hi,
The ST6230 supports inverted emission so you have to connect an external inverter on the UART output (PD5). I hope this solves your problem... Regards BoodOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-06-11 8:37 AM
Posted on June 11, 2003 at 17:37
Hi Bood,
Thank you very much. Now it works. Helmut