|
From: Eric R. <e.r...@ds...> - 2020-06-07 19:41:25
|
Just a wild guess after browsing the manual: the UART pins can be selected via S1_S[1:0] in P_SW1, and this setting does not seem to have a default? Eric > -----Original Message----- > From: Philipp Klaus Krause [mailto:pk...@sp...] > Sent: zondag 7 juni 2020 16:01 > To: Sdcc-User > Subject: [Sdcc-user] STC8A8K64S4A12 UART? > > I'm trying to get a simple "Hello world" running on a > STC8A8K64S4A12 Development Board. > However, so far, I've gotten nowhere. > > I see no activity on the serial lines (the board has LEDs > attached to P3.o and P3.2, the RxD and TxD pins, so if there > was any activity, I should at least see the LEDs flickering, > but I see nothing. > > I've tried both the sample code in section 14.7.3 of the > datasheet, and my own code from other STC devices > (http://www.colecovision.eu/mcs51/STC89%20DEMO%20BOARD%20Seria > l.shtml). > > Even if I haven't gotten the speed right yet (both code > samples are actually for 11.0592 MhZ system clock) I should > at least see the LEDs flicker (like they do when writing > using stcgal). > > Philipp > > > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |