I’d like to use multiple CLCD’s on a Core STM32 as part of an ongoing hardware debug excercise :happy:
Of course the STM32 PCB does not have a J28 for the attachment of a DOUT board that provides the extra E lines to all the extra LCD modules.
So my strategy for this was to implement the MIOS32_BOARD_J28_* routines (which at present for STM32, just return -1), with equivalent code that bitbangs J16 or J19.
Is there an easy way to achieve this?
I couldn’t see support routines for J16 or J19 so I would I have to write these?
Are there any major problems with what I’m proposing?
J16 is used by the application to access the SD Card -> no way!
J19 would be used by the application if the .NGC file enables the AINSER or CV port -> potential conflicts as well.
Therefore I would propose to use J5C instead.
In many applications (e.g. MBSEQ V4) J28 of the LPC17 core is used as a replacement for J5C of the STM32 core anyhow, so why not using it for your special case as well?
J16 is used by the application to access the SD Card -> no way!
J19 would be used by the application if the .NGC file enables the AINSER or CV port -> potential conflicts as well.
Therefore I would propose to use J5C instead.
In many applications (e.g. MBSEQ V4) J28 of the LPC17 core is used as a replacement for J5C of the STM32 core anyhow, so why not using it for your special case as well?
Thanks, TK.
I’m glad I asked!
J5 has support routines in mios32_board.c which will make it pretty straight forward to implement.