Other Parts Discussed in Thread: MAX3232, HALCOGEN, BQ79616
Hello,
unfortunately, I’m running out of UART-Channels on my TMS570, but I’m not sure why they are used in the examples.
I’m referring to the “BQ79600_SPI_Sample_Code” and the “BQ79600_UART_Sample_Code”
The Hercules has two UART-Lines which are both used in the UART-Example, and both are set to 1MHz (SCI and SCI2)
I thought they were used for the COM_H and COM_L for the BQ79600, but I have trouble finding this in the code.
Anyway, I need an extra UART to be able to talk to an RS232-Client.
My idea was to actually use the SPI example to free a "UART" and use the spare one for the RS232-Adapter (MAX3232)
Inside the “SPI_Sample_Code.zip”, I found the settings for HALCoGen.
This is using SPI3 and also both UART-Lines (SCI and SCI2 @1MHz) ??
I’m kind of stuck here...
It would be great if I could set up a UART, that can be used to send and receive bytes from the MAX3232-chip (RS232)
115200,8,N,1 would be the desired setting.
I’m happy to use the SPI_Sample and change the resistors and Jumpers on the BQ79600 board to free a UART-Line.
Also we will not connect the BQ79616 in a ring, so I only need the COMH connection.
I should have at least one spare UART to send out data to the MAX3232
But I'm not sure how to change the Settings on HALCoGen (from the SPI-Example)
and where the spare one is wired in the end.
Best Regards
Collin